@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #032748;
    --secondary-color: #f8f9fa;

    /* Pix-up Design System */
    --ink: #0A1F44;
    --ink-muted: #4B5563;
    --ink-subtle: #9CA3AF;
    --canvas: #F8FAFC;
    --border: #E5E7EB;
    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --accent-light: #EDE9FE;
    --accent-2: #00B5E2;
    --accent-3: #FFD100;
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-accent: 0 8px 24px rgba(124, 58, 237, 0.35);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #032748;
}

.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #4b5563;
    transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: #e5e7eb;
    color: var(--primary-color);
}

.sidebar-link.active {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-link i {
    width: 20px;
    margin-right: 12px;
}

.result-image {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.result-image:hover {
    transform: scale(1.02);
}

.result-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f3f4f6;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Watermark overlay for unpurchased images */
.result-image.not-purchased::after,
.modal-image-container.not-purchased::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/Logo_Square@4x.png');
    background-repeat: repeat;
    background-size: 100px auto;
    background-position: center;
    opacity: 0.25;
    pointer-events: none;
}

.modal-image-container {
    position: relative;
    display: inline-block;
}

/* Protect modal image */
#modal-result-image {
    user-select: none;
    -webkit-user-drag: none;
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 1rem;
    color: white;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-completed { background: #d1fae5; color: #6B7280; }
.status-processing { background: #fef3c7; color: #6B7280; }
.status-pending { background: #e5e7eb; color: #4b5563; }
.status-failed { background: #fee2e2; color: #6B7280; }

.credit-package {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.credit-package:hover {
    border-color: var(--primary-color);
    
}

.credit-package.popular {
    border-color: var(--primary-color);
    position: relative;
}

.credit-package.popular::before {
    content: 'Populair';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Auth screens */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #032748;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover:not(.active) {
    color: #374151;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Fix header height on mobile */
    nav.fixed {
        min-height: auto;
    }
    
    /* Main content full width on mobile */
    main.flex-1 {
        margin-left: 0 !important;
        padding: 1rem;
    }
    
    /* Result images smaller on mobile */
    .result-image img {
        height: 150px;
    }
    
    /* Cards padding on mobile */
    .card {
        padding: 1rem;
    }
    
    /* Generator widget mobile fixes */
    .widget-mode-btn,
    .widget-product-submode-btn {
        padding: 0.75rem;
    }
}

/* Mobile auth bar styling */
.mobile-auth-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

@media (max-width: 640px) {
    .mobile-auth-bar .separator {
        display: none;
    }
}

/* Force mobile menu and button to be hidden on desktop */
@media (min-width: 768px) {
    #mobile-menu-portal,
    #mobile-menu-btn-portal {
        display: none !important;
    }
}

/* Mobile menu styling - ensure links don't overlap with header elements */
#mobile-menu-portal {
    position: relative;
    z-index: 40;
}

#mobile-menu-portal .sidebar-link {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 41;
}

/* Prevent horizontal overflow on mobile */
@media (max-width: 640px) {
    main.flex-1 {
        overflow-x: hidden;
        max-width: 100vw;
    }

    #section-results,
    #section-overview,
    #section-credits,
    #section-history,
    #section-settings,
    #section-generator {
        overflow-x: hidden;
    }

    /* Result cards responsive */
    #all-results .card {
        min-width: 0;
    }
}

/* Mobile App-like Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    z-index: 50;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    color: #6b7280;
    font-size: 0.65rem;
    transition: color 0.2s;
    text-decoration: none;
}

.mobile-bottom-nav a i {
    font-size: 1.25rem;
}

.mobile-bottom-nav a.active {
    color: var(--primary-color);
}

.mobile-bottom-nav a:hover {
    color: var(--primary-color);
}

/* Add bottom button (center prominent) */
.mobile-bottom-nav .add-btn {
    background: var(--primary-color);
    color: white !important;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(3, 39, 72, 0.3);
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 !important;
}

.mobile-bottom-nav .add-btn i {
    font-size: 1.5rem;
}

.mobile-bottom-nav .add-btn span {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to main content to avoid bottom nav overlap */
    main.flex-1 {
        padding-bottom: 100px !important;
    }

    /* Hide footer on mobile - bottom nav replaces it */
    footer.bg-gray-800 {
        display: none !important;
    }

    /* Hide top mobile menu button when bottom nav is visible */
    #mobile-menu-btn-portal {
        display: none !important;
    }

    #mobile-menu-portal {
        display: none !important;
    }
}

/* Mobile Results Grid - Smaller thumbnails for app-like feel */
@media (max-width: 640px) {
    #all-results {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    #all-results .card {
        padding: 0 !important;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    #all-results .result-image img {
        height: 120px !important;
        border-radius: 0 !important;
    }

    /* Hide text on mobile result cards, show only thumbnail */
    #all-results .result-overlay {
        padding: 0.5rem;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }

    #all-results .result-overlay p {
        font-size: 0.65rem !important;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Status badge smaller on mobile */
    #all-results .status-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }
}

/* Overview cards more compact on mobile */
@media (max-width: 640px) {
    #section-overview .grid {
        gap: 0.75rem;
    }

    #section-overview .card {
        padding: 0.75rem !important;
    }

    #section-overview .card h3 {
        font-size: 0.875rem;
    }

    #section-overview .card .text-3xl {
        font-size: 1.5rem !important;
    }
}

/* Mobile modal improvements - full screen on small devices */
@media (max-width: 768px) {
    /* Result modal full screen on mobile */
    #result-modal > div:last-child {
        position: fixed !important;
        inset: 0 !important;
        border-radius: 0 !important;
        max-height: 100vh !important;
    }

    /* Edit modal full screen on mobile */
    #edit-image-modal > div:last-child {
        position: fixed !important;
        inset: 0 !important;
        border-radius: 0 !important;
        max-height: 100vh !important;
    }

    /* Billing modal more padding on mobile */
    #billing-modal > div:last-child {
        position: fixed !important;
        top: 2rem !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        bottom: 2rem !important;
        border-radius: 0.75rem !important;
        max-height: calc(100vh - 4rem) !important;
    }

    /* Confirm modals centered with more padding */
    #delete-job-modal > div:last-child,
    #confirm-modal > div:last-child,
    #delete-account-modal > div:last-child {
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        max-width: calc(100vw - 2rem) !important;
    }
}

/* Extra small screens (< 400px) - ensure all buttons visible */
@media (max-width: 400px) {
    /* Result modal - stack footer items vertically */
    #result-modal .flex.flex-col {
        gap: 0.5rem;
    }

    /* Ensure delete button is always visible */
    #modal-delete-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: auto;
    }

    /* Make folder select smaller */
    #modal-folder-select {
        max-width: 90px;
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    /* Smaller action buttons */
    #result-modal button {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.75rem;
    }

    /* Smaller download buttons */
    #modal-download-btn,
    #modal-download-4k-btn,
    #modal-reroll-btn,
    #modal-edit-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }

    /* Hide long button text on very small screens */
    #modal-download-btn-text,
    #modal-download-4k-text,
    .pricing-reroll,
    .pricing-edit {
        display: none;
    }

    /* Show only icons for action buttons */
    #modal-download-btn i,
    #modal-download-4k-btn i,
    #modal-reroll-btn i,
    #modal-edit-btn i {
        margin-right: 0;
    }
}

/* Force modals to be on top of everything including header/footer/mobile-nav */
#edit-image-modal,
#result-modal,
#confirm-modal,
#delete-job-modal,
#billing-modal,
#bug-report-modal,
#delete-account-modal {
    z-index: 99999 !important;
    isolation: isolate;
}

/* Reroll variation buttons */
.reroll-variation-btn {
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.reroll-variation-btn:hover {
    border-color: #032748;
}

.reroll-variation-btn.active {
    border-color: #032748;
    background: #f0f4f8;
}

/* ========================
   Pix-up Landing Page CSS
   ======================== */

/* Announcement bar */
.announce-bar {
    background: var(--ink);
    color: rgba(255,255,255,0.85);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.announce-bar .badge {
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.announce-bar strong { color: white; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.navbar-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.navbar-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.navbar-links a:hover { color: var(--ink); background: var(--canvas); }
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Ghost + primary buttons for landing */
.btn-ghost {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-ghost:hover { background: var(--canvas); }

a.btn-primary,
.navbar .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    background: var(--ink);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
a.btn-primary:hover,
.navbar .btn-primary:hover { background: #1a3a6b; }

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats bar */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: white;
}
.stat-item {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 28px 24px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--ink-muted); font-weight: 500; }

/* Section headers */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-subtle);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.15;
}

/* Workflow steps */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}
.workflow-step-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-subtle);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.workflow-step-icon { font-size: 20px; color: var(--ink-subtle); margin-bottom: 12px; }
.workflow-step h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.workflow-step p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* Bento grid items */
.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--canvas);
}
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,15,0.75) 0%, rgba(5,5,15,0.2) 45%, transparent 80%);
    z-index: 2;
    pointer-events: none;
}
.bento-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}
.bento-label h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 4px; }
.bento-label p  { font-size: 13px; color: rgba(255,255,255,0.75); }
.bento-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    background: rgba(10,31,68,0.75);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* BA (before/after) labels */
.ba-label {
    position: absolute;
    top: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    padding: 3px 8px;
    border-radius: 100px;
    z-index: 9;
}
.ba-label.voor { right: calc(50% + 10px); background: rgba(0,0,0,0.5); }
.ba-label.na   { left:  calc(50% + 10px); background: rgba(124,58,237,0.75); }

/* CTA band */
.cta-band {
    background: var(--ink);
    padding: 80px 24px;
    text-align: center;
}
.cta-band h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
}
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.cta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.cta-badge::before { content: '• '; }
.cta-band .btn-primary {
    background: white !important;
    color: var(--ink) !important;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 12px;
}
.cta-band .btn-primary:hover { background: var(--canvas) !important; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.popular { border-color: var(--accent); }
.pricing-card .popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 900; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--ink-muted); }
.pricing-credits { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-features li {
    font-size: 14px;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--accent-2); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn-primary { width: 100%; justify-content: center; padding: 12px; border-radius: 10px; }

/* Site footer */
.site-footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
}
.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.site-footer-links { display: flex; gap: 24px; }
.site-footer-links a { font-size: 13px; color: var(--ink-muted); text-decoration: none; transition: var(--transition); }
.site-footer-links a:hover { color: var(--ink); }
.site-footer-copy { font-size: 13px; color: var(--ink-subtle); }

/* Portal redesign sidebar */
.app-sidebar {
    width: 200px;
    min-width: 200px;
    background: white;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 20px 12px;
    height: 100vh;
    position: sticky;
    top: 0;
}
.app-sidebar .sidebar-logo { padding: 8px 8px 24px; }
.app-sidebar .nav-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--ink-subtle);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 10px;
    margin-bottom: 4px;
    margin-top: 16px;
}
.app-sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.app-sidebar .nav-item:hover { background: var(--canvas); color: var(--ink); }
.app-sidebar .nav-item.active { background: var(--ink); color: white; }
.app-sidebar .nav-item.active i { color: white; }
.app-sidebar .nav-item i { width: 16px; font-size: 14px; }
.app-sidebar .sidebar-credits {
    margin-top: auto;
    background: var(--canvas);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.app-sidebar .sidebar-credits .credits-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--ink-subtle);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.app-sidebar .sidebar-credits .credits-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 12px;
}
.app-sidebar .sidebar-credits .credits-value sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
    vertical-align: baseline;
}
.btn-upgrade {
    display: block;
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-upgrade:hover { background: #1a3a6b; }
.app-sidebar .nav-item.logout { color: #EF4444; }
.app-sidebar .nav-item.logout:hover { background: #FEF2F2; color: #DC2626; }
