.grecaptcha-badge {
    visibility: hidden !important;
}

.auth-page.fancy-short-banner-three {
    --auth-coral: #ff574d;
    --auth-coral-dark: #e9443b;
    --auth-coral-soft: #fff0ee;
    --auth-ink: #20242c;
    --auth-muted: #707683;
    --auth-line: #e8e9ed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0 !important;
    min-height: 650px;
    padding: clamp(54px, 7vw, 96px) 0;
    overflow: hidden;
    color: var(--auth-ink);
}

.auth-page__container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.auth-page__container > .wrapper {
    width: 100%;
}

.auth-page__column {
    width: min(100%, 600px);
}

.auth-page--student .auth-page__column {
    width: min(100%, 680px);
}

.auth-card {
    position: relative;
    width: 100%;
    padding: clamp(28px, 4.5vw, 46px);
    overflow: hidden;
    border: 1px solid rgba(255, 87, 77, 0.11);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 80px rgba(78, 43, 40, 0.11);
}

.auth-card__accent {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #ff574d, #ff8c6f 52%, #ffc1ad);
}

.auth-card__heading {
    max-width: 520px;
    margin: 0 auto 30px;
    text-align: center;
}

.auth-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 16px;
    background: var(--auth-coral-soft);
    color: var(--auth-coral);
    font-size: 1.4rem;
}

.auth-card__title {
    margin: 0;
    color: var(--auth-ink);
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.auth-card__description {
    margin: 10px 0 0;
    color: var(--auth-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.auth-card__body {
    padding: 0;
}

.auth-page .alert {
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #ffd0cc;
    border-radius: 14px;
    background: #fff5f4;
    color: #9e312b;
    font-size: 0.93rem;
}

.auth-google-account {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid var(--auth-line);
    border-radius: 14px;
    background: #fafafb;
}

.auth-google-account__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(32, 36, 44, 0.08);
    color: #d54235;
    font-size: 1.15rem;
}

.auth-google-account__details {
    min-width: 0;
}

.auth-google-account__name,
.auth-google-account__email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-google-account__name {
    color: var(--auth-ink);
    font-weight: 600;
}

.auth-google-account__email {
    margin-top: 2px;
    color: var(--auth-muted);
    font-size: 0.86rem;
}

.auth-page .form-label {
    margin-bottom: 8px;
    color: #404550;
    font-size: 0.94rem;
    font-weight: 600;
}

.auth-page .form-control {
    width: 100%;
    height: 56px;
    padding: 0 17px;
    border: 1.5px solid var(--auth-line);
    border-radius: 14px;
    outline: 0;
    background: #fbfbfc;
    color: var(--auth-ink);
    font-family: inherit;
    font-size: 1rem;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.auth-page .form-control:hover {
    border-color: #d5d7dd;
    background: #fff;
}

.auth-page .form-control:focus {
    border-color: var(--auth-coral);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 87, 77, 0.14);
}

.auth-page .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: none;
}

.auth-page .form-control::placeholder {
    color: #a3a7af;
}

.auth-page .form-text,
.auth-page .text-muted {
    color: var(--auth-muted) !important;
}

.auth-page .phone-prefix {
    display: flex;
    min-width: 64px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--auth-line);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    background: #f4f4f6;
    color: #555b66;
    font-weight: 600;
}

.auth-page .login-phone,
.auth-page .register-phone {
    border-left: 0 !important;
    border-radius: 0 14px 14px 0 !important;
}

.auth-page .position-relative.d-flex:focus-within .phone-prefix {
    border-color: var(--auth-coral);
    background: var(--auth-coral-soft);
    color: var(--auth-coral-dark);
}

.auth-page .input-icon {
    position: absolute;
    top: 50%;
    right: 17px;
    color: #8c919b;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-page .with-icon {
    padding-right: 48px;
}

.auth-page .auth-input-tooltip::before,
.auth-page .auth-input-tooltip::after {
    position: absolute;
    z-index: 5;
    right: 12px;
    bottom: calc(100% + 8px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition:
        opacity 150ms ease,
        transform 150ms ease,
        visibility 150ms ease;
}

.auth-page .auth-input-tooltip::before {
    right: 22px;
    bottom: calc(100% + 3px);
    width: 10px;
    height: 10px;
    background: #30343c;
    content: '';
    transform: translateY(4px) rotate(45deg);
}

.auth-page .auth-input-tooltip::after {
    width: max-content;
    max-width: min(320px, calc(100vw - 56px));
    padding: 9px 11px;
    border-radius: 9px;
    background: #30343c;
    color: #fff;
    content: attr(data-tooltip);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    box-shadow: 0 8px 20px rgba(32, 36, 44, 0.2);
}

.auth-page .auth-input-tooltip:hover::before,
.auth-page .auth-input-tooltip:hover::after,
.auth-page .auth-input-tooltip:focus-within::before,
.auth-page .auth-input-tooltip:focus-within::after {
    visibility: visible;
    opacity: 1;
}

.auth-page .auth-input-tooltip:hover::before,
.auth-page .auth-input-tooltip:focus-within::before {
    transform: translateY(0) rotate(45deg);
}

.auth-page .auth-input-tooltip:hover::after,
.auth-page .auth-input-tooltip:focus-within::after {
    transform: translateY(0);
}

.auth-page .auth-help-details {
    margin: 0 0 12px;
}

.auth-page .auth-help-question {
    color: #7b808a;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.auth-page .auth-help-question:hover {
    color: #555b66;
}

.auth-page .auth-help-question:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(255, 87, 77, 0.2);
    outline-offset: 3px;
}

.auth-page .auth-help-panel {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #ffd8d4;
    border-radius: 14px;
    background: #fff8f7;
    color: #4b505a;
    font-size: 0.91rem;
    line-height: 1.55;
}

.auth-page .auth-help-panel p {
    margin: 0 0 10px;
}

.auth-page .auth-help-panel ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.auth-page .auth-help-panel li + li {
    margin-top: 4px;
}

.auth-primary-button.btn-four {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--auth-coral), #ff6c62);
    box-shadow: 0 12px 24px rgba(255, 87, 77, 0.22);
    color: #fff;
    font: 700 1rem/1 'Gilroy', system-ui, sans-serif;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.auth-primary-button.btn-four:hover,
.auth-primary-button.btn-four:focus-visible {
    background: linear-gradient(135deg, var(--auth-coral-dark), #f75e55);
    box-shadow: 0 14px 28px rgba(255, 87, 77, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.auth-primary-button.btn-four:disabled {
    opacity: 0.65;
    transform: none;
}

.auth-secondary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffd0cc;
    border-radius: 14px;
    background: #fff;
    color: #b63831;
    font-weight: 600;
}

.auth-secondary-button:hover,
.auth-secondary-button:focus-visible {
    border-color: var(--auth-coral);
    background: var(--auth-coral-soft);
    color: var(--auth-coral-dark);
}

.auth-card a:not(.btn) {
    color: var(--auth-coral-dark);
    font-weight: 600;
}

.auth-card a:not(.btn):hover {
    color: #bd342d;
}

.auth-recaptcha-notice {
    margin: 16px 0 0;
    color: #989da6;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
}

.auth-card .auth-terms a,
.auth-card .auth-terms a:hover,
.auth-card .auth-terms a:focus-visible {
    color: inherit;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px 0;
    color: #989da6;
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--auth-line);
    content: '';
}

.auth-login-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 0;
    border-radius: 14px;
    background: #f3f3f5;
}

.auth-login-tabs .nav-item {
    min-width: 0;
}

.auth-login-tabs .nav-link {
    width: 100%;
    min-height: 44px;
    padding: 9px 10px;
    border: 0;
    border-radius: 11px;
    color: #696f79;
    font-weight: 600;
}

.auth-login-tabs .nav-link:hover {
    border: 0;
    color: var(--auth-coral-dark);
}

.auth-login-tabs .nav-link.active {
    border: 0;
    background: #fff;
    box-shadow: 0 3px 12px rgba(37, 40, 47, 0.08);
    color: var(--auth-coral-dark);
}

.auth-page .btn-show-password {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #777d87;
    transform: translateY(-50%);
}

.auth-page .btn-show-password:hover {
    background: #f3f3f5;
    color: var(--auth-coral-dark);
}

.auth-page .verification-method-toggle .btn-group {
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: #f3f3f5;
}

.auth-page .verification-method-toggle .btn-method {
    flex: 1;
    min-height: 46px;
    padding: 9px 12px;
    border: 0;
    border-radius: 11px !important;
    background: transparent;
    color: #696f79;
    font-weight: 600;
}

.auth-page .verification-method-toggle .btn-method:hover {
    border: 0;
    background: #fff;
    color: var(--auth-coral-dark);
}

.auth-page .verification-method-toggle .btn-method.active {
    border: 0;
    background: #fff;
    box-shadow: 0 3px 12px rgba(37, 40, 47, 0.08);
    color: var(--auth-coral-dark);
}

.auth-page .custom-radio-wrapper {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    padding: 12px 14px;
    border: 1.5px solid var(--auth-line);
    border-radius: 14px;
    background: #fbfbfc;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.auth-page .custom-radio-wrapper:hover,
.auth-page .custom-radio-wrapper:has(input:checked) {
    border-color: #ffb7b1;
    background: #fff8f7;
}

.auth-page .custom-radio-wrapper:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(255, 87, 77, 0.14);
}

.auth-page .custom-radio-wrapper input[type='radio'] {
    margin-right: 8px;
    accent-color: var(--auth-coral);
}

.auth-page .custom-radio-wrapper input[type='radio']:checked + label {
    color: var(--auth-coral-dark);
    font-weight: 600;
}

.auth-page .file-upload-control {
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--auth-line);
    border-radius: 14px;
    background: #fbfbfc;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.auth-page .file-upload-control:focus-within {
    border-color: var(--auth-coral);
    box-shadow: 0 0 0 3px rgba(255, 87, 77, 0.14);
}

.auth-page .file-upload-input {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.auth-page .file-upload-display {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: transparent;
    cursor: pointer;
    user-select: none;
}

.auth-page .file-upload-button {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 10px;
    background: var(--auth-coral-soft);
    color: var(--auth-coral-dark);
    font-weight: 600;
    white-space: nowrap;
}

.auth-page .file-upload-text {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: var(--auth-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-page .file-upload-text.has-file {
    color: var(--auth-ink);
    font-weight: 500;
}

.auth-page .file-upload-control.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.auth-page .file-upload-control.has-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.auth-page .file-upload-control.has-error .file-upload-button {
    background: #fff0ef;
    color: #b52d26;
}

@media (max-width: 767.98px) {
    .auth-shell-wrapper {
        display: flow-root;
        overflow-x: clip;
        overflow-y: visible;
    }

    .auth-shell-wrapper #one-page-nav {
        height: calc(100vh - 10px);
        height: calc(100dvh - 10px);
        max-height: calc(100vh - 10px);
        max-height: calc(100dvh - 10px);
    }

    body:has(.auth-page input:focus, .auth-page button:focus, .auth-page select:focus) .mobile-liquid-nav {
        transform: none;
    }

    .auth-page.fancy-short-banner-three {
        box-sizing: border-box;
        min-height: calc(100vh - 176px);
        min-height: calc(100dvh - 176px);
        padding: 22px 0 !important;
        overflow: visible;
    }

    .auth-page > .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .auth-card {
        padding: 30px 18px 26px;
        border-radius: 22px;
    }

    .auth-card__heading {
        margin-bottom: 24px;
    }

    .auth-card__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .auth-card__title {
        font-size: 1.85rem;
    }

    .auth-card__description {
        font-size: 0.94rem;
    }

    .auth-login-tabs .nav-link {
        font-size: 0.9rem;
    }

    .auth-page .user-data-form .input-group-meta .form-control {
        font-size: 16px;
    }

    .auth-page .verification-method-toggle .btn-method {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page *,
    .auth-page *::before,
    .auth-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
