body.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(var(--site-primary-rgb, 67, 94, 190), 0.10), transparent 32rem),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.auth-shell {
    width: 100%;
    min-height: 100vh;
    padding: 42px 18px;
}

.auth-shell .container-login100 {
    min-height: 100vh;
    padding: 0;
    background: transparent;
}

.auth-shell .container-login100.container {
    min-height: auto;
    display: flex;
    justify-content: center;
}

.auth-card.wrap-login100 {
    width: min(100%, 460px);
    padding: 32px !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10) !important;
}

.auth-shell-signup .auth-card,
.auth-shell-verify .auth-card {
    width: min(100%, 520px);
}

.auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.auth-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    text-decoration: none;
}

.auth-brand-link:hover {
    color: #1f2937;
    text-decoration: none;
}

.auth-brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
}

.auth-brand-text {
    max-width: 260px;
    overflow: hidden;
    color: #1f2937;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-page .login100-form-title {
    display: block;
    padding-bottom: 18px !important;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.auth-page .txt1 {
    display: inline-flex;
    margin-bottom: 6px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.auth-page .txt2,
.auth-page .bo1 {
    color: var(--site-primary, #435ebe);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.auth-page .txt2:hover,
.auth-page .bo1:hover {
    color: var(--site-primary-hover, #334eac);
    text-decoration: none;
}

.auth-page .p-t-31,
.auth-page .p-t-13 {
    padding-top: 14px;
}

.auth-page .p-b-9 {
    padding-bottom: 4px;
}

.auth-page .wrap-input100 {
    position: relative;
    width: 100%;
    min-height: 48px;
    margin-bottom: 2px;
    overflow: visible;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
}

.auth-page .wrap-input100.validate-input {
    margin-bottom: 2px;
}

.auth-page .input100,
.auth-page .select-country {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    color: #111827;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    line-height: 48px;
}

.auth-page .auth-password-field .input100 {
    padding-right: 48px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #64748b;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
    color: var(--site-primary, #435ebe);
    background: rgba(var(--site-primary-rgb, 67, 94, 190), 0.08);
    outline: none;
}

.auth-password-toggle .fa {
    font-size: 15px;
    line-height: 1;
}

.auth-page .input100:focus,
.auth-page .select-country:focus {
    outline: none;
}

.auth-page .wrap-input100:focus-within {
    border-color: rgba(var(--site-primary-rgb, 67, 94, 190), 0.70);
    box-shadow: 0 0 0 4px rgba(var(--site-primary-rgb, 67, 94, 190), 0.10);
}

.auth-page .focus-input100 {
    display: none;
}

.auth-page .select-country {
    font-family: inherit;
    font-size: 15px;
    background: transparent;
}

.auth-page .btn,
.auth-page .login100-form-btn {
    min-height: 48px;
    height: 48px;
    border-radius: 10px;
    font-weight: 750;
}

.auth-page .btn-primary,
.auth-page .login100-form-btn {
    background-color: var(--site-primary, #334e68);
    border-color: var(--site-primary, #334e68);
    color: #fff;
}

.auth-page .btn-primary:hover,
.auth-page .btn-primary:focus,
.auth-page .login100-form-btn:hover,
.auth-page .login100-form-btn:focus {
    background-color: var(--site-primary-hover, #263f58);
    border-color: var(--site-primary-hover, #263f58);
    color: #fff;
}

.auth-page .btn.disabled,
.auth-page .btn[disabled],
.auth-page .login100-form-btn:disabled {
    background-color: #94a3b8;
    border-color: #94a3b8;
    color: #fff;
    opacity: 0.8;
}

.auth-divider {
    position: relative;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
    display: block;
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    content: "";
}

.auth-page .g_id_signin {
    min-height: 40px;
}

.auth-page #turnstile-box {
    display: flex;
    min-height: 65px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-page .text-muted,
.auth-page small.text-muted {
    color: #64748b !important;
}

.auth-page .w-full.text-center {
    color: #64748b;
}

.auth-page .email_unsubscrib,
.auth-page .reset_password {
    width: 100%;
}

.auth-page .form-check-label {
    color: #334155;
}

.auth-page .limiter {
    background: transparent;
}

html[data-bs-theme="dark"] body.auth-page {
    background:
        radial-gradient(circle at top left, rgba(var(--site-primary-rgb, 67, 94, 190), 0.18), transparent 32rem),
        linear-gradient(180deg, #151521 0%, #10101a 100%);
    color: #c2c2d9;
}

html[data-bs-theme="dark"] .auth-card.wrap-login100 {
    border-color: #343a40 !important;
    background: #1e1e2d;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32) !important;
}

html[data-bs-theme="dark"] .auth-brand-link,
html[data-bs-theme="dark"] .auth-brand-link:hover,
html[data-bs-theme="dark"] .auth-brand-text,
html[data-bs-theme="dark"] .auth-page .login100-form-title {
    color: #f1f5f9;
}

html[data-bs-theme="dark"] .auth-page .txt1,
html[data-bs-theme="dark"] .auth-page .form-check-label {
    color: #dbe3ee;
}

html[data-bs-theme="dark"] .auth-page .wrap-input100 {
    border-color: #343a40;
    background: #151521;
}

html[data-bs-theme="dark"] .auth-page .input100,
html[data-bs-theme="dark"] .auth-page .select-country {
    color: #f1f5f9;
}

html[data-bs-theme="dark"] .auth-page .input100::placeholder,
html[data-bs-theme="dark"] .auth-page .select-country::placeholder {
    color: #818195;
}

html[data-bs-theme="dark"] .auth-password-toggle {
    color: #9899ac;
}

html[data-bs-theme="dark"] .auth-password-toggle:hover,
html[data-bs-theme="dark"] .auth-password-toggle:focus {
    color: #f1f5f9;
    background: rgba(var(--site-primary-rgb, 67, 94, 190), 0.18);
}

html[data-bs-theme="dark"] .auth-divider {
    color: #818195;
}

html[data-bs-theme="dark"] .auth-divider::before,
html[data-bs-theme="dark"] .auth-divider::after {
    background: #343a40;
}

html[data-bs-theme="dark"] .auth-page .text-muted,
html[data-bs-theme="dark"] .auth-page small.text-muted,
html[data-bs-theme="dark"] .auth-page .w-full.text-center {
    color: #9899ac !important;
}

.oauth-email-dialog {
    --oauth-dialog-text: #111827;
    --oauth-dialog-muted: #475569;
    --oauth-dialog-line: #dbe3ee;
    --oauth-dialog-error: #b42318;
    --oauth-dialog-accent: var(--site-primary, #334e68);
    position: fixed;
    inset: 0;
    width: min(440px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: clamp(20px, 6vw, 30px);
    overflow: auto;
    color: var(--oauth-dialog-text);
    background: #fff;
    border: 1px solid var(--oauth-dialog-line);
    border-radius: 14px;
    box-shadow: 0 18px 56px rgba(15, 23, 42, 0.22);
}

.oauth-email-dialog::backdrop {
    background: rgba(15, 23, 42, 0.55);
}

html[data-bs-theme="dark"] .oauth-email-dialog {
    --oauth-dialog-text: #f1f5f9;
    --oauth-dialog-muted: #b0b8cc;
    --oauth-dialog-line: #3e4358;
    --oauth-dialog-error: #fda29b;
    --oauth-dialog-accent: #a8b9ed;
    --oauth-dialog-accent: color-mix(in srgb, var(--site-primary, #334e68) 36%, #f1f5f9);
    background: #1e1e2d;
}

.oauth-email-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    place-items: center;
    color: var(--oauth-dialog-accent);
    background: rgba(var(--site-primary-rgb, 51, 78, 104), 0.12);
    border-radius: 11px;
    font-size: 20px;
}

.oauth-email-dialog h2 {
    margin: 0 0 6px;
    color: var(--oauth-dialog-text);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.oauth-email-dialog p {
    margin: 0;
    color: var(--oauth-dialog-muted);
    font-size: 14px;
    line-height: 1.55;
}

.oauth-email-dialog .oauth-email-status:not(:empty) {
    margin-top: 8px;
}

.oauth-email-dialog .oauth-email-error:not(:empty) {
    margin-top: 10px;
    color: var(--oauth-dialog-error);
}

.oauth-email-code {
    margin-top: 18px;
}

.oauth-email-dialog .oauth-email-code .input100 {
    padding-inline: 14px;
    font-family: ui-monospace, monospace;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-align: center;
}

.oauth-email-code .wrap-input100:has([aria-invalid="true"]) {
    border-color: var(--oauth-dialog-error);
}

.oauth-email-close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 40px;
    height: 40px;
    color: var(--oauth-dialog-muted);
    border-radius: 8px;
}

.oauth-email-close:hover,
.oauth-email-cancel:hover {
    color: var(--oauth-dialog-text);
    background: rgba(var(--site-primary-rgb, 51, 78, 104), 0.08);
}

.oauth-email-dialog button:focus-visible,
.oauth-email-dialog a:focus-visible {
    outline: 2px solid var(--oauth-dialog-accent) !important;
    outline-offset: 3px;
    box-shadow: none;
}

.oauth-email-actions,
.oauth-email-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 12px;
}

.oauth-email-actions {
    margin-top: 22px;
}

.oauth-email-dialog .oauth-email-cancel,
.oauth-email-dialog .oauth-email-submit {
    height: auto;
    min-height: 44px;
    padding: 8px 16px;
    white-space: normal;
}

.oauth-email-cancel {
    color: var(--oauth-dialog-muted);
    border: 1px solid var(--oauth-dialog-line);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.oauth-email-dialog .oauth-email-submit i {
    margin-inline-start: 6px;
}

.oauth-email-help {
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--oauth-dialog-line);
}

.oauth-email-help :is(button, a) {
    min-height: 36px;
    align-content: center;
    color: var(--oauth-dialog-accent);
    text-align: start;
}

.oauth-email-help :is(button, a):hover {
    color: var(--oauth-dialog-accent);
    text-decoration: underline;
}

.oauth-email-help a {
    margin-inline-start: auto;
}

.oauth-email-dialog button:disabled {
    cursor: wait;
}

@media (max-width: 576px) {
    .auth-shell {
        padding: 18px 12px;
    }

    .auth-card.wrap-login100 {
        width: 100%;
        padding: 24px 18px !important;
        border-radius: 10px;
    }

    .auth-brand {
        margin-bottom: 18px;
    }

    .auth-brand-logo {
        width: 38px;
        height: 38px;
    }

    .auth-brand-text {
        max-width: 220px;
        font-size: 17px;
    }

    .auth-page .login100-form-title {
        font-size: 22px;
    }

    .auth-page #turnstile-box {
        justify-content: flex-start;
        transform: scale(0.92);
        transform-origin: left center;
    }
}
