.aq-auth-page {
    padding: 34px 0 48px;
    background: #f3f8fb;
}

.aq-auth-shell {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d8e8ef;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(0, 45, 70, .08);
}

.aq-auth-shell-narrow {
    max-width: 860px;
}

.aq-auth-register-shell {
    max-width: 1020px;
}

.aq-auth-alert {
    margin-bottom: 22px;
    border-radius: 16px;
}

.aq-auth-intro {
    margin-bottom: 28px;
}

.aq-auth-intro h1 {
    margin: 0 0 8px;
    color: #00263f;
    font-weight: 800;
}

.aq-auth-intro p {
    margin: 0;
    color: #607280;
}

.aq-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
    gap: 24px;
    align-items: stretch;
}

.aq-auth-card {
    border: 1px solid #dbe9ef;
    border-radius: 22px;
    padding: 26px;
    background: #fff;
}

.aq-auth-card-muted {
    background: #f7fbfd;
}

.aq-auth-single-form {
    max-width: 680px;
}

.aq-auth-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.aq-auth-card-header h2 {
    margin: 0 0 6px;
    color: #00263f;
    font-size: 1.55rem;
    font-weight: 800;
}

.aq-auth-card-header p {
    margin: 0;
    color: #607280;
}

.aq-auth-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c7890;
    color: #fff;
    flex: 0 0 auto;
}


.aq-auth-icon span {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
}

.aq-auth-icon-light {
    background: #40b8e1;
    color: #00263f;
}

.aq-auth-fields label {
    display: block;
    margin-bottom: 14px;
}

.aq-auth-fields label span {
    display: block;
    margin-bottom: 6px;
    color: #00263f;
    font-weight: 700;
}

.aq-auth-fields input,
.aq-auth-fields select,
.aq-auth-register-form input[type="text"],
.aq-auth-register-form input[type="email"],
.aq-auth-register-form input[type="password"],
.aq-auth-register-form input[type="number"],
.aq-auth-register-form select {
    width: 100%;
    min-height: 52px;
    margin: 0;
    border: 1px solid #d8e8ef;
    border-radius: 16px;
    box-shadow: none;
    color: #00263f;
    background-color: #fff;
}

.aq-auth-fields input:focus,
.aq-auth-fields select:focus,
.aq-auth-register-form input:focus,
.aq-auth-register-form select:focus {
    border-color: #40b8e1;
    box-shadow: 0 0 0 3px rgba(64, 184, 225, .18);
}

.aq-auth-two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.aq-auth-actions {
    margin-top: 20px;
}

.aq-auth-link,
.aq-auth-back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: #0c7890;
    font-weight: 700;
}

.aq-auth-back-link {
    margin: 14px 0 0;
}

.aq-auth-button,
.aq-auth-secondary-button,
.aq-auth-register-form button[type="submit"] {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #0c7890;
    color: #fff !important;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.aq-auth-secondary-button {
    margin-top: 12px;
    background: #40b8e1;
    color: #00263f !important;
}

.aq-auth-error {
    margin-top: 8px;
    border-radius: 14px;
}

.aq-auth-field-error,
.aq-auth-register-form .error-txt,
.aq-auth-register-form .help-block {
    display: block;
    margin-top: 6px;
    color: #c62828;
    font-weight: 700;
}

.aq-auth-help p {
    color: #00263f;
    line-height: 1.6;
}

.aq-auth-support {
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: 18px;
    background: #f7fbfd;
    border: 1px solid #dbe9ef;
}

.aq-auth-support h2 {
    margin-bottom: 8px;
    color: #00263f;
    font-size: 1.25rem;
    font-weight: 800;
}

.aq-auth-support p {
    margin-bottom: 6px;
    color: #607280;
}

.aq-auth-support a {
    color: #0c7890;
    font-weight: 800;
}

.aq-auth-choice-card {
    padding: 0;
    overflow: hidden;
}

.aq-auth-choice-list {
    display: grid;
    gap: 0;
}

.aq-auth-choice-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    margin: 0;
    border-bottom: 1px solid #edf4f7;
    cursor: pointer;
}

.aq-auth-choice-item:last-child {
    border-bottom: 0;
}

.aq-auth-choice-item:hover {
    background: #f7fbfd;
}

.aq-auth-choice-item input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 auto;
}

.aq-auth-choice-content {
    display: grid;
    gap: 4px;
}

.aq-auth-choice-code {
    color: #0c7890;
    font-weight: 800;
}

.aq-auth-choice-name {
    color: #00263f;
    font-weight: 700;
}

.aq-auth-choice-actions {
    padding: 22px;
    margin-top: 0;
    background: #f7fbfd;
    border-top: 1px solid #dbe9ef;
}

.aq-auth-register-notice {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7fbfd;
    border: 1px solid #dbe9ef;
    color: #00263f;
    line-height: 1.55;
}

.aq-auth-register-notice strong {
    display: block;
    margin-bottom: 4px;
}

.aq-auth-register-form {
    background: #fff;
}

.aq-auth-register-form fieldset {
    margin: 0 0 24px;
    padding: 22px;
    border: 1px solid #dbe9ef;
    border-radius: 20px;
}

.aq-auth-register-form legend {
    margin: 0 0 8px;
    padding: 0 10px;
    color: #00263f;
    font-size: 1.25rem;
    font-weight: 800;
}

.aq-auth-register-form .form-row {
    margin-bottom: 16px;
}

.aq-auth-register-form .form-row:last-child {
    margin-bottom: 0;
}

.aq-auth-register-form label {
    color: #00263f;
    font-weight: 700;
}

.aq-auth-register-form .mandatory_field {
    color: #c62828;
}

.aq-auth-register-form input[type="radio"] {
    margin: 0 6px 0 0;
}

.aq-auth-register-form input[type="radio"]+label {
    display: inline-block;
    margin-right: 18px;
    font-weight: 700;
}

.aq-auth-register-form .months {
    margin-top: 8px;
    margin-bottom: 8px;
}

.aq-auth-register-form hr {
    margin: 24px 0;
    border-color: #edf4f7;
}

.aq-auth-register-form .button,
.aq-auth-register-form .button.pink,
.aq-auth-register-form .button.red {
    background: #0c7890;
}

@media screen and (max-width: 900px) {
    .aq-auth-shell {
        padding: 22px;
        border-radius: 20px;
    }

    .aq-auth-grid,
    .aq-auth-two-cols {
        grid-template-columns: 1fr;
    }

    .aq-auth-card {
        padding: 22px;
    }

    .aq-auth-choice-card {
        padding: 0;
    }

    .aq-auth-register-form fieldset {
        padding: 18px;
    }
}

.aq-auth-verify-link {
    margin-top: 12px;
}

.aq-auth-link-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #087c91;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.aq-email-modal[hidden] {
    display: none;
}

.aq-email-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.aq-email-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.aq-email-modal-dialog {
    position: relative;
    width: min(560px, calc(100% - 32px));
    margin: 12vh auto 0;
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.aq-email-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.aq-email-modal-message {
    margin-top: 14px;
    font-weight: 700;
}