/* Auth utility shell (forgot/reset/2FA/verify/confirm) — static, no Vite build needed */
[x-cloak] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #070a16; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; color: #f8fafc; }
a { color: #18e7ff; }
/* Tailwind utility shims used by the Jetstream components */
.min-h-screen { min-height: 100vh; min-height: 100dvh; } .flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-end { justify-content: flex-end; } .justify-between { justify-content: space-between; } .inline-flex { display: inline-flex; } .block { display: block; } .w-full { width: 100%; } .px-4 { padding-left: 16px; padding-right: 16px; } .py-8 { padding-top: 32px; padding-bottom: 32px; } .px-6 { padding-left: 24px; padding-right: 24px; } .py-5 { padding-top: 20px; padding-bottom: 20px; } .px-4.py-2 { padding: 8px 16px; } .mt-1 { margin-top: 4px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mb-4 { margin-bottom: 16px; } .ml-3 { margin-left: 12px; } .ms-3 { margin-inline-start: 12px; } .overflow-hidden { overflow: hidden; } .text-sm { font-size: 14px; line-height: 1.6; } .text-xs { font-size: 12px; } .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .list-disc { list-style: disc; } .list-inside { list-style-position: inside; } .uppercase { text-transform: uppercase; } .tracking-widest { letter-spacing: .1em; } .underline { text-decoration: underline; } .w-16 { width: 64px; } .h-16 { height: 64px; } .rounded-md { border-radius: 6px; } .shadow-sm { box-shadow: none; }
@media (min-width: 640px) { .sm\:justify-center { justify-content: center; } .sm\:max-w-md { max-width: 28rem; } }


[x-cloak] {
    display: none;
}

.auth-utility-shell {
    background:
        radial-gradient(circle at 16% 18%, rgba(24, 231, 255, .16), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(124, 92, 255, .20), transparent 32%),
        linear-gradient(135deg, #070a16 0%, #090d1d 48%, #120b24 100%);
    color: #f8fafc;
}

.auth-utility-logo svg {
    filter: drop-shadow(0 0 18px rgba(24, 231, 255, .16));
}

.auth-utility-card {
    background: linear-gradient(180deg, rgba(17, 24, 47, .94), rgba(8, 12, 29, .98));
    border: 1px solid rgba(151, 164, 204, .16);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
    color: #f8fafc;
}

.auth-utility-card .text-gray-600,
.auth-utility-card .text-gray-700,
.auth-utility-card .text-gray-800,
.auth-utility-card .text-gray-900 {
    color: #cbd5e1 !important;
}

.auth-utility-card .text-green-600 {
    color: #31f6a0 !important;
}

.auth-utility-card .text-red-600 {
    color: #ff8bdc !important;
}

.auth-utility-card .form-label,
.auth-utility-card label {
    color: #f8fafc !important;
}

.auth-utility-card .form-control,
.auth-utility-card input[type="email"],
.auth-utility-card input[type="password"],
.auth-utility-card input[type="text"] {
    background: rgba(6, 10, 28, .78) !important;
    border: 1px solid rgba(151, 164, 204, .18) !important;
    color: #f8fafc !important;
    border-radius: 14px !important;
}

.auth-utility-card input:focus {
    border-color: rgba(24, 231, 255, .72) !important;
    box-shadow: 0 0 0 4px rgba(24, 231, 255, .14) !important;
}

.auth-utility-card .btn,
.auth-utility-card button[type="submit"] {
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #18e7ff, #31f6a0) !important;
    color: #04111b !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 30px rgba(24, 231, 255, .14) !important;
}

.auth-utility-card,
.auth-utility-logo,
.auth-utility-card form,
.auth-utility-card > * {
    animation: authUtilityReveal .34s cubic-bezier(.16, 1, .3, 1) both;
}

.auth-utility-card form { animation-delay: 35ms; }

.auth-utility-card,
.auth-utility-card input,
.auth-utility-card button,
.auth-utility-card a {
    transition:
        transform 180ms cubic-bezier(.22, 1, .36, 1),
        border-color 180ms cubic-bezier(.22, 1, .36, 1),
        box-shadow 180ms cubic-bezier(.22, 1, .36, 1),
        background 180ms cubic-bezier(.22, 1, .36, 1),
        color 180ms cubic-bezier(.22, 1, .36, 1) !important;
}

.auth-utility-card:hover,
.auth-utility-card button:hover,
.auth-utility-card a:hover {
    transform: translateY(-1px);
}

.auth-utility-card button:active {
    transform: scale(.985);
}

.auth-utility-card input:focus {
    transform: none;
}

@keyframes authUtilityReveal {
    from {
        opacity: .72;
        transform: translateY(8px) scale(.997);
        filter: none;
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.two-factor-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(151, 164, 204, .18);
    border-radius: 999px;
    background: rgba(17, 24, 47, .58);
    color: #f8fafc;
    text-decoration: none;
}

.two-factor-brand-orb {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #18e7ff, #7c5cff);
    box-shadow: 0 0 22px rgba(24, 231, 255, .18);
    color: #04111b;
    font-weight: 900;
}

.two-factor-brand strong,
.two-factor-brand small {
    display: block;
    line-height: 1.1;
}

.two-factor-brand strong {
    font-size: 13px;
    letter-spacing: -.01em;
}

.two-factor-brand small {
    margin-top: 3px;
    color: #98a6c7;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.auth-utility-card.two-factor-card {
    max-width: 560px !important;
    padding: 0 !important;
    background:
        radial-gradient(420px 240px at 100% 0%, rgba(124, 92, 255, .16), transparent 62%),
        linear-gradient(180deg, rgba(17, 24, 47, .95), rgba(8, 12, 29, .99));
}

.two-factor-panel {
    padding: 30px;
}

.two-factor-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #98a6c7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.two-factor-eyebrow span,
.two-factor-note span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31f6a0;
    box-shadow: 0 0 16px rgba(49, 246, 160, .22);
}

.two-factor-panel h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(30px, 7vw, 44px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.055em;
}

.two-factor-copy {
    margin: 12px 0 22px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.two-factor-errors {
    margin-bottom: 18px;
    border: 1px solid rgba(255, 95, 215, .26);
    border-radius: 16px;
    background: rgba(255, 95, 215, .10);
    padding: 12px 14px;
    color: #ffd6f5 !important;
    font-size: 13px;
}

.two-factor-errors ul {
    margin: 0;
    padding-left: 18px;
}

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

.two-factor-field label {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc !important;
    font-size: 13px;
    font-weight: 800;
}

.two-factor-input-wrap {
    position: relative;
}

.two-factor-input-wrap > span {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #98a6c7;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-utility-card .two-factor-input {
    min-height: 52px;
    padding-left: 46px !important;
    border-radius: 16px !important;
    font-weight: 800;
    letter-spacing: .16em;
}

.auth-utility-card #recovery_code.two-factor-input {
    letter-spacing: .02em;
}

.two-factor-field small {
    display: block;
    margin-top: 8px;
    color: #98a6c7;
    font-size: 12px;
    line-height: 1.45;
}

.two-factor-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.two-factor-switch {
    min-height: 44px;
    border: 1px solid rgba(151, 164, 204, .18);
    border-radius: 999px;
    background: rgba(6, 10, 28, .42);
    color: #cbd5e1 !important;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.auth-utility-card .two-factor-submit {
    min-height: 46px;
    border-radius: 999px !important;
    padding: 11px 18px !important;
    font-size: 12px !important;
    letter-spacing: .08em;
}

.two-factor-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 22px;
    border: 1px solid rgba(49, 246, 160, .16);
    border-radius: 18px;
    background: rgba(49, 246, 160, .06);
    padding: 14px;
    color: #98a6c7;
    font-size: 12.5px;
    line-height: 1.55;
}

@media (max-width: 520px) {
    .auth-utility-card.two-factor-card {
        max-width: calc(100vw - 24px) !important;
    }

    .two-factor-panel {
        padding: 24px;
    }

    .two-factor-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .two-factor-switch,
    .auth-utility-card .two-factor-submit {
        width: 100%;
        justify-content: center;
    }
}

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

    .auth-utility-card,
    .auth-utility-logo,
    .auth-utility-card form,
    .auth-utility-card > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ---------- Shell polish (matches login.blade.php) ---------- */
.auth-utility-shell {
    position: relative;
    padding-top: calc(32px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(780px 520px at 12% 8%, rgba(24, 231, 255, .18), transparent 62%),
        radial-gradient(740px 500px at 88% 12%, rgba(124, 92, 255, .24), transparent 62%),
        radial-gradient(720px 520px at 50% 100%, rgba(49, 246, 160, .10), transparent 62%),
        #070a16;
}
.auth-utility-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .82), transparent 72%);
}
.auth-utility-logo, .auth-utility-card { position: relative; z-index: 1; }
.auth-utility-card { padding: 28px !important; max-width: 480px; }
.auth-utility-card p, .auth-utility-card .text-sm { color: #cbd5e1; line-height: 1.65; }
.auth-utility-card label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 750; }
.auth-utility-card .form-control,
.auth-utility-card input[type="email"],
.auth-utility-card input[type="password"],
.auth-utility-card input[type="text"] {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    font: inherit;
    font-size: 16px;
    outline: 0;
}
.auth-utility-card input::placeholder { color: rgba(152, 166, 199, .66); }
.auth-utility-card .btn,
.auth-utility-card button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px !important;
    font-size: 14px !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
    cursor: pointer;
}
.auth-utility-card .flex.justify-end .btn,
.auth-utility-card .flex.justify-end button[type="submit"] { width: 100%; }
.auth-utility-card a:not(.btn) { color: #18e7ff; font-weight: 700; text-decoration: none; }
.auth-utility-card .text-red-600 ul { margin: 8px 0 0; padding-left: 18px; }

/* Brand header (replaces the default Jetstream mark) */
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(151, 164, 204, .18);
    border-radius: 999px;
    background: rgba(17, 24, 47, .58);
    color: #f8fafc;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -.01em;
}
.auth-brand-orb {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #18e7ff, #7c5cff);
    box-shadow: 0 0 22px rgba(24, 231, 255, .18);
    color: #04111b;
    font-weight: 900;
}
.auth-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 10px;
    text-align: center;
    color: #98a6c7;
    font-size: 13px;
    text-decoration: none;
}
.auth-back:hover { color: #18e7ff; }

@media (max-width: 560px) {
    .auth-utility-shell { padding-left: 12px; padding-right: 12px; justify-content: flex-start; }
    .auth-utility-card { padding: 22px !important; border-radius: 24px; }
    .auth-utility-card:hover { transform: none; }
    .auth-utility-card .two-factor-input { font-size: 18px !important; }
}

/* Terms / policy prose */
.auth-utility-card.auth-prose { max-width: 760px; color: #cbd5e1; line-height: 1.7; font-size: 15px; }
.auth-prose h1, .auth-prose h2, .auth-prose h3 { color: #f8fafc; letter-spacing: -.02em; margin: 1.2em 0 .5em; }
.auth-prose h1 { font-size: 26px; margin-top: 0; }
.auth-prose h2 { font-size: 20px; }
.auth-prose p, .auth-prose ul, .auth-prose ol { margin: 0 0 1em; }
.auth-prose a { color: #18e7ff; }
.auth-title { margin: 0 0 8px; font-size: clamp(24px, 6vw, 30px); font-weight: 900; letter-spacing: -.04em; color: #f8fafc; }
.auth-actions { display: grid; gap: 14px; }
.auth-actions form:first-child button { width: 100%; }
.auth-actions > div { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.auth-actions > div a, .auth-actions > div button { display: inline-flex; align-items: center; min-height: 40px; background: none; border: 0; padding: 0 !important; color: #98a6c7 !important; font: inherit; font-size: 13px !important; text-decoration: none !important; box-shadow: none !important; }
.auth-actions > div a:hover, .auth-actions > div button:hover { color: #18e7ff !important; }
