:root {
    --ct-primary: #3452ff;
    --ct-primary-deep: #1b2a73;
    --ct-accent: #5e72e4;
    --ct-surface: rgba(255, 255, 255, 0.9);
    --ct-surface-strong: rgba(255, 255, 255, 0.96);
    --ct-stroke: rgba(149, 164, 212, 0.28);
    --ct-text: #101827;
    --ct-muted: #667085;
    --ct-success: #17b26a;
    --ct-shadow: 0 30px 60px rgba(17, 24, 39, 0.14);
    --ct-shadow-soft: 0 18px 40px rgba(52, 82, 255, 0.18);
}

html {
    font-size: 14px;
}

body.auth-body {
    min-height: 100vh;
    margin: 0;
    color: var(--ct-text);
    background:
        radial-gradient(circle at 15% 20%, rgba(94, 114, 228, 0.32), transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(17, 205, 239, 0.24), transparent 28%),
        radial-gradient(circle at 80% 80%, rgba(251, 99, 64, 0.2), transparent 25%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.82)),
        var(--auth-bg, transparent);
    background-size: cover;
    background-attachment: fixed;
}

.theme-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 26px rgba(17, 24, 39, 0.14);
}

.theme-lang-option {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.58rem 0.92rem;
    border-radius: 999px;
    transition: background 180ms ease, color 180ms ease;
}

.theme-lang-option.is-active {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ct-text);
}

.auth-lang-switch {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 40;
}

/* Refined auth language switch: keep it clean, always top-right, and immune to default button styles */
.auth-body .auth-lang-switch {
    top: 18px;
    right: 18px;
    left: auto;
    z-index: 1200;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(250, 249, 245, 0.88);
    border: 1px solid rgba(48, 51, 47, 0.12);
    box-shadow: 0 14px 28px -20px rgba(48, 51, 47, 0.28);
    backdrop-filter: blur(10px);
}

.auth-body .auth-lang-switch .theme-lang-option {
    -webkit-appearance: none;
    appearance: none;
    border: none !important;
    outline: none;
    margin: 0;
    min-height: 32px;
    padding: 0.4rem 0.82rem;
    border-radius: 999px;
    background: transparent;
    color: #66706a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.auth-body .auth-lang-switch .theme-lang-option:hover {
    background: rgba(79, 99, 89, 0.08);
    color: #4f6359;
    transform: translateY(-1px);
}

.auth-body .auth-lang-switch .theme-lang-option.is-active {
    background: linear-gradient(180deg, #61756b, #4c6056);
    color: #eef7f1;
    box-shadow: 0 12px 20px -16px rgba(68, 87, 78, 0.55);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 520px);
    align-items: stretch;
}

.auth-showcase {
    position: relative;
    padding: 48px clamp(28px, 5vw, 72px);
    display: flex;
    align-items: center;
}

.auth-showcase::before {
    content: "";
    position: absolute;
    inset: 32px 0 32px 32px;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--ct-shadow);
    backdrop-filter: blur(10px);
}

.auth-showcase-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    color: #fff;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11cdef, #5e72e4);
    box-shadow: 0 0 0 6px rgba(17, 205, 239, 0.16);
}

.auth-showcase-title {
    margin: 24px 0 16px;
    font-size: clamp(3rem, 5.2vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.auth-showcase-copy {
    max-width: 520px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.76);
}

.auth-metrics {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.auth-metric {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-metric strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
    margin-bottom: 8px;
}

.auth-metric span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.auth-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    border-radius: 30px;
    padding: 32px;
    background: var(--ct-surface-strong);
    border: 1px solid var(--ct-stroke);
    box-shadow: var(--ct-shadow-soft);
    backdrop-filter: blur(16px);
}

.auth-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ct-text);
    text-decoration: none;
}

.brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 14px 24px rgba(52, 82, 255, 0.2);
}

.auth-brand-copy strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.auth-brand-copy span {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    color: var(--ct-muted);
}

.auth-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ct-primary);
    background: rgba(52, 82, 255, 0.08);
}

.auth-title {
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--ct-text);
}

.auth-subtitle {
    margin: 0 0 28px;
    line-height: 1.75;
    color: var(--ct-muted);
}

.auth-subtitle a,
.text-link {
    color: var(--ct-primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-subtitle a:hover,
.text-link:hover {
    color: var(--ct-primary-deep);
}

.auth-form-grid {
    display: grid;
    gap: 18px;
}

.auth-form-grid .row {
    margin-left: -8px;
    margin-right: -8px;
}

.auth-form-grid .row > div {
    padding-left: 8px;
    padding-right: 8px;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    height: 58px;
    min-height: 58px;
    padding-top: 1.65rem;
    background: #fff;
    border: 1px solid var(--ct-stroke);
    border-radius: 18px;
    color: var(--ct-text);
    box-shadow: none;
}

.form-floating > label {
    padding: 1rem 1rem;
    color: var(--ct-muted);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(52, 82, 255, 0.48);
    box-shadow: 0 0 0 4px rgba(52, 82, 255, 0.12);
}

.btn-gradient,
.auth-submit {
    min-height: 54px;
    border: none;
    border-radius: 18px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #3452ff, #5e72e4 55%, #11cdef);
    box-shadow: 0 18px 30px rgba(52, 82, 255, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gradient:hover,
.auth-submit:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.btn-ghost,
.btn-outline-primary {
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(52, 82, 255, 0.18);
    color: var(--ct-primary);
    background: rgba(52, 82, 255, 0.04);
    font-weight: 700;
}

.btn-ghost:hover,
.btn-outline-primary:hover {
    color: var(--ct-primary-deep);
    background: rgba(52, 82, 255, 0.08);
    border-color: rgba(52, 82, 255, 0.24);
}

.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--ct-muted);
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ct-primary);
}

.image-code {
    width: 100%;
    height: 58px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--ct-stroke);
    background: #fff;
    cursor: pointer;
}

.divider {
    position: relative;
    margin: 24px 0;
    text-align: center;
    color: var(--ct-muted);
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 36px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103, 116, 148, 0.22), transparent);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.auth-footer-note {
    margin-top: 22px;
    color: var(--ct-muted);
}

.prompt-image-code {
    width: 100%;
    max-width: 100%;
    height: 56px;
    object-fit: cover;
    border: 1px solid var(--ct-stroke);
    border-radius: 16px;
    cursor: pointer;
}

@media (max-width: 1199.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-showcase {
        min-height: 360px;
        padding-bottom: 0;
    }

    .auth-showcase::before {
        inset: 28px 28px 0;
    }

    .auth-wrapper {
        padding-top: 24px;
        padding-bottom: 48px;
    }
}

@media (max-width: 767.98px) {
    .auth-showcase {
        min-height: auto;
        padding: 24px 18px 0;
    }

    .auth-showcase::before {
        inset: 0;
        border-radius: 24px;
    }

    .auth-showcase-title {
        font-size: 2.6rem;
    }

    .auth-metrics {
        grid-template-columns: 1fr;
    }

    .auth-wrapper {
        padding: 20px 14px 28px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .auth-brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .auth-form-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Aura Premium Overrides */
:root {
    --ct-primary: #4f6359;
    --ct-primary-deep: #44574e;
    --ct-accent: #51616f;
    --ct-surface: rgba(250, 249, 245, 0.88);
    --ct-surface-strong: rgba(255, 255, 255, 0.92);
    --ct-stroke: rgba(48, 51, 47, 0.08);
    --ct-text: #30332f;
    --ct-muted: #5d605b;
    --ct-success: #4f6359;
    --ct-shadow: 0 40px 60px -20px rgba(48, 51, 47, 0.06);
    --ct-shadow-soft: 0 26px 40px -24px rgba(48, 51, 47, 0.1);
}

body.auth-body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(209, 232, 219, 0.45), transparent 24%),
        linear-gradient(180deg, rgba(250, 249, 245, 0.98), rgba(244, 244, 239, 0.96)),
        var(--auth-bg, transparent);
}

.auth-showcase::before {
    inset: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.auth-showcase-content {
    color: var(--ct-text);
}

.auth-pill {
    background: rgba(244, 244, 239, 0.9);
    border-color: rgba(48, 51, 47, 0.08);
    color: var(--ct-muted);
}

.auth-pill .dot {
    background: var(--ct-primary);
    box-shadow: 0 0 0 6px rgba(79, 99, 89, 0.1);
}

.auth-showcase-title,
.auth-title,
.auth-brand-copy strong {
    font-family: "Noto Serif", serif;
    font-weight: 400;
}

.auth-showcase-title {
    color: var(--ct-text);
    line-height: 1.08;
}

.auth-showcase-copy {
    color: var(--ct-muted);
}

.auth-metric {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(48, 51, 47, 0.08);
    border-radius: 24px;
}

.auth-metric strong {
    font-family: "Noto Serif", serif;
    font-weight: 400;
    color: var(--ct-primary);
}

.auth-metric span {
    color: var(--ct-muted);
}

.auth-card {
    border-radius: 22px;
    border-color: rgba(48, 51, 47, 0.08);
    box-shadow: var(--ct-shadow);
    background: rgba(255, 255, 255, 0.9);
}

.brand-icon {
    box-shadow: none;
}

.auth-brand-copy strong {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--ct-primary);
}

.auth-brand-copy span {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.66rem;
}

.auth-panel-badge {
    background: #f4f4ef;
    color: var(--ct-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-title {
    font-size: 2.7rem;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.image-code,
.prompt-image-code {
    border-color: rgba(48, 51, 47, 0.08);
    background: rgba(244, 244, 239, 0.6);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(79, 99, 89, 0.24);
    box-shadow: 0 0 0 3px rgba(79, 99, 89, 0.08);
}

.btn-gradient,
.auth-submit {
    background: var(--ct-primary);
    box-shadow: var(--ct-shadow-soft);
}

.btn-ghost,
.btn-outline-primary {
    border-color: rgba(79, 99, 89, 0.16);
    color: var(--ct-primary);
    background: transparent;
}

.text-link,
.auth-subtitle a {
    color: var(--ct-primary);
}

@media (max-width: 1199.98px) {
    .auth-showcase::before {
        inset: 0;
    }
}

@media (max-width: 767.98px) {
    .auth-showcase-title {
        font-size: 2.7rem;
    }
}

/* Final Hard Override for Aura Auth */
body.auth-body {
    min-height: 100vh !important;
    margin: 0 !important;
    background: #faf9f5 !important;
    color: #30332f !important;
    background-image:
        radial-gradient(circle at 82% 14%, rgba(209, 232, 219, 0.42), transparent 18%),
        radial-gradient(circle at 14% 76%, rgba(253, 231, 211, 0.42), transparent 18%),
        linear-gradient(180deg, #faf9f5, #f4f4ef) !important;
    background-attachment: initial !important;
}

.auth-shell {
    min-height: 100vh !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(396px, 472px) !important;
    align-items: center !important;
    gap: 54px !important;
    padding: 40px 32px !important;
}

.auth-showcase {
    min-height: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 2rem !important;
    min-height: 760px !important;
}

.auth-showcase::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 2rem !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.14)),
        linear-gradient(180deg, rgba(250, 249, 245, 0.42), rgba(250, 249, 245, 0.18)),
        var(--auth-bg) center/cover no-repeat !important;
    opacity: 0.98 !important;
    border: 1px solid rgba(48, 51, 47, 0.06) !important;
    box-shadow: 0 35px 60px -32px rgba(48, 51, 47, 0.18) !important;
    filter: saturate(0.72) sepia(0.08) brightness(1.02) !important;
}

.auth-showcase::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 2rem !important;
    background:
        radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.62), transparent 18%),
        linear-gradient(90deg, rgba(250, 249, 245, 0.88), rgba(250, 249, 245, 0.24) 58%, rgba(250, 249, 245, 0.06)) !important;
}

.auth-showcase-content {
    max-width: 760px !important;
    color: #30332f !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 3rem 3.2rem !important;
}

.auth-pill {
    display: inline-flex !important;
    padding: 8px 14px !important;
    background: #eeeee9 !important;
    border: 1px solid rgba(48, 51, 47, 0.08) !important;
    color: #5d605b !important;
    border-radius: 999px !important;
}

.auth-pill .dot {
    background: #4f6359 !important;
    box-shadow: 0 0 0 6px rgba(79, 99, 89, 0.08) !important;
}

.auth-showcase-title {
    margin: 20px 0 16px !important;
    color: #30332f !important;
    font-family: "Noto Serif", serif !important;
    font-size: clamp(2.35rem, 3.8vw, 3.75rem) !important;
    font-weight: 400 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.05em !important;
    max-width: 12.5ch !important;
}

.auth-showcase-copy {
    max-width: 560px !important;
    color: #5d605b !important;
    font-size: 0.98rem !important;
    line-height: 1.95 !important;
}

.auth-metrics {
    margin-top: 36px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.auth-metric {
    padding: 18px 18px 16px !important;
    background: rgba(255, 255, 255, 0.76) !important;
    border: 1px solid rgba(48, 51, 47, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 30px -24px rgba(48, 51, 47, 0.12) !important;
}

.auth-metric strong {
    color: #4f6359 !important;
    font-family: "Noto Serif", serif !important;
    font-weight: 400 !important;
}

.auth-metric span {
    color: #5d605b !important;
}

.auth-wrapper {
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

.auth-card {
    max-width: 452px !important;
    padding: 30px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(48, 51, 47, 0.08) !important;
    box-shadow: 0 34px 54px -24px rgba(48, 51, 47, 0.1) !important;
    backdrop-filter: none !important;
}

.auth-brand-row {
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
}

.brand-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.auth-brand-copy strong {
    font-family: "Noto Serif", serif !important;
    font-size: 1.5rem !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: #4f6359 !important;
}

.auth-brand-copy span {
    display: block !important;
    margin-top: 4px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #5d605b !important;
}

.auth-panel-badge {
    padding: 7px 12px !important;
    background: #f4f4ef !important;
    color: #586b61 !important;
    border-radius: 999px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-size: 0.72rem !important;
}

.auth-title {
    margin: 8px 0 10px !important;
    color: #30332f !important;
    font-family: "Noto Serif", serif !important;
    font-size: 2.8rem !important;
    font-weight: 400 !important;
    line-height: 1.04 !important;
}

.auth-subtitle {
    color: #5d605b !important;
    line-height: 1.82 !important;
    margin-bottom: 22px !important;
}

.auth-form-grid {
    gap: 0 !important;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.image-code,
.prompt-image-code {
    height: 56px !important;
    min-height: 56px !important;
    background: rgba(244, 244, 239, 0.8) !important;
    border: 1px solid rgba(48, 51, 47, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.form-floating > label {
    color: #797c76 !important;
}

.auth-form-grid .mb-4 {
    margin-bottom: 1rem !important;
}

.auth-form-grid .row.mb-4 {
    margin-bottom: 1rem !important;
    align-items: stretch !important;
}

.auth-form-grid .row.mb-4 > div {
    display: flex !important;
    align-items: center !important;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(79, 99, 89, 0.22) !important;
    box-shadow: 0 0 0 3px rgba(79, 99, 89, 0.07) !important;
}

.btn-gradient,
.auth-submit {
    min-height: 58px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #566a60, #44574e) !important;
    border: 1px solid rgba(68, 87, 78, 0.18) !important;
    color: #f7faf7 !important;
    box-shadow: 0 14px 24px -18px rgba(68, 87, 78, 0.45) !important;
}

.btn-ghost,
.btn-outline-primary {
    min-height: 56px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(79, 99, 89, 0.16) !important;
    background: transparent !important;
    color: #4f6359 !important;
}

.image-code {
    width: 100% !important;
    height: 56px !important;
    object-fit: contain !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,246,240,0.94)) !important;
    padding: 4px 10px !important;
    border-radius: 16px !important;
    filter: saturate(0.88) contrast(0.98) !important;
}

#image-captcha,
#captcha {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.auth-footer-note,
.auth-footer-note a,
.text-link,
.auth-subtitle a {
    color: #4f6359 !important;
}

@media (max-width: 1199.98px) {
    .auth-shell {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px 18px 36px !important;
    }

    .auth-showcase-content {
        max-width: none !important;
    }

    .auth-showcase {
        min-height: 520px !important;
    }
}

@media (max-width: 767.98px) {
    .auth-showcase-title {
        font-size: 2.65rem !important;
    }

    .auth-metrics {
        grid-template-columns: 1fr !important;
    }

    .auth-card {
        max-width: 100% !important;
        padding: 22px !important;
    }

    .auth-brand-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .auth-showcase-content {
        padding: 1.5rem 1.4rem !important;
    }
}

/* Aura auth refinement */
.auth-showcase::before {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.14)),
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.56), transparent 18%),
        linear-gradient(90deg, rgba(250, 249, 245, 0.9), rgba(250, 249, 245, 0.26) 58%, rgba(250, 249, 245, 0.08)),
        var(--auth-bg) center/cover no-repeat !important;
}

.auth-showcase-content {
    max-width: 700px !important;
}

.auth-wrapper {
    align-items: center !important;
}

.auth-card {
    max-width: 454px !important;
    padding: 30px 30px 24px !important;
    min-height: 708px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.auth-form-grid {
    display: block !important;
}

.auth-form-grid .mb-4 {
    margin-bottom: 0 !important;
}

.auth-title {
    font-size: 2rem !important;
    margin: 8px 0 10px !important;
}

.auth-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.78 !important;
    margin-bottom: 1.35rem !important;
}

.auth-brand-row {
    margin-bottom: 20px !important;
}

.auth-panel-badge {
    font-size: 0.68rem !important;
}

.auth-form-grid .form-floating {
    position: relative;
    margin: 0 !important;
}

.auth-form-grid > .form-floating,
.auth-form-grid > .row,
.auth-form-grid > .auth-verification-block {
    padding: 1rem 0 1.1rem;
    border-top: none;
}

.auth-form-grid > .form-floating:first-child {
    border-top: none;
    padding-top: 0.25rem;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    height: 52px !important;
    min-height: 52px !important;
    padding: 1.35rem 0 0.28rem !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(48, 51, 47, 0.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}

.form-floating > label {
    padding: 0.15rem 0 !important;
    color: #8a8d87 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    height: auto !important;
    pointer-events: none !important;
}

.form-floating > .form-control::placeholder,
.form-floating > .form-control-plaintext::placeholder {
    color: transparent !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label {
    transform: none !important;
    color: #8a8d87 !important;
    opacity: 1 !important;
}

.auth-verification-block {
    padding: 0.9rem 0 0.95rem !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.auth-verification-block .btn-outline-primary,
.auth-verification-block .btn-ghost {
    width: 100%;
}

.auth-verification-copy {
    margin-bottom: 0.9rem;
}

.auth-verification-copy span {
    display: block;
    margin-bottom: 0.36rem;
    color: #5d605b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-verification-copy p {
    margin: 0;
    color: #5d605b;
    font-size: 0.84rem;
    line-height: 1.72;
}

.auth-verification-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 146px;
    gap: 16px;
    margin: 0 !important;
    align-items: stretch !important;
}

.auth-verification-row > div {
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.auth-verification-row .form-floating {
    width: 100%;
}

.auth-verification-row .form-floating > .form-control {
    height: 50px !important;
    min-height: 50px !important;
    padding-top: 1.3rem !important;
}

.image-code {
    width: 100% !important;
    height: 50px !important;
    padding: 2px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(48, 51, 47, 0.12) !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    box-shadow: none !important;
}

.btn-gradient,
.auth-submit {
    min-height: 46px !important;
    padding: 0.72rem 1.4rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #61756b, #4c6056) !important;
    border: none !important;
    box-shadow: 0 20px 30px -24px rgba(68, 87, 78, 0.4) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
}

.btn-ghost,
.btn-outline-primary {
    min-height: 44px !important;
    padding: 0.62rem 0.75rem !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(79, 99, 89, 0.16) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.77rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.auth-form-meta {
    margin-top: 0.95rem !important;
    margin-bottom: 1rem !important;
    padding-top: 0.2rem;
}

.auth-footer-note {
    margin-top: auto !important;
    padding-top: 1rem;
}

.auth-form-meta label,
.auth-form-meta a,
.auth-footer-note,
.auth-footer-note a {
    font-size: 0.82rem !important;
}

.form-check input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.btn-gradient:hover,
.auth-submit:hover,
.btn-gradient:focus,
.auth-submit:focus,
.btn-ghost:hover,
.btn-outline-primary:hover,
.btn-ghost:focus,
.btn-outline-primary:focus {
    transform: none !important;
    filter: none !important;
}

@media (max-width: 1199.98px) {
    .auth-card {
        max-width: 100% !important;
    }

    .auth-lang-switch {
        top: 16px;
        right: 16px;
    }

    .auth-body .auth-lang-switch {
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 767.98px) {
    .auth-lang-switch {
        top: 12px;
        right: 12px;
        left: auto;
        justify-content: flex-end;
    }

    .auth-body .auth-lang-switch {
        top: 10px;
        right: 10px;
        left: auto;
    }

    .auth-body .auth-lang-switch .theme-lang-option {
        min-height: 30px;
        padding: 0.34rem 0.68rem;
        font-size: 0.68rem;
    }

    .auth-shell {
        padding: 18px 14px 28px !important;
    }

    .auth-showcase {
        min-height: 420px !important;
    }

    .auth-showcase-content {
        padding: 1.45rem 1.3rem !important;
    }

    .auth-showcase-title {
        max-width: none !important;
        font-size: 2.15rem !important;
    }

    .auth-card {
        padding: 24px !important;
        min-height: 0 !important;
    }

    .auth-verification-row {
        grid-template-columns: 1fr !important;
    }
}
