:root {
    /* Base Color Palette (Premium Dark Theme) */
    --clr-bg: #09090b;
    --clr-surface: #18181b;
    --clr-surface-hover: #27272a;
    --clr-border: #27272a;
    
    /* Brand Colors (Loblolly) */
    --clr-primary: #3b82f6;
    --clr-primary-hover: #2563eb;
    --clr-secondary: #f4f4f5;
    
    /* Status Colors */
    --clr-alert: #ef4444;
    --clr-alert-bg: rgba(239, 68, 68, 0.1);
    --clr-success: #10b981;
    --clr-success-bg: rgba(16, 185, 129, 0.1);
    
    /* Text */
    --clr-text-main: #f4f4f5;
    --clr-text-muted: #a1a1aa;

    /* Typography — Geist for body, Outfit for headings */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Geist', 'Inter', sans-serif;

    /* Spacing & Layout — consistent rounded corners everywhere */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 999px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.2);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Native OS scrollbars */
    color-scheme: dark;
}

[data-theme="light"] {
    /* Light Mode Color Overrides */
    --clr-bg: #f8fafc;
    --clr-surface: #ffffff;
    --clr-surface-hover: #f1f5f9;
    --clr-border: #e2e8f0;
    
    --clr-text-main: #0f172a;
    --clr-text-muted: #64748b;
    
    /* Status Backgrounds adjust for light mode contrast */
    --clr-alert-bg: rgba(239, 68, 68, 0.15);
    --clr-success-bg: rgba(16, 185, 129, 0.15);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Native OS scrollbars */
    color-scheme: light;
}

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

/* Temporarily applied to body during theme toggle to prevent transition flashes */
.theme-transitioning * {
    transition: none !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-title {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Layout Hooks */
.app-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    min-width: 260px;    /* Prevent flex compression from wide content */
    flex-shrink: 0;      /* 15.7: Never compress sidebar; content-wrapper handles overflow */
    background-color: var(--clr-surface);
    border-right: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--clr-primary), #60a5fa);
    border-radius: var(--radius-md);
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.brand-title {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Recent Items */
.sidebar-recent {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border);
    flex: 1;
    overflow: hidden;
}

.sidebar-recent-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
}

.recent-item:hover {
    background: var(--clr-surface-hover);
    color: var(--clr-text-main);
}

.recent-item-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--clr-text-muted);
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--clr-surface-hover);
    color: var(--clr-primary);
}

.nav-item i {
    width: 18px;
    height: 18px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-border);
}

.avatar {
    width: 36px;
    height: 36px;
    background-color: var(--clr-surface-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--clr-primary);
}

.user-info {
    display: flex;
    flex-direction: column;
}

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

.user-role {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

/* Main Content */
.main-content {
    flex-grow: 1;
    min-width: 0;    /* Allow flex item to shrink below content size — prevents sidebar compression */
    display: flex;
    flex-direction: column;
    background-color: var(--clr-bg);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    border-bottom: 1px solid var(--clr-border);
    gap: 1rem;
}

.topbar-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.page-title {
    font-size: 1.4rem;
    line-height: 1.2;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow: hidden;
}

.crumb {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.crumb:hover {
    color: var(--clr-primary);
}

.crumb-current {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crumb-sep {
    color: var(--clr-border);
    font-size: 0.9rem;
    user-select: none;
}

/* Record Links */
.record-link {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.15s ease;
}

.record-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.topbar-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-secondary {
    background-color: var(--clr-surface);
    color: var(--clr-text-main);
    border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
    background-color: var(--clr-surface-hover);
}

.btn-icon {
    padding: 0.6rem;
}

/* Dashboard Grid */
.content-wrapper {
    padding: 2.5rem;
    overflow-y: auto;
    scrollbar-gutter: stable; /* S15.7: Reserve scrollbar space to prevent grid reflow on async content load */
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--clr-primary);
}

.icon-wrapper.alert {
    background-color: var(--clr-alert-bg);
    color: var(--clr-alert);
}

.icon-wrapper.success {
    background-color: var(--clr-success-bg);
    color: var(--clr-success);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    line-height: 1;
}

/* Panels */
.panel {
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
}

.panel-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--clr-border);
}

.panel-header h3 {
    font-size: 1.1rem;
}

.panel-body {
    padding: 2rem 1.5rem;
}

.empty-state {
    text-align: center;
    color: var(--clr-text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

/* ── Print / PDF Export ───────────────────────────────────────────────────────
   Triggered by window.print() - strips chrome and resets colors for PDF output */
@media print {
    /* Hide chrome elements */
    .sidebar,
    .topbar-actions,
    .filter-pills,
    .breadcrumb,
    #toast-container,
    .modal-overlay,
    .btn-new-case,
    .btn-new-client,
    .app-loader { display: none !important; }

    /* Reset layout to full-page width */
    .app-layout     { display: block !important; }
    .main-content   { width: 100% !important; overflow: visible !important; }
    .content-wrapper { padding: 1cm !important; overflow: visible !important; }
    .topbar          { padding: 0.5rem 1cm !important; border-bottom: 1px solid #ccc !important; }

    /* Reset dark-mode colors to print-friendly white/black */
    body,
    .panel,
    .data-table-wrapper,
    .data-table th,
    .data-table td,
    .stat-card { background: #fff !important; color: #111 !important; border-color: #ccc !important; }

    .data-table thead { background: #f5f5f5 !important; }
    .data-table th,
    .data-table td    { font-size: 10pt !important; padding: 6pt 8pt !important; }

    /* Avoid page breaks inside rows */
    .data-table tr    { page-break-inside: avoid; }
    .stat-card        { page-break-inside: avoid; border: 1pt solid #ccc !important; }
}

/* ── Hamburger Button (hidden on desktop, shown on mobile) ───────────────── */
.btn-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text-main);
    cursor: pointer;
    padding: 0.4rem;
    flex-shrink: 0;
}

/* ── Sidebar Overlay (backdrop when drawer is open on mobile) ────────────── */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    pointer-events: none;
    touch-action: none;
}
.sidebar-overlay.active {
    display: block;
    pointer-events: all;
    touch-action: auto;
    cursor: pointer;
}

/* ── Mobile Responsive Layout ────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Sidebar: slide-out drawer from the left */
    .sidebar {
        position: fixed;
        top: 0; bottom: 0; left: 0;
        width: 280px;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 8px 0 24px rgba(0,0,0,0.3);
    }

    /* Show the hamburger */
    .btn-hamburger {
        display: flex;
        align-items: center;
    }

    /* Main content fills viewport */
    .main-content {
        width: 100% !important;
        overflow: hidden;
    }

    /* Topbar: flex row, hamburger + title + actions aligned */
    .topbar {
        padding: 0.6rem 1rem;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        min-height: 56px;
        flex-shrink: 0;
        z-index: 10;
        background-color: var(--clr-bg);
        position: sticky;
        top: 0;
    }
    .topbar-left {
        flex: 1;
        min-width: 0; /* allow text truncation */
    }
    .topbar-left .page-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .topbar-actions {
        flex-basis: 100%;
        justify-content: flex-end;
        gap: 0.4rem;
        order: 3; /* push below bell + title row */
    }
    .topbar-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
    /* Bell stays on the first row, right of title */
    .notification-bell-wrap {
        order: 2;
        flex-shrink: 0;
    }
    /* Prevent dropdown overflowing viewport on small screens */
    .notification-dropdown {
        width: min(340px, calc(100vw - 2rem));
        right: -0.5rem;
    }
    .content-wrapper {
        padding: 1rem;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        scrollbar-gutter: stable; /* S15.7 */
    }

    /* Stat grid: single column on mobile */
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Quick actions: stack vertically */
    .quick-actions-strip {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Data tables: horizontal scroll */
    .data-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Page title: smaller on mobile */
    .page-title {
        font-size: 1.1rem;
    }

    /* Form rows: single column on mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Case / Client detail: stack the 2fr 1fr grid into single column */
    .detail-grid-2-1,
    .detail-grid-1-1 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
    }

    /* Progress bar stage labels: hide on very small screens, show dots only */
    .case-progress-stages {
        gap: 0;
    }
    .case-progress-label {
        font-size: 0.55rem;
    }
}

/* ── Sprint 13: Notification Bell ─────────────────────────────────────────── */

.notification-bell-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.notification-bell {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 8px;
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.15s, color 0.15s;
}
.notification-bell:hover {
    background: var(--clr-bg-hover, rgba(99,102,241,0.08));
    color: var(--clr-primary);
}
.notification-bell svg { width: 18px; height: 18px; }

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    pointer-events: none;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 420px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--clr-border);
    flex-shrink: 0;
}
.notif-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.notif-read-all {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--clr-primary);
    padding: 0;
    font-family: inherit;
}
.notif-read-all:hover { text-decoration: underline; }

.notif-list {
    overflow-y: auto;
    flex: 1;
}
.notif-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.82rem;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid var(--clr-border);
    text-decoration: none;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--clr-bg-hover, rgba(99,102,241,0.05)); }
.notif-item.unread {
    border-left: 3px solid var(--clr-primary);
    padding-left: calc(1rem - 3px);
    background: rgba(99,102,241,0.04);
}
.notif-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.notif-item-icon svg { width: 14px; height: 14px; }
.notif-icon-mention      { background: rgba(99,102,241,0.12); color: #6366f1; }
.notif-icon-task_assigned { background: rgba(16,185,129,0.12); color: #10b981; }
.notif-icon-sla_alert    { background: rgba(245,158,11,0.12);  color: #f59e0b; }

.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-item-body-text {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-item-time {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 1px;
}

/* ── Sprint 13: Quick Inline Status ──────────────────────────────────────── */

.status-badge-clickable {
    cursor: pointer;
    user-select: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.status-badge-clickable:hover { filter: brightness(1.12); }
.status-badge-clickable::after {
    content: '▾';
    font-size: 0.6rem;
    opacity: 0.7;
}

.status-inline-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
    z-index: 500;
    min-width: 180px;
    overflow: hidden;
}
.status-inline-option {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--clr-text);
    transition: background 0.1s;
}
.status-inline-option:hover { background: var(--clr-bg-hover, rgba(99,102,241,0.07)); }

/* ── Sprint 13: Cases Filter Preset Tabs ────────────────────────────────── */

.cases-preset-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}
.preset-tab {
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    color: var(--clr-text-muted);
    transition: all 0.15s;
}
.preset-tab:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.preset-tab.active {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff;
}

/* ── Sprint 26: Client Services Tab ──────────────────────────────────────── */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.svc-card {
    --svc-accent: var(--clr-primary);
    --svc-accent-bg: rgba(59,130,246,0.08);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    position: relative;
    transition: var(--transition);
    border-top: 3px solid var(--svc-accent);
}

.svc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: var(--svc-accent);
}

.svc-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.svc-card__icon {
    font-size: 1.5rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--svc-accent-bg);
    border-radius: var(--radius-md);
}

.svc-card__actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.svc-card:hover .svc-card__actions {
    opacity: 1;
}

.svc-card__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 6px;
    color: var(--clr-text-muted);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-card__btn:hover {
    background: var(--clr-surface-hover);
    color: var(--clr-text-main);
}

.svc-card__btn--danger:hover {
    background: var(--clr-alert-bg);
    color: var(--clr-alert);
}

.svc-card__type {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-text-main);
    margin-bottom: 0.5rem;
}

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

.svc-card__tier {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: var(--clr-surface-hover);
    color: var(--clr-text-muted);
}

.svc-tier--starter  { background: rgba(99,102,241,0.08); color: #818cf8; }
.svc-tier--standard { background: rgba(59,130,246,0.08); color: #3b82f6; }
.svc-tier--premium  { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(234,179,8,0.08)); color: #f59e0b; }

.svc-card__status {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.svc-status--active { background: var(--clr-success-bg); color: var(--clr-success); }
.svc-status--paused { background: rgba(245,158,11,0.1); color: #f59e0b; }
.svc-status--ended  { background: var(--clr-surface-hover); color: var(--clr-text-muted); }

.svc-card__entity {
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.svc-card__date {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    margin-top: 0.25rem;
}

/* Empty State */
.svc-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}

.svc-empty__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.svc-empty__text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-text-main);
    margin-bottom: 0.35rem;
}

.svc-empty__hint {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-card__actions {
        opacity: 1;
    }
}

