:root {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    color: #241e2c;
    background: #fcfbfd;
    --purple: #7137c6;
}
* { box-sizing: border-box; }
body { margin: auto; min-height: 100svh; width: min(100% - 8vw, 1450px); display: flex; flex-direction: column; }
header, footer { display: flex; align-items: center; }
header { min-height: 88px; border-bottom: 1px solid #e4dfe8; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 26px; font-weight: 750; letter-spacing: -1.4px; text-decoration: none; }
.brand img { width: 31px; height: 31px; }
.portal-name { border-left: 1px solid #d9d2df; padding-left: 20px; font-size: 14px; color: #625a69; }
main { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-block: 32px; }
.poster { display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 20px; background: #efe6fb; padding: clamp(24px,4vw,68px); gap: 32px; }
.poster h2 { margin: 0; font-size: clamp(45px,5.4vw,88px); line-height: .99; letter-spacing: -.065em; font-weight: 600; color: #332044; }
.poster h2 span { color: #8545da; }
.poster p { margin: 19px 0 0; color: #63506f; line-height: 1.55; }
.illustration { width: 100%; margin-block: auto 0; }
.content { align-self: center; justify-self: center; width: min(78%, 400px); padding-block: 35px; }
h1 { margin: 0; font-size: clamp(36px,3.4vw,54px); line-height: 1.1; letter-spacing: -.055em; }
.intro { color: #675e70; line-height: 1.6; margin: 12px 0 32px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 20px 0 8px; }
input:not([type=checkbox], [type=hidden]) { width: 100%; border: 1px solid #cfc8d6; border-radius: 8px; height: 50px; padding: 0 14px; background: white; color: inherit; font: inherit; }
input::placeholder { color: #817987; }
.password { position: relative; }
.password input { padding-right: 50px !important; }
#reveal { position: absolute; right: 3px; top: 3px; height: 44px; width: 44px; border: 0; color: #685e72; background: transparent; cursor: pointer; }
.remember { display: flex; gap: 9px; align-items: center; margin: 18px 0 24px; font-weight: 400; }
.remember input { width: 17px; height: 17px; accent-color: var(--purple); margin: 0; }
.primary { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 0 18px; height: 50px; background: var(--purple); border: 0; border-radius: 8px; color: white; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.primary:hover { background: #5e29ac; }
.primary span { font-size: 22px; }
.help { border-top: 1px solid #e4dfe8; padding-top: 22px; margin-top: 28px; font-size: 14px; color: #675e70; }
.help a { color: var(--purple); text-underline-offset: 3px; margin-left: 3px; }
footer { border-top: 1px solid #e4dfe8; padding-block: 20px; justify-content: space-between; font-size: 13px; color: #675e70; }
footer span[aria-hidden] { margin-right: 4px; }
:focus-visible { outline: 3px solid #9c6be0; outline-offset: 3px; }
.field-validation-error, .validation-summary-errors, .validation-message { color: #982c43; font-size: 14px; }
.validation-summary-errors ul { padding-left: 19px; }
@media (max-width: 720px) {
    body { width: calc(100% - 36px); }
    header { min-height: 68px; }
    main { display: flex; flex-direction: column; margin-block: 18px; gap: 10px; }
    .poster { flex-direction: row; align-items: center; padding: 24px; gap: 4px; }
    .poster h2 { font-size: clamp(32px,6vw,46px); }
    .poster p { margin-top: 10px; font-size: 14px; }
    .illustration { width: 36%; margin: 0; }
    .content { width: min(100% - 16px, 420px); }
}
.admin-back { display: block; margin-bottom: 20px; }
.admin-back, .admin-back a, .client-list a { color: var(--purple); }
.client-list { list-style: none; padding: 0; }
.client-list li { border-bottom: 1px solid #e4dfe8; padding: 10px 0; overflow-wrap: anywhere; }
.admin-submit { margin-top: 20px; }
.integration-heading { display: flex; align-items: center; gap: 10px; }
