/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                                                                           ║
   ║               FIREASSISTIQ PRO - UPTICK-INSPIRED DESIGN SYSTEM           ║
   ║                                                                           ║
   ║  Professional Fire Safety Management Platform                            ║
   ║  Design Philosophy: Clean, Minimal, Enterprise-Grade                     ║
   ║                                                                           ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS - Single Source of Truth
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Brand Colors - FireAssistIQ Identity */
    --brand-primary: #E53935;           /* Fire engine red */
    --brand-primary-dark: #C62828;      /* Darker red for hover states */
    --brand-primary-light: #FFEBEE;     /* Light red for backgrounds */
    --brand-primary-subtle: #FFCDD2;    /* Very subtle red tint */
    
    /* Neutral Palette - Uptick Style */
    --neutral-50: #FAFAFA;              /* Lightest background */
    --neutral-100: #F5F5F5;             /* Light background */
    --neutral-200: #EEEEEE;             /* Border light */
    --neutral-300: #E0E0E0;             /* Border standard */
    --neutral-400: #BDBDBD;             /* Border dark */
    --neutral-500: #9E9E9E;             /* Text muted */
    --neutral-600: #757575;             /* Text secondary */
    --neutral-700: #616161;             /* Text primary */
    --neutral-800: #424242;             /* Text strong */
    --neutral-900: #212121;             /* Text darkest */
    
    /* Semantic Colors */
    --success: #4CAF50;                 /* Green - completed */
    --success-light: #E8F5E9;
    --warning: #FF9800;                 /* Orange - in progress */
    --warning-light: #FFF3E0;
    --error: #F44336;                   /* Red - urgent/error */
    --error-light: #FFEBEE;
    --info: #2196F3;                    /* Blue - pending/info */
    --info-light: #E3F2FD;
    
    /* Sidebar Dark Theme (like Uptick) */
    --sidebar-bg: #1A1A2E;              /* Dark navy */
    --sidebar-text: #E0E0E0;
    --sidebar-text-muted: #9E9E9E;
    --sidebar-hover: #16213E;
    --sidebar-active: #E53935;
    
    /* Typography Scale */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
    
    --font-xs: 0.75rem;      /* 12px */
    --font-sm: 0.875rem;     /* 14px */
    --font-base: 1rem;       /* 16px */
    --font-lg: 1.125rem;     /* 18px */
    --font-xl: 1.25rem;      /* 20px */
    --font-2xl: 1.5rem;      /* 24px */
    --font-3xl: 1.875rem;    /* 30px */
    --font-4xl: 2.25rem;     /* 36px */
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Spacing Scale (8px base) */
    --space-0: 0;
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows - Uptick Style (subtle) */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal-backdrop: 900;
    --z-modal: 1000;
    --z-toast: 1100;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL RESETS & BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--neutral-800);
    background: var(--neutral-100);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.text-xs { font-size: var(--font-xs); }
.text-sm { font-size: var(--font-sm); }
.text-base { font-size: var(--font-base); }
.text-lg { font-size: var(--font-lg); }
.text-xl { font-size: var(--font-xl); }
.text-2xl { font-size: var(--font-2xl); }
.text-3xl { font-size: var(--font-3xl); }
.text-4xl { font-size: var(--font-4xl); }

.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-primary { color: var(--brand-primary); }
.text-muted { color: var(--neutral-500); }
.text-secondary { color: var(--neutral-600); }
.text-dark { color: var(--neutral-900); }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARD SYSTEM - Uptick Style
   ═══════════════════════════════════════════════════════════════════════════ */

.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

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

.card-header {
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: var(--font-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--neutral-900);
    margin: 0;
}

.card-subtitle {
    font-size: var(--font-sm);
    color: var(--neutral-500);
    margin-top: var(--space-1);
}

.card-body {
    padding: var(--space-6);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    background: var(--neutral-50);
    border-top: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Card Variants */
.card-flat {
    box-shadow: none;
    border: 1px solid var(--neutral-200);
}

.card-elevated {
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTON SYSTEM - Clean & Consistent
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    user-select: none;
    min-height: 44px; /* Mobile-friendly touch target */
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary Button - FireAssistIQ Red */
.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--brand-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: white;
    color: var(--neutral-800);
    border: 2px solid var(--neutral-300);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--neutral-400);
    background: var(--neutral-50);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--neutral-700);
}

.btn-ghost:hover:not(:disabled) {
    background: var(--neutral-100);
}

/* Success Button */
.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: #43A047;
    box-shadow: var(--shadow-md);
}

/* Warning Button */
.btn-warning {
    background: var(--warning);
    color: white;
}

/* Error Button */
.btn-danger {
    background: var(--error);
    color: white;
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-sm);
    min-height: 36px;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-lg);
    min-height: 52px;
}

/* Icon Button */
.btn-icon {
    padding: var(--space-3);
    width: 44px;
    height: 44px;
}

.btn-icon.btn-sm {
    width: 36px;
    height: 36px;
}

/* Button Group */
.btn-group {
    display: inline-flex;
    gap: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORM INPUTS - Clean & Accessible
   ═══════════════════════════════════════════════════════════════════════════ */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--neutral-700);
    margin-bottom: var(--space-2);
}

.form-label-required::after {
    content: " *";
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-base);
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background: white;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.form-input::placeholder {
    color: var(--neutral-500);
}

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

.form-hint {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--font-sm);
    color: var(--neutral-500);
}

.form-error {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--font-sm);
    color: var(--error);
}

.form-input.is-invalid {
    border-color: var(--error);
}

.form-input.is-invalid:focus {
    box-shadow: 0 0 0 3px var(--error-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION - Mobile Tabs (Uptick Style)
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-tabs {
    display: flex;
    background: white;
    border-bottom: 2px solid var(--neutral-200);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-tab {
    flex: 1;
    padding: var(--space-4) var(--space-3);
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--neutral-600);
    text-align: center;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    min-height: 48px;
}

.nav-tab:hover {
    color: var(--neutral-800);
    background: var(--neutral-50);
}

.nav-tab.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

/* Icon + Text Tabs */
.nav-tab-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.nav-tab-icon svg {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR NAVIGATION - Desktop (Uptick Dark Theme)
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    width: 240px;
    height: 100vh;
    background: var(--sidebar-bg);
    padding: var(--space-6) 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: var(--z-sticky);
}

.sidebar-logo {
    padding: 0 var(--space-6);
    margin-bottom: var(--space-8);
}

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

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    color: var(--sidebar-text);
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
    background: var(--sidebar-hover);
    color: white;
}

.sidebar-nav-item.active {
    background: var(--sidebar-hover);
    border-left-color: var(--sidebar-active);
    color: white;
}

.sidebar-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BADGE & STATUS INDICATORS
   ═══════════════════════════════════════════════════════════════════════════ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-xs);
    font-weight: var(--font-semibold);
    line-height: 1;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}

.badge-success {
    background: var(--success-light);
    color: #2E7D32;
}

.badge-warning {
    background: var(--warning-light);
    color: #E65100;
}

.badge-error {
    background: var(--error-light);
    color: #C62828;
}

.badge-info {
    background: var(--info-light);
    color: #1565C0;
}

.badge-neutral {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

/* Status Dot */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    margin-right: var(--space-2);
}

.status-dot-success { background: var(--success); }
.status-dot-warning { background: var(--warning); }
.status-dot-error { background: var(--error); }
.status-dot-info { background: var(--info); }

/* ═══════════════════════════════════════════════════════════════════════════
   LIST COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */

.list-group {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-item {
    padding: var(--space-4) var(--space-5);
    background: white;
    border-bottom: 1px solid var(--neutral-200);
    transition: background var(--transition-fast);
    cursor: pointer;
}

.list-item:hover {
    background: var(--neutral-50);
}

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

.list-item-title {
    font-weight: var(--font-semibold);
    color: var(--neutral-900);
    margin-bottom: var(--space-1);
}

.list-item-subtitle {
    font-size: var(--font-sm);
    color: var(--neutral-600);
}

.list-item-meta {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-2);
    font-size: var(--font-sm);
    color: var(--neutral-500);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL SYSTEM
   ═══════════════════════════════════════════════════════════════════════════ */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: var(--font-2xl);
    font-weight: var(--font-semibold);
    color: var(--neutral-900);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--neutral-500);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--neutral-100);
    color: var(--neutral-800);
}

.modal-body {
    padding: var(--space-6);
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: var(--space-5) var(--space-6);
    background: var(--neutral-50);
    border-top: 1px solid var(--neutral-200);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GRID SYSTEM
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT LOGOS - KEEP THESE (FireAssistIQ's Secret Weapon)
   ═══════════════════════════════════════════════════════════════════════════ */

.product-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
}

.product-logo-item {
    aspect-ratio: 1;
    padding: var(--space-2);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: white;
}

.product-logo-item:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-logo-item.selected {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    box-shadow: 0 0 0 3px var(--brand-primary-subtle);
}

.product-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS & METRICS CARDS (Dashboard)
   ═══════════════════════════════════════════════════════════════════════════ */

.stat-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: var(--font-sm);
    color: var(--neutral-600);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.stat-value {
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    color: var(--neutral-900);
    line-height: 1;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-3);
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--error);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILISATION BAR (Uptick Style)
   ═══════════════════════════════════════════════════════════════════════════ */

.utilisation-bar {
    margin-top: var(--space-4);
}

.utilisation-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2);
    font-size: var(--font-sm);
    color: var(--neutral-600);
    font-weight: var(--font-semibold);
}

.utilisation-label-value {
    color: var(--neutral-900);
    font-weight: var(--font-bold);
}

.utilisation-track {
    display: flex;
    height: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--neutral-200);
}

.utilisation-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-xs);
    font-weight: var(--font-semibold);
    transition: all var(--transition-base);
}

.utilisation-segment:hover {
    filter: brightness(1.1);
}

.utilisation-performing {
    background: var(--success);
}

.utilisation-travelling {
    background: var(--warning);
}

.utilisation-break {
    background: var(--info);
}

.utilisation-remaining {
    background: var(--neutral-300);
    color: var(--neutral-700);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING STATES
   ═══════════════════════════════════════════════════════════════════════════ */

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--neutral-200);
    border-top-color: var(--brand-primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--neutral-200) 25%,
        var(--neutral-100) 50%,
        var(--neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.toast-container {
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 400px;
}

.toast {
    background: white;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    border-left: 4px solid var(--neutral-300);
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-success { border-left-color: var(--success); }
.toast-warning { border-left-color: var(--warning); }
.toast-error { border-left-color: var(--error); }
.toast-info { border-left-color: var(--info); }

/* ═══════════════════════════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════════════════════════ */

.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-6);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    color: var(--neutral-400);
}

.empty-state-title {
    font-size: var(--font-xl);
    font-weight: var(--font-semibold);
    color: var(--neutral-900);
    margin-bottom: var(--space-2);
}

.empty-state-description {
    font-size: var(--font-base);
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

@media print {
    .sidebar,
    .nav-tabs,
    .btn,
    .modal-backdrop {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--neutral-300);
        page-break-inside: avoid;
    }
}
