* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --auth-primary: #ff5c00;
    --auth-primary-hover: #ff7433;
    --auth-panel: rgba(22, 22, 22, 0.86);
    --auth-card: rgba(22, 22, 22, 0.86);
    --auth-border: rgba(255, 255, 255, 0.1);
    --auth-text-strong: #f1f1f1;
    --auth-text-soft: rgba(255, 255, 255, 0.6);
    --auth-text-muted: rgba(255, 255, 255, 0.5);
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0d0d0d;
    color: var(--auth-text-strong);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.auth-loading {
    overflow: hidden;
}

body.auth-loading .auth-nav,
body.auth-loading .auth-shell,
body.auth-loading .dashboard-shell {
    visibility: hidden;
}

.app-loading {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
    z-index: 10000;
}

.app-loading-card {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1.2rem;
    border-radius: 10px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--auth-text-strong);
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.app-loading-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: #ff5c00;
    animation: app-loading-spin 0.8s linear infinite;
}

@keyframes app-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-nav {
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--auth-border);
    backdrop-filter: blur(8px);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    margin-left: 1.5rem;
}

.nav-cta {
    margin-right: 1.5rem;
}

.logo-img {
    height: 22px;
    width: auto;
}

.nav-cta-button {
    text-decoration: none;
    color: var(--auth-text-strong);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    min-height: 34px;
    padding: 0 0.9rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-cta-button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
}

.auth-shell {
    flex: 1;
    width: min(1040px, 100%);
    margin: 0 auto;
    padding: clamp(0.9rem, 3.2vw, 2.2rem) 1rem 1.6rem;
    display: grid;
    align-items: center;
}

.dashboard-shell {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 0 0 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.is-hidden {
    display: none !important;
}

.dashboard-nav {
    width: 100%;
    min-height: 58px;
    padding: 0.7rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 18, 0.88);
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.dashboard-brand {
    display: inline-flex;
    align-items: center;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.dashboard-brand-image {
    display: block;
    height: 22px;
    width: auto;
}

.dashboard-nav-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.dashboard-link {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    min-height: 36px;
    padding: 0.35rem 0.9rem;
    border-radius: 8px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.dashboard-link.is-active {
    background: #ff5c00;
    color: #fff;
}

.dashboard-nav-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
    margin-right: 1.5rem;
}

.dashboard-user-email {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.dashboard-add-btn,
.dashboard-more-btn {
    border: none;
    border-radius: 10px;
    background: #171717;
    color: #fff;
    cursor: pointer;
    min-height: 38px;
    padding: 0 1rem;
}

.dashboard-add-btn {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-more-btn {
    min-width: 38px;
    padding: 0;
}

.dashboard-menu-button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
    margin-right: 1.5rem;
}

.dashboard-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: 192px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: #1a1a1a;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 30;
}

.dashboard-menu-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: #f1f1f1;
    min-height: 44px;
    padding: 0 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    font: inherit;
}

.dashboard-menu-item + .dashboard-menu-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-menu-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-content {
    display: grid;
    gap: 1rem;
    padding: 0 2rem;
    margin-top: 1rem;
}

.dashboard-card,
.dashboard-panel {
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.dashboard-card {
    padding: 1.6rem;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-card-header h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.dashboard-card-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.dashboard-card-copy {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    max-width: 40rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-panel {
    padding: 1.2rem;
}

.dashboard-panel-label {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    margin-bottom: 0.6rem;
}

.dashboard-panel strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.7rem;
    color: #ff5c00;
    margin-bottom: 0.3rem;
}

.dashboard-panel p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.auth-board {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    border-radius: 16px;
    border: 1px solid var(--auth-border);
    overflow: hidden;
    background: rgba(18, 18, 18, 0.94);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    isolation: isolate;
}

.auth-board::before,
.auth-board::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(82px);
    opacity: 0.65;
}

.auth-board::before {
    width: 320px;
    height: 320px;
    top: -130px;
    right: -95px;
    background: rgba(255, 92, 0, 0.52);
    animation: auth-card-glow-a 9s ease-in-out infinite alternate;
}

.auth-board::after {
    width: 300px;
    height: 300px;
    bottom: -145px;
    left: -85px;
    background: rgba(255, 116, 51, 0.38);
    animation: auth-card-glow-b 11s ease-in-out infinite alternate;
}

.auth-visual {
    background: var(--auth-panel);
    padding: clamp(1rem, 2.2vw, 1.45rem);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.auth-chip {
    width: fit-content;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--auth-primary);
    border: 1px solid rgba(255, 92, 0, 0.36);
    background: rgba(255, 92, 0, 0.1);
    border-radius: 999px;
    padding: 0.28rem 0.58rem;
}

.auth-visual h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    line-height: 1.3;
}

.auth-visual-title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.auth-visual-static {
    color: var(--auth-text-strong);
}

.auth-visual-dynamic {
    color: var(--auth-primary);
    min-height: 1.3em;
}

.auth-visual-copy {
    color: var(--auth-text-soft);
    max-width: 44ch;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-top: 0.65rem;
}

.auth-stat-grid {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.auth-stat-grid article {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 0.62rem 0.58rem;
    background: rgba(0, 0, 0, 0.16);
}

.auth-stat-grid span {
    display: block;
    font-family: 'Sora', sans-serif;
    color: var(--auth-primary);
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.auth-stat-grid p {
    color: var(--auth-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-card {
    background: var(--auth-card);
    padding: clamp(0.9rem, 1.9vw, 1.2rem);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

@keyframes auth-card-glow-a {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(-36px, 28px, 0) scale(1.14);
    }
}

@keyframes auth-card-glow-b {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(32px, -26px, 0) scale(1.1);
    }
}

.auth-heading {
    margin-bottom: 0.8rem;
}

.auth-heading h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.auth-typewriter {
    position: relative;
    width: fit-content;
}

.auth-typewriter.is-typing::after {
    content: "";
    display: inline-block;
    width: 0.08em;
    height: 0.9em;
    margin-left: 0.14em;
    background: var(--auth-primary);
    border-radius: 2px;
    vertical-align: -0.08em;
    animation: auth-caret-blink 0.9s steps(1, end) infinite;
}

@keyframes auth-caret-blink {
    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }
}

.auth-heading p {
    color: var(--auth-text-soft);
    font-size: 0.82rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
    padding: 0.3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 0.8rem;
}

.auth-tab {
    min-height: 36px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--auth-text-muted);
    font-family: 'Sora', sans-serif;
    font-size: 0.83rem;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.auth-tab.is-active {
    color: var(--auth-text-strong);
    background: rgba(0, 0, 0, 0.4);
}

.auth-form {
    display: none;
}

.auth-form.is-active {
    display: block;
}

.auth-field {
    margin-bottom: 0.7rem;
}

.auth-verification-block {
    margin-bottom: 0.85rem;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-verification-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--auth-text-strong);
    font-size: 0.8rem;
    cursor: pointer;
    user-select: none;
}

.auth-verification-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-verification-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.4);
    flex: 0 0 auto;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.auth-verification-check:checked + .auth-verification-box {
    background: rgba(255, 92, 0, 0.85);
    border-color: rgba(255, 92, 0, 0.9);
}

.auth-verification-check:checked + .auth-verification-box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.auth-verification-note {
    margin: 0.45rem 0 0;
    color: var(--auth-text-soft);
    font-size: 0.73rem;
    line-height: 1.35;
}

.auth-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap .auth-input {
    padding-right: 4.1rem;
}

.auth-login-password-field {
    margin-bottom: 0.95rem;
}

.auth-eye-btn {
    position: absolute;
    right: 0.38rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    min-height: 28px;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--auth-text-soft);
    font-size: 0.72rem;
    cursor: pointer;
}

.auth-eye-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--auth-text-strong);
}

.auth-meta-row {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.auth-toggle-btn {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--auth-text-soft);
    font-size: 0.78rem;
    cursor: pointer;
}

.auth-toggle-track {
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    padding: 2px;
    transition: background-color 0.2s ease;
}

.auth-toggle-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.2s ease;
}

.auth-toggle-btn.is-active .auth-toggle-track {
    background: rgba(255, 92, 0, 0.58);
}

.auth-toggle-btn.is-active .auth-toggle-thumb {
    transform: translateX(14px);
}

.auth-field label {
    display: block;
    font-size: 0.78rem;
    color: var(--auth-text-soft);
    margin-bottom: 0.32rem;
}

.auth-input {
    width: 100%;
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.4);
    color: var(--auth-text-strong);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.86rem;
    padding: 0.56rem 0.65rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--auth-text-strong) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.4) inset !important;
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.4) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    caret-color: var(--auth-text-strong);
    transition: background-color 9999s ease-in-out 0s;
}

.auth-input:-webkit-autofill::first-line {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.86rem;
}

.auth-input:focus {
    outline: none;
    border-color: rgba(255, 92, 0, 0.78);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.18);
}

.auth-link {
    color: var(--auth-primary);
    text-decoration: none;
    font-size: 0.78rem;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.auth-link:hover {
    color: var(--auth-primary-hover);
}

.auth-submit {
    width: 100%;
    min-height: 39px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #ff6f1f 0%, #ff5c00 100%);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.84rem;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.auth-submit:hover {
    filter: brightness(1.08);
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-submit:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    filter: saturate(0.72) brightness(0.82);
}

.auth-qr-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    padding: 0.9rem;
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    text-align: center;
}

.auth-qr-title {
    color: var(--auth-text-strong);
    font-family: 'Sora', sans-serif;
    font-size: 0.86rem;
}

.auth-qr-image {
    width: min(130px, 100%);
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    display: block;
    margin: 0.5rem 0;
    object-fit: contain;
}

.auth-qr-caption {
    color: var(--auth-text-soft);
    font-size: 0.76rem;
    line-height: 1.4;
}

.auth-qr-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.is-hidden {
    display: none !important;
}

.auth-divider {
    margin: 0.78rem 0;
    color: var(--auth-text-muted);
    font-size: 0.72rem;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, 0.13);
}

.auth-alt-btn {
    width: 100%;
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.4);
    color: var(--auth-text-strong);
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.auth-alt-btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.auth-social-actions {
    display: grid;
    gap: 0.55rem;
}

.auth-feedback {
    min-height: 0;
    margin-top: 0;
    font-size: 0.74rem;
    color: var(--auth-primary-hover);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
}

.auth-feedback.is-error {
    color: #ff9f8f;
}

.auth-feedback.has-message {
    opacity: 1;
    max-height: 2.2em;
    margin-top: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
    .auth-board::before,
    .auth-board::after {
        animation: none;
    }

    .auth-typewriter.is-typing::after {
        animation: none;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 420px;
}

.toast {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem 1rem 1.2rem;
    border-radius: 8px;
    border: none;
    animation: slideInRight 0.3s ease-out;
    min-width: 280px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #ff5c00;
    color: white;
}

.toast-close {
    position: absolute;
    top: 0.35rem;
    right: 0.4rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0;
}

.toast-close:hover {
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(420px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(420px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-out;
}

@media (max-width: 900px) {
    .auth-board {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-stat-grid {
        margin-top: 0.4rem;
    }

    .auth-meta-row {
        margin-bottom: 0.85rem;
    }

    .dashboard-nav {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0.7rem 1rem;
    }

    .dashboard-nav-actions {
        justify-self: center;
    }

    .dashboard-nav-links {
        flex-wrap: wrap;
    }

    .dashboard-nav-actions {
        width: 100%;
        justify-content: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        padding: 0 1rem;
    }
}

@media (max-width: 540px) {
    .auth-nav {
        padding: 0.6rem 0.8rem;
    }

    .nav-logo {
        margin-left: 0;
    }

    .nav-cta {
        margin-right: 0;
    }

    .logo-img {
        height: 21px;
    }

    .nav-cta-button {
        min-height: 31px;
        padding: 0 0.75rem;
        font-size: 0.72rem;
    }

    .auth-shell {
        padding: 0.8rem 0.7rem 1.4rem;
    }

    .auth-visual,
    .auth-card {
        padding: 0.82rem;
    }

    .auth-visual-copy {
        font-size: 0.84rem;
    }

    .auth-stat-grid {
        grid-template-columns: 1fr;
    }

    .auth-visual-dynamic {
        min-height: 1.45em;
    }

    .auth-visual-static {
        line-height: 1.42;
    }

    .auth-meta-row {
        flex-wrap: wrap;
    }
}

.auth-reset-header {
    margin-bottom: 0.6rem;
}

.auth-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    background: transparent;
    color: var(--auth-primary);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.auth-back-btn:hover {
    color: var(--auth-primary-hover);
}
