/* CSS Variables - Floggy Theme */
:root {
    /* ============================================
       BRAND PALETTE - MyFLog Brand Guide
       Floggy the Frog Theme
       ============================================ */
    --flog-green: #2D5016;          /* Flog Green - Primary brand, headers, CTAs */
    --flog-lime: #7CB342;           /* Flog Lime - Secondary green, Floggy's body, highlights */
    --appetite-orange: #FF6F00;     /* Appetite Orange - Achievements, badges, notifications */
    --cream: #FFF8E1;               /* Cream - Backgrounds, cards, warm feel */
    --charcoal: #333333;            /* Charcoal - Body text, secondary elements */

    /* Legacy aliases for backwards compatibility */
    --brand-orange: var(--appetite-orange);
    --brand-orange-light: #FF8F00;  /* Lighter orange for hovers */
    --brand-gold: #B9A44C;          /* Golden Bronze - Warm accent */
    --brand-green: var(--flog-green);
    --brand-green-light: var(--flog-lime);
    --brand-blue: #0C4767;          /* Yale Blue - Deep accent */
    --brand-blue-light: #1a5f85;    /* Lighter blue for hovers */

    /* ============================================
       SEMANTIC COLORS - Use these throughout the app
       ============================================ */
    /* Primary action color (CTAs, buttons) */
    --color-primary: var(--flog-green);
    --color-primary-hover: var(--flog-lime);

    /* Accent color (highlights, stars, badges, achievements) */
    --color-accent: var(--appetite-orange);
    --color-accent-hover: #FF8F00;

    /* Secondary colors */
    --color-secondary: var(--brand-blue);
    --color-secondary-hover: var(--brand-blue-light);
    --color-warm: var(--brand-gold);

    /* Status colors */
    --color-success: #34c759;
    --color-warning: #FF8F00;
    --color-danger: #e53935;
    --color-favorite: #e53935;

    /* ============================================
       UI COLORS
       ============================================ */
    /* Backgrounds */
    --bg-primary: #FAFAF8;          /* Slightly warm white */
    --bg-secondary: #ffffff;
    --bg-cream: var(--cream);       /* Warm cream for cards */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(192, 192, 192, 0.4);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.12);
    --glass-blur: 20px;

    /* Text */
    --text-primary: var(--charcoal);
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;

    /* Forms */
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: rgba(192, 192, 192, 0.5);
    --input-focus: var(--color-primary);

    /* Misc */
    --star-color: var(--brand-orange);
    --divider: rgba(0, 0, 0, 0.06);

    /* ============================================
       LEGACY ALIASES - For backwards compatibility
       ============================================ */
    --accent: var(--color-accent);
    --accent-hover: var(--color-accent-hover);
    --accent-secondary: var(--color-secondary);
    --accent-secondary-light: var(--color-secondary-hover);
    --success: var(--color-success);
    --warning: var(--color-warning);
    --danger: var(--color-danger);
    --pink: var(--color-favorite);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Decorative gradient orbs for glass effect */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--brand-green-light) 0%, var(--brand-green) 100%);
    top: -200px;
    right: -100px;
}

body::after {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-blue) 100%);
    bottom: -150px;
    left: -100px;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Glass Navigation */
.glass-nav {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.875rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand a {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9375rem;
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.nav-links a.active {
    background: rgba(86, 110, 61, 0.1);
    color: var(--color-primary);
}

/* Nav Search */
.nav-search {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-search-input {
    width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.nav-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    width: 280px;
    box-shadow: 0 0 0 3px rgba(86, 110, 61, 0.15);
}

.nav-search-input::placeholder {
    color: var(--text-tertiary);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    box-shadow: var(--glass-shadow);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-suggestions:empty {
    display: none;
}

.suggestion-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--divider);
    transition: background 0.15s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--bg-primary);
}

.suggestion-type {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 0.125rem;
}

.suggestion-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.suggestion-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.suggestion-all {
    background: var(--bg-primary);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-primary);
}

.suggestion-all:hover {
    background: rgba(86, 110, 61, 0.1);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-menu {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.user-menu:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Glass Card - The Star of the Show */
.glass-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent
    );
}

.glass-card:hover {
    box-shadow: var(--glass-shadow-hover);
}

.glass-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(86, 110, 61, 0.35);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #e0342b;
}

.btn-sm {
    padding: 0.4375rem 0.875rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 1px solid var(--input-border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-social:hover {
    background: var(--bg-primary);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.btn-social svg {
    flex-shrink: 0;
}

.btn-google:hover {
    border-color: #4285F4;
}

.btn-facebook:hover {
    border-color: #1877F2;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--divider);
}

.auth-divider span {
    padding: 0 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(86, 110, 61, 0.12);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
}

th {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--divider);
}

td {
    border-bottom: 1px solid var(--divider);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background 0.15s ease;
}

tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.stat-card .stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-card .stat-change {
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    color: var(--text-tertiary);
}

/* Charts */
.chart-container {
    position: relative;
    height: 280px;
    margin-top: 1rem;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

/* Rating Stars */
.rating {
    display: inline-flex;
    gap: 2px;
}

.star {
    color: #d1d1d6;
    font-size: 1rem;
}

.star.filled {
    color: var(--star-color);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-favorite {
    background: linear-gradient(135deg, var(--pink), #ff6b81);
    color: white;
}

/* Order type badges - softer colors with dark text */
.badge-delivery {
    background: rgba(99, 102, 241, 0.15);
    color: #4338ca;
}

.badge-pickup {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.badge-dine-in {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

/* Platform badges - softer with readable text */
.badge-platform {
    --platform-color: #6b7280;
    /* Fallback for older browsers */
    background: rgba(107, 114, 128, 0.15);
    color: #374151;
    /* Modern browsers with color-mix support */
    background: color-mix(in srgb, var(--platform-color) 18%, transparent);
    color: color-mix(in srgb, var(--platform-color) 80%, black);
}

/* Favorite Toggle */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #d1d1d6;
    transition: all 0.2s;
    padding: 0.25rem;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn.active {
    color: var(--pink);
}

/* Item Lists */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.item-list .item-card {
    padding: 0.875rem 1rem;
    min-height: auto;
}

.item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 14px;
    border: 1px solid var(--divider);
    transition: all 0.2s ease;
    min-height: 72px;
}

.item-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.item-info h3 a {
    color: inherit;
    text-decoration: none;
}

.item-info h3 a:hover {
    color: var(--accent);
}

.item-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.4;
}

.item-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Notes Card - for dish notes */
.notes-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.notes-card strong {
    color: #856404;
    font-size: 0.8125rem;
    display: block;
    margin-bottom: 0.25rem;
}

.notes-card p {
    color: #664d03;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Item Notes - inline for order items */
.item-notes {
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.item-notes::before {
    content: 'Notes: ';
    font-weight: 500;
    color: var(--text-tertiary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Alert Messages */
.messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    color: #1b7340;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.alert-error {
    background: rgba(255, 59, 48, 0.1);
    color: #c41e16;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

/* Inline Form (for order items) */
.inline-form-row {
    display: grid;
    grid-template-columns: 2fr 2fr 80px 100px auto;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    align-items: start;
}

.inline-form-row .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
}

.inline-form-row .notes-input {
    font-size: 0.875rem;
}

.remove-row {
    background: rgba(255, 59, 48, 0.1);
    color: var(--danger);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    margin-top: 1px;
}

.remove-row:hover {
    background: var(--danger);
    color: white;
}

/* Detail Page */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--divider);
}

.detail-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-title h1 {
    font-size: 1.625rem;
    color: var(--text-primary);
    font-weight: 600;
}

.detail-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.375rem;
    flex-wrap: wrap;
    align-items: center;
}

.detail-meta span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Section headers inside cards */
.section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Price breakdown table */
.price-table {
    max-width: 280px;
}

.price-table td {
    padding: 0.5rem 0;
    border: none;
}

.price-table td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.price-table tr.total {
    font-weight: 600;
    border-top: 1px solid var(--divider);
}

.price-table tr.total td {
    padding-top: 0.75rem;
}

.price-table tr.discount td {
    color: var(--success);
}

/* Responsive */
@media (max-width: 768px) {
    body::before,
    body::after {
        opacity: 0.3;
    }

    .glass-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .nav-brand {
        order: 1;
    }

    .nav-user {
        order: 2;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.125rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-links a {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }

    .nav-search {
        order: 4;
        width: 100%;
        margin-top: 0.25rem;
    }

    .nav-search-input {
        width: 100%;
    }

    .user-menu {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.8125rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .main-content {
        padding: 1rem;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .inline-form-row {
        grid-template-columns: 1fr 1fr;
    }

    .inline-form-row > *:first-child {
        grid-column: 1 / -1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .glass-nav {
        padding: 0.5rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .nav-brand a {
        font-size: 1.125rem;
    }
}

/* Transitions */
.glass-card,
.item-card,
.stat-card {
    transition: all 0.25s ease;
}

/* Links */
a {
    color: var(--accent-secondary);
    text-decoration: none;
}

a:hover {
    color: var(--accent-secondary-light);
    text-decoration: underline;
}

.btn:hover {
    text-decoration: none;
}

/* Primary action links (use orange) */
a.link-action,
.btn-primary {
    color: white;
}

/* Table/content links - more subtle blue for readability */
td a,
.item-info a {
    color: var(--accent-secondary);
}

td a:hover,
.item-info a:hover {
    color: var(--accent-secondary-light);
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* Small helper text */
small {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* Print styles */
@media print {
    body::before,
    body::after {
        display: none;
    }

    .glass-nav,
    .btn {
        display: none;
    }

    body {
        background: white;
    }

    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
        backdrop-filter: none;
    }
}
