/* Auth — 3D smart background + glass card */

:root {
    --auth-primary: #0ea5e9;
    --auth-primary-dark: #0284c7;
    --auth-primary-deep: #0369a1;
    --auth-indigo: #6366f1;
    --auth-violet: #8b5cf6;
    --auth-text: #0f172a;
    --auth-muted: #64748b;
    --auth-glass: rgba(255, 255, 255, 0.72);
    --auth-glass-border: rgba(255, 255, 255, 0.55);
}

body.auth-body {
    font-family: var(--bs-body-font-family);
    color: var(--auth-text);
    overflow-x: clip;
    position: relative;
}

body.auth-body--3d {
    background: #0c1929;
}

/* Smart animated background */
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(14, 165, 233, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 75%, rgba(99, 102, 241, 0.38) 0%, transparent 52%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(6, 182, 212, 0.25) 0%, transparent 50%),
        linear-gradient(155deg, #0c1929 0%, #0f2744 28%, #122a4a 52%, #0c2340 78%, #081525 100%);
}

.auth-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 75%);
}

.auth-bg-orbs {
    position: absolute;
    inset: 0;
}

.auth-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    will-change: transform;
}

.auth-bg-orb--1 {
    width: 18rem;
    height: 18rem;
    top: -4rem;
    left: -3rem;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.75) 0%, transparent 68%);
    animation: auth-orb-drift-1 16s ease-in-out infinite;
}

.auth-bg-orb--2 {
    width: 22rem;
    height: 22rem;
    top: 35%;
    right: -6rem;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.65) 0%, transparent 70%);
    animation: auth-orb-drift-2 19s ease-in-out infinite;
}

.auth-bg-orb--3 {
    width: 14rem;
    height: 14rem;
    bottom: 8%;
    left: 12%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, transparent 68%);
    animation: auth-orb-drift-3 13s ease-in-out infinite;
}

.auth-bg-orb--4 {
    width: 10rem;
    height: 10rem;
    top: 18%;
    right: 22%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, transparent 70%);
    animation: auth-orb-drift-4 11s ease-in-out infinite;
}

.auth-bg-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 35%, rgba(255, 255, 255, 0.04) 50%, transparent 65%);
    animation: auth-shine-sweep 12s ease-in-out infinite;
}

@keyframes auth-orb-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2.5rem, 1.5rem) scale(1.08); }
}

@keyframes auth-orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-2rem, 2rem) scale(1.05); }
}

@keyframes auth-orb-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(1.5rem, -1.25rem) scale(1.1); }
}

@keyframes auth-orb-drift-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-1rem, 1.75rem) scale(0.95); }
}

@keyframes auth-shine-sweep {
    0%, 100% { opacity: 0.4; transform: translateX(-8%); }
    50% { opacity: 0.7; transform: translateX(8%); }
}

.auth-wrap {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
}

.auth-form-shell {
    max-width: 26rem;
    margin: 0 auto;
}

.auth-form-shell.auth-form-shell--wide {
    max-width: 28rem;
}

/* Brand */
.auth-brand-block {
    perspective: 800px;
}

.auth-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.auth-brand-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    color: #fff;
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.9) 0%, rgba(3, 105, 161, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 24px -8px rgba(14, 165, 233, 0.55),
        0 4px 0 rgba(2, 132, 199, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #e0f2fe 55%, #bae6fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 18px rgba(14, 165, 233, 0.25);
}

.auth-brand-link:hover .auth-brand-icon {
    transform: translateY(-2px) rotateX(8deg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 14px 28px -8px rgba(14, 165, 233, 0.65),
        0 5px 0 rgba(2, 132, 199, 0.4);
}

/* Back link */
.auth-top-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(224, 242, 254, 0.88);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.auth-top-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(186, 230, 253, 0.35);
    transform: translateX(-2px);
}

.auth-top-link__arrow {
    opacity: 0.85;
}

/* 3D glass card */
.auth-form-card {
    position: relative;
    border-radius: 1.25rem;
    background: var(--auth-glass);
    border: 1px solid var(--auth-glass-border);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 -1px 0 rgba(255, 255, 255, 0.25) inset,
        0 28px 56px -24px rgba(8, 21, 37, 0.65),
        0 12px 28px -14px rgba(14, 165, 233, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.auth-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--auth-primary) 0%, var(--auth-indigo) 45%, var(--auth-violet) 100%);
    z-index: 2;
}

.auth-form-card__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 80%;
    height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.auth-form-card__inner {
    position: relative;
    z-index: 1;
}

.auth-form-card:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 -1px 0 rgba(255, 255, 255, 0.3) inset,
        0 32px 64px -24px rgba(8, 21, 37, 0.7),
        0 16px 32px -14px rgba(14, 165, 233, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Typography */
.auth-heading {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    color: var(--auth-text);
}

.auth-subheading {
    color: var(--auth-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.auth-copyright {
    color: rgba(186, 230, 253, 0.65);
    margin-top: 1.25rem;
    font-size: 0.8125rem;
}

/* 3D inputs */
.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .form-control {
    padding: 0.72rem 0.95rem 0.72rem 2.75rem;
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.auth-input-wrap .form-control:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.auth-input-wrap .form-control:focus {
    border-color: var(--auth-primary);
    background: #fff;
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.03),
        0 0 0 3px rgba(14, 165, 233, 0.18),
        0 4px 14px -6px rgba(14, 165, 233, 0.35);
    transform: translateY(-1px);
}

.auth-input-wrap .form-control.is-invalid {
    border-color: #f87171;
    box-shadow:
        inset 0 2px 4px rgba(15, 23, 42, 0.03),
        0 0 0 3px rgba(248, 113, 113, 0.15);
}

.auth-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    color: var(--auth-primary-deep);
    font-size: 0.8rem;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0.06) 100%);
    border: 1px solid rgba(14, 165, 233, 0.15);
    pointer-events: none;
    line-height: 1;
}

.auth-form-card .form-label {
    color: #334155;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

/* Checkbox & links */
.auth-form-card .form-check-input {
    border: 1.5px solid #cbd5e1;
    border-radius: 0.35rem;
}

.auth-form-card .form-check-input:checked {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
}

.auth-form-card .form-check-label {
    color: var(--auth-muted);
}

.auth-form-card a:not(.auth-btn-3d) {
    color: var(--auth-primary-dark);
    font-weight: 600;
    transition: color 0.15s ease;
}

.auth-form-card a:not(.auth-btn-3d):hover {
    color: var(--auth-primary-deep);
}

/* 3D submit button */
.auth-btn-3d,
.auth-form-card .btn-primary.auth-btn-3d,
.auth-form-card .btn-primary.w-100 {
    background: linear-gradient(135deg, #38bdf8 0%, var(--auth-primary) 35%, var(--auth-primary-dark) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.78rem 1.25rem;
    border-radius: 0.8rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 4px 0 var(--auth-primary-deep),
        0 10px 24px -8px rgba(14, 165, 233, 0.55);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-btn-3d:hover,
.auth-form-card .btn-primary.auth-btn-3d:hover,
.auth-form-card .btn-primary.w-100:hover {
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-dark) 55%, #075985 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 5px 0 var(--auth-primary-deep),
        0 14px 28px -8px rgba(14, 165, 233, 0.6);
}

.auth-btn-3d:active,
.auth-form-card .btn-primary.auth-btn-3d:active,
.auth-form-card .btn-primary.w-100:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 2px 0 var(--auth-primary-deep),
        0 6px 14px -6px rgba(14, 165, 233, 0.45);
}

/* Alerts inside card */
.auth-form-card .alert {
    border-radius: 0.75rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
}

.auth-form-card .alert-success {
    background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: rgba(16, 185, 129, 0.25);
    color: #047857;
}

/* OTP & stepper */
.auth-otp-input {
    font-size: 1.375rem !important;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-align: center;
    padding-left: 0.9rem !important;
    font-variant-numeric: tabular-nums;
}

.auth-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-step {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.auth-step.is-active,
.auth-step.is-done {
    background: linear-gradient(90deg, var(--auth-primary), var(--auth-indigo));
    box-shadow: 0 1px 4px rgba(14, 165, 233, 0.35);
}

.auth-footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--auth-muted);
    margin: 0;
}

.auth-actions-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    margin-top: 0.5rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .auth-bg-orb,
    .auth-bg-shine {
        animation: none;
    }

    .auth-form-card:hover,
    .auth-input-wrap .form-control:focus,
    .auth-btn-3d:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .auth-brand-text {
        font-size: 1.35rem;
    }

    .auth-form-card {
        border-radius: 1.1rem;
    }

    .auth-form-card__inner {
        padding: 1.25rem !important;
    }

    .auth-heading {
        font-size: 1.45rem;
    }

    .auth-bg-orb--1 { width: 12rem; height: 12rem; }
    .auth-bg-orb--2 { width: 14rem; height: 14rem; }

    .auth-actions-row {
        flex-direction: column;
        text-align: center;
    }

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

/* Register — live field hints */
.auth-field-live-hint {
    min-height: 1.25rem;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--auth-muted);
}

.auth-field-live-hint--checking { color: var(--auth-indigo); }
.auth-field-live-hint--available,
.auth-field-live-hint--found,
.auth-field-live-hint--valid { color: #047857; }
.auth-field-live-hint--taken,
.auth-field-live-hint--invalid,
.auth-field-live-hint--not_found { color: #be123c; }
.auth-field-live-hint--empty { color: #94a3b8; }

.auth-field-live-input--ok {
    border-color: rgba(16, 185, 129, 0.45) !important;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03), 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
}

.auth-field-live-input--bad {
    border-color: rgba(244, 63, 94, 0.45) !important;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03), 0 0 0 3px rgba(244, 63, 94, 0.1) !important;
}

/* Register — placement preview */
.auth-placement-live-panel {
    margin-top: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    background: linear-gradient(165deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(240, 249, 255, 0.9) 100%);
    border: 1.5px dashed rgba(14, 165, 233, 0.28);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 20px -12px rgba(14, 165, 233, 0.2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-placement-live-panel--ready {
    border-style: solid;
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(165deg, rgba(236, 253, 245, 0.95) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(240, 253, 244, 0.9) 100%);
}

.auth-placement-live-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

.auth-placement-live-panel__title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--auth-primary-deep);
}

.auth-placement-live-panel__status {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--auth-muted);
    background: rgba(148, 163, 184, 0.12);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
}

.auth-placement-live-panel--ready .auth-placement-live-panel__status {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

.auth-placement-live-panel__hint,
.auth-placement-live-message {
    font-size: 0.8125rem;
    color: var(--auth-muted);
    line-height: 1.5;
}

.auth-placement-live-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.auth-placement-live-card {
    padding: 0.65rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.auth-placement-live-card--success {
    border-color: rgba(16, 185, 129, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.9) 100%);
}

.auth-placement-live-card--danger {
    border-color: rgba(244, 63, 94, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 241, 242, 0.9) 100%);
}

.auth-placement-live-card__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.auth-placement-live-card__value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.auth-placement-live-card__meta {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--auth-muted);
}

.auth-placement-live-badge {
    display: inline-flex;
    margin-left: 0.35rem;
    padding: 0.08rem 0.4rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--auth-primary-deep);
}

.auth-placement-live-resolved {
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.16);
    font-size: 0.8125rem;
    color: #334155;
}

.auth-placement-live-resolved__label {
    font-weight: 700;
    color: var(--auth-primary-deep);
}

.auth-placement-live-legs__title,
.auth-placement-live-parent__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.auth-placement-live-legs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.auth-placement-leg {
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.85);
}

.auth-placement-leg--open {
    border-color: rgba(16, 185, 129, 0.24);
    background: rgba(240, 253, 244, 0.9);
}

.auth-placement-leg--occupied {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(248, 250, 252, 0.9);
}

.auth-placement-leg--selected {
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.42);
}

.auth-placement-leg__side {
    display: block;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--auth-muted);
    margin-bottom: 0.1rem;
}

.auth-placement-leg__value {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
}

.auth-placement-live-parent {
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.6rem;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.5) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(14, 165, 233, 0.16);
}

.auth-placement-live-level {
    margin-bottom: 0.65rem;
    font-size: 0.8125rem;
    color: var(--auth-muted);
}

.auth-placement-radios .form-check-input:checked {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
}

/* Register — password tools */
.auth-password-block {
    padding: 1rem;
    border-radius: 0.85rem;
    background: linear-gradient(165deg, rgba(255, 251, 235, 0.65) 0%, rgba(255, 255, 255, 0.5) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.auth-pw-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.auth-pw-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.auth-pw-tool-btn:hover { transform: translateY(-1px); }
.auth-pw-tool-btn:active { transform: translateY(1px); }

.auth-pw-tool-btn--generate {
    border: 1px solid rgba(14, 165, 233, 0.35);
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
    color: var(--auth-primary-deep);
    box-shadow: 0 2px 0 #7dd3fc;
}

.auth-pw-tool-btn--toggle {
    border: 1px solid rgba(20, 184, 166, 0.35);
    background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
    color: #0f766e;
    box-shadow: 0 2px 0 #99f6e4;
}

.auth-pw-tool-btn--toggle[aria-pressed="true"] {
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: #0f766e;
    color: #fff;
}

.auth-pw-tool-btn--copy {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    color: #b45309;
    box-shadow: 0 2px 0 #fde68a;
}

.auth-pw-generated {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.6rem;
    background: linear-gradient(165deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.auth-pw-generated__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--auth-primary-deep);
}

.auth-pw-generated__value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #075985;
    word-break: break-all;
    background: transparent;
    padding: 0;
}
