/* ============================================================
   NOT FOUND (404) PAGES
   .nf-*           → unauthenticated dark 404 (rendered by App.razor)
   .nf-dash-*      → authenticated light 404 (rendered by DashboardLayout)
   ============================================================ */

/* ── Dark 404 (unauthenticated) ─────────────────────────────── */

.nf-page {
    min-height: 100vh;
    background: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: Inter, 'Segoe UI', sans-serif;
}

.nf-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 480px;
}

.nf-code {
    font-size: clamp(6rem, 20vw, 9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
}

.nf-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F9FAFB;
    margin: 0;
    letter-spacing: -0.02em;
}

.nf-desc {
    font-size: 1rem;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.6;
}

.nf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #6366F1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.nf-btn:hover {
    background: #4F46E5;
    transform: translateY(-1px);
}

.nf-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.nf-logo-img {
    width: 32px;
    height: 32px;
}

.nf-logo-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #F9FAFB;
}

/* ── Light 404 (authenticated / dashboard) ───────────────────── */

.nf-dash-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 2rem;
}

.nf-dash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    max-width: 480px;
}

.nf-dash-code {
    font-size: clamp(5rem, 16vw, 8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
}

.nf-dash-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
}

.nf-dash-desc {
    font-size: 0.9375rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

.nf-dash-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.nf-dash-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #6366F1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.nf-dash-btn-primary:hover {
    background: #4F46E5;
}

.nf-dash-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.nf-dash-btn-ghost:hover {
    background: #F9FAFB;
    color: #111827;
}
