/* ── Design System ─────────────────────────────── */
:root {
  --cs-accent:       #ea580c;
  --cs-accent-dark:  #c2410c;
  --cs-accent-light: #fff7ed;
  --cs-dark:         #1e293b;
  --cs-darker:       #0f172a;
  --cs-surface:      #f8fafc;
  --cs-border:       #e2e8f0;
  --cs-text:         #0f172a;
  --cs-text-muted:   #64748b;
  --cs-radius:       12px;
  --cs-radius-sm:    8px;
}

html, body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: var(--cs-text);
    background: #f1f5f9;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a, .btn-link {
    color: var(--cs-accent);
}

a:hover { color: var(--cs-accent-dark); }

.btn-primary {
    color: #fff;
    background-color: var(--cs-accent);
    border-color: var(--cs-accent);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--cs-radius-sm);
    transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background-color: var(--cs-accent-dark); border-color: var(--cs-accent-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
  outline: none;
}

.form-control {
    border: 1.5px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: white;
}
.form-control:focus {
    border-color: var(--cs-accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    color-scheme: light only;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ── Auth Pages (Login / Register) ─────────────── */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 40px;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
}

.auth-brand {
    text-align: center;
    margin-bottom: 32px;
    animation: authFadeDown 0.5s ease-out both;
}

.auth-brand-icon {
    font-size: 2.8rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(234,88,12,0.5));
    animation: authIconPulse 3s ease-in-out infinite;
}

.auth-brand-name {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.auth-brand-tagline {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    animation: authFadeUp 0.45s ease-out 0.1s both;
}

.auth-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cs-darker);
    margin: 0 0 4px;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--cs-text-muted);
    margin: 0 0 24px;
}

.auth-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: var(--cs-radius-sm);
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cs-darker);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--cs-accent);
    color: white;
    border: none;
    border-radius: var(--cs-radius-sm);
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(234,88,12,0.35);
}
.auth-submit-btn:hover  { background: var(--cs-accent-dark); box-shadow: 0 6px 20px rgba(234,88,12,0.45); }
.auth-submit-btn:active { transform: scale(0.98); }

.auth-switch {
    text-align: center;
    margin: 20px 0 0;
    font-size: 0.875rem;
    color: var(--cs-text-muted);
}
.auth-switch a { color: var(--cs-accent); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

@keyframes authFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes authFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes authIconPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(234,88,12,0.5)); }
    50%       { filter: drop-shadow(0 0 22px rgba(234,88,12,0.8)); }
}

/* ── Progress Bar fix ──────────────────────────── */

/* ===== Chat Components ===== */

.chat-window {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 400px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    word-wrap: break-word;
}

.user-message {
    align-self: flex-end;
    background-color: var(--cs-accent);
    color: #fff;
}

.assistant-message {
    align-self: flex-start;
    background-color: #f0f0f0;
    color: #333;
}

.message-role {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

.message-content {
    white-space: pre-wrap;
    line-height: 1.5;
}

.markdown-content {
    white-space: normal;
}

.markdown-content p {
    margin: 0 0 0.5rem;
}

.markdown-content p:last-child {
    margin-bottom: 0;
}

.markdown-content code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.markdown-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 0.5rem 0;
}

.markdown-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.85em;
}

.markdown-content ul, .markdown-content ol {
    margin: 0.25rem 0;
    padding-left: 1.5rem;
}

.markdown-content strong {
    font-weight: 600;
}

.markdown-content blockquote {
    border-left: 3px solid #6366f1;
    padding-left: 0.75rem;
    margin: 0.5rem 0;
    color: #555;
}

.typing-indicator {
    font-style: italic;
    opacity: 0.7;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    background: #fff;
}

.chat-input textarea {
    flex: 1;
    resize: none;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.chat-input textarea:focus {
    outline: none;
    border-color: var(--cs-accent);
    box-shadow: 0 0 0 3px rgba(234,88,12,0.15);
}

.chat-input button {
    align-self: flex-end;
}

/* ===== Session Page ===== */

.session-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.session-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.session-header h2 {
    margin: 0;
}

.phase-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.phase-badge.socratic {
    background-color: #e8f4fd;
    color: #1b6ec2;
}

.phase-badge.quiz {
    background-color: #fff3cd;
    color: #856404;
}

.phase-badge.completed {
    background-color: #d4edda;
    color: #155724;
}

.grade-result {
    margin-bottom: 1rem;
}

/* ===== Track View ===== */

.track-view .topic-card {
    transition: box-shadow 0.15s;
}

.track-view .topic-card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}

.lock-icon {
    opacity: 0.5;
}

.track-view .topic-card.locked {
    background-color: #f8f9fa;
    color: #6c757d;
}

.track-view .topic-card.locked h5 {
    color: #6c757d;
}

.topic-number {
    font-weight: 600;
    color: #6366f1;
    font-size: 0.95rem;
    min-width: 1.5rem;
}

/* ===== Grade Badges ===== */

.grade-badge { padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.badge-mastered { background: #ffd700; color: #333; }
.badge-solid { background: #28a745; color: white; }
.badge-developing { background: #ffc107; color: #333; }
.badge-needswork { background: #dc3545; color: white; }
.badge-ungraded { background: #6c757d; color: white; }

/* ===== Progress Bar ===== */

.progress-bar-container { position: relative; background: #e9ecef; border-radius: 99px; height: 8px; margin: 8px 0 4px; overflow: hidden; }
.progress-bar-fill { background: linear-gradient(90deg, var(--cs-accent) 0%, #f97316 100%); border-radius: 99px; height: 100%; transition: width 0.5s ease; }
.progress-text { font-size: 0.75rem; font-weight: 500; color: var(--cs-text-muted); margin-top: 4px; }

/* ===== Progression Mode Selector ===== */

.progression-mode {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.progression-mode label {
    font-weight: 600;
    margin-bottom: 0;
}

.progression-mode select {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
}

/* ===== Streak Banner ===== */

.streak-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #1a1a2e;
    color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.streak-flame {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 2rem;
}

.streak-flame.active .flame-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

.streak-flame.inactive {
    opacity: 0.5;
    filter: grayscale(1);
}

.streak-count {
    font-size: 2.5rem;
    font-weight: 800;
}

.streak-details {
    display: flex;
    flex-direction: column;
}

.streak-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.streak-longest {
    font-size: 0.85rem;
    opacity: 0.7;
}

.streak-banner.milestone {
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    animation: celebrate 0.5s ease-out;
}

.milestone-message {
    margin-left: auto;
    font-weight: 700;
    font-size: 1rem;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes celebrate {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Web Sidebar Layout ===== */

.web-layout {
    display: flex;
    min-height: 100vh;
}

.web-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--cs-darker);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    position: sticky;
    top: 0;
    height: 100vh;
}

.web-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.web-sidebar-icon { font-size: 1.4rem; }

.web-sidebar-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    letter-spacing: -0.02em;
}

.web-nav-links {
    list-style: none;
    margin: 0;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.web-nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--cs-radius-sm);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.web-nav-links a:hover {
    background: rgba(255,255,255,0.06);
    color: white;
}

.web-nav-links a.active {
    background: var(--cs-accent);
    color: white;
}

.web-main {
    flex: 1;
    min-width: 0;
    padding: 32px;
    max-width: 900px;
}

/* ===== Dashboard ===== */

.dashboard { max-width: 800px; margin: 0 auto; }
.track-cards { display: grid; gap: 1rem; margin-bottom: 2rem; }
.track-card { padding: 1.5rem; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.2s; }
.track-card:hover { transform: translateY(-2px); }
.recent-sessions { display: flex; flex-direction: column; gap: 0.5rem; }
.recent-session-item { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; background: white; border-radius: 8px; cursor: pointer; }
.recent-session-item:hover { background: #f5f5f5; }
.session-topic { flex: 1; font-weight: 500; }
.session-date { font-size: 0.85rem; color: #666; }

/* ===== Landing Page ===== */

.landing-page {
    min-height: 100vh;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    overflow-y: auto;
}

.landing-hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 600px;
    margin: 0 auto;
}

.landing-hero .auth-brand {
    margin-bottom: 24px;
}

.landing-hero-desc {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 32px;
}

.landing-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.landing-cta-btn {
    display: inline-block;
    max-width: 280px;
    text-align: center;
    text-decoration: none;
    font-size: 1.05rem;
}

.landing-cta-btn:hover {
    color: white;
    text-decoration: none;
}

.landing-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px;
}

.landing-section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.landing-step-card {
    background: white;
    border-radius: var(--cs-radius);
    padding: 28px 24px;
    text-align: center;
}

.landing-step-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    margin: 12px 0 8px;
    color: var(--cs-darker);
}

.landing-step-card p {
    font-size: 0.88rem;
    color: var(--cs-text-muted);
    margin: 0;
    line-height: 1.5;
}

.landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cs-accent);
    color: white;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.landing-feature {
    display: flex;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--cs-radius);
    padding: 20px;
}

.landing-feature-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.landing-feature strong {
    color: white;
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.landing-feature p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.landing-final-cta {
    text-align: center;
    padding: 60px 24px 80px;
}

.landing-final-cta h2 {
    font-family: 'Syne', sans-serif;
    color: white;
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.landing-research {
    text-align: center;
    max-width: 640px;
}

.landing-research-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.landing-research-text strong {
    color: white;
}

.landing-tracks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.landing-track-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--cs-radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.08);
}

.landing-track-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.landing-track-emoji {
    font-size: 1.5rem;
}

.landing-track-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    color: white;
    margin: 0;
}

.landing-track-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0 0 12px;
    line-height: 1.5;
}

.landing-track-topics {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.6;
}

.landing-final-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

@media (max-width: 700px) {
    .landing-steps { grid-template-columns: 1fr; }
    .landing-features { grid-template-columns: 1fr; }
    .landing-tracks { grid-template-columns: 1fr; }
    .landing-hero { padding: 60px 20px 40px; }
}

/* ===== Sidebar Logout ===== */

.web-nav-logout {
    margin-top: auto;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.web-nav-logout a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--cs-radius-sm);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.web-nav-logout a:hover {
    background: rgba(255,255,255,0.06);
    color: #ef4444;
}