.account-hero {
    padding: 88px 0 104px;
}

.account-card {
    width: 100%;
    max-width: 700px;
    padding: 42px 48px 46px;
    background: #fff;
    border: 1px solid #e1edf2;
    border-radius: 34px;
    box-shadow: 0 24px 60px rgba(27, 89, 117, .12);
}

.account-card .one_page-title {
    margin-bottom: 10px;
    text-align: center;
}

.account-intro {
    max-width: 500px;
    margin: 0 auto 28px;
    color: #667982;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

.account-steps {
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.account-step {
    padding: 9px 12px;
    color: #71858f;
    background: #f4f8fa;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}

.account-step.active {
    color: #fff;
    background: linear-gradient(90deg, #1d3ede, #06c6f9);
}

.account-form {
    align-items: stretch;
}

.account-form .field {
    margin-bottom: 18px;
    padding-bottom: 17px;
}

.account-form .field::before { content: none; }

.account-label {
    margin: 0 0 8px 2px;
    display: block;
    color: #244f66;
    font-size: 13px;
    font-weight: 600;
}

.account-form input:not([type=checkbox]) {
    min-height: 56px;
    margin-bottom: 0;
    padding: 0 20px;
    border: 1px solid #dce9ee;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(27, 89, 117, .08);
}

.account-form input:not([type=checkbox]):focus {
    border-color: #37cfe9;
    box-shadow: 0 0 0 4px rgba(6, 198, 249, .13);
}

.account-form .field.error input:not([type=checkbox]) {
    border-color: #e54b43;
    box-shadow: 0 0 0 3px rgba(229, 75, 67, .1);
}

.account-field-error {
    margin: 7px 0 -11px 2px;
    display: none;
    color: #e54b43;
    font-size: 12px;
    line-height: 1.35;
}

.account-form .field.error .account-field-error { display: block; }

.account-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.account-help {
    margin: -8px 0 22px 2px;
    color: #7c8f98;
    font-size: 12px;
    line-height: 1.45;
}

.account-form .license {
    margin: 0 0 24px;
    padding-bottom: 20px;
    align-items: flex-start;
    line-height: 1.5;
}

.account-form .license .account-field-error {
    position: absolute;
    bottom: -4px;
    left: 2px;
    margin: 0;
}

.account-form .form-check-input {
    margin-top: 4px;
    flex: 0 0 14px;
}

.account-submit {
    width: 100%;
    min-height: 50px;
    font-size: 17px;
    text-align: center;
}

.account-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.account-error {
    margin: 16px 0 0;
    padding: 12px 14px;
    color: #9d302b;
    background: #fff4f3;
    border: 1px solid #f4d6d3;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.account-error a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.account-switch {
    margin-top: 20px;
    color: #71858f;
    font-size: 14px;
    text-align: center;
}

.account-switch a {
    color: #1683a2;
    font-weight: 600;
}

.account-card a:focus-visible,
.account-card button:focus-visible,
.account-card .form-check-input:focus-visible,
header .button:focus-visible,
header .burger:focus-visible {
    outline: 3px solid rgba(29, 62, 222, .3);
    outline-offset: 3px;
}

[hidden] { display: none !important; }

.modal.active {
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(23, 58, 74, .28);
}

.modal.active .modal_container { padding: 0; }

@media screen and (max-width: 576px) {
    .account-hero { padding: 56px 0 72px; }
    .account-card { padding: 30px 20px 34px; border-radius: 24px; }
    .account-row { grid-template-columns: 1fr; gap: 0; }
    .account-step { padding-inline: 8px; font-size: 10px; }
}
