/* ============================================================
   🎨 shared.css - Estilos compartidos del SPA
   Barraca Kollasuyo - Sistema de Gestión Comercial
   Diseño responsive con CSS Grid: móvil, tablet, escritorio
   ⭐ v3.5 - Fix viewport móvil + scroll táctil nativo
   ============================================================ */

/* ===== FUENTE TÉRMICA PERSONALIZADA (HydrogenType) ===== */
@font-face {
    font-family: "HydrogenType";
    src: url("./hydrogen.ttf") format("truetype"),
         url("../hydrogen.ttf") format("truetype"),
         url("/hydrogen.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Hydrogen";
    src: url("./hydrogen.ttf") format("truetype"),
         url("../hydrogen.ttf") format("truetype"),
         url("/hydrogen.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
/* ===== CSS CUSTOM PROPERTIES (4 TEMAS EJECUTIVOS SÓLIDOS) ===== */
:root {
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Inter', -apple-system, monospace;
    
    /* Variables estructurales */
    --sidebar-width: 260px;
    --header-height: 56px;
    --border-radius-sm: 6px;
    --border-radius: 10px;
    --border-radius-lg: 14px;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 5px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 14px 0 rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.12);
    --transition-speed: 0.25s;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
}

/* 1. TEMA CAOBA EJECUTIVO (Oficial Barraca Kollasuyo) */
:root, [data-theme="caoba"] {
    --color-primary: #680d03;
    --color-primary-hover: #831608;
    --color-primary-dark: #4e0902;
    --color-primary-subtle: #fef2f2;
    --color-accent: #b45309;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-card: #ffffff;
    --color-white: #ffffff;
    --color-text: #0f172a;
    --color-text-light: #334155;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --sidebar-bg: #680d03;
    --header-bg: #ffffff;
}

/* 2. TEMA SLATE CORPORATIVO (Acero / Midnight) */
[data-theme="slate"] {
    --color-primary: #0f172a;
    --color-primary-hover: #1e293b;
    --color-primary-dark: #020617;
    --color-primary-subtle: #f1f5f9;
    --color-accent: #2563eb;
    --color-bg: #f1f5f9;
    --color-surface: #ffffff;
    --color-card: #ffffff;
    --color-white: #ffffff;
    --color-text: #0f172a;
    --color-text-light: #334155;
    --color-text-muted: #64748b;
    --color-border: #cbd5e1;
    --sidebar-bg: #0f172a;
    --header-bg: #ffffff;
}

/* 3. TEMA VERDE FORESTAL (Pino / Maderero) */
[data-theme="forestal"] {
    --color-primary: #14532d;
    --color-primary-hover: #166534;
    --color-primary-dark: #052e16;
    --color-primary-subtle: #f0fdf4;
    --color-accent: #15803d;
    --color-bg: #fafaf9;
    --color-surface: #ffffff;
    --color-card: #ffffff;
    --color-white: #ffffff;
    --color-text: #1c1917;
    --color-text-light: #44403c;
    --color-text-muted: #78716c;
    --color-border: #e7e5e4;
    --sidebar-bg: #14532d;
    --header-bg: #ffffff;
}

/* 4. TEMA NOCHE SÓLIDA (Dark Mode Ejecutivo Mate) */
[data-theme="noche"] {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-dark: #1e40af;
    --color-primary-subtle: #1e293b;
    --color-accent: #38bdf8;
    --color-bg: #0f172a;
    --color-surface: #1e293b;
    --color-card: #1e293b;
    --color-white: #1e293b;
    --color-text: #f8fafc;
    --color-text-light: #cbd5e1;
    --color-text-muted: #94a3b8;
    --color-border: #334155;
    --sidebar-bg: #0b1120;
    --header-bg: #1e293b;
}

/* Densidad de interfaz */
[data-density="compacta"] {
    --table-padding-y: 6px;
    --input-padding-y: 6px;
    --btn-padding-y: 6px;
}

/* ===== UTILIDADES COMPARTIDAS SENSIBLES AL TEMA (CERO DEGRADADOS) ===== */
.btn-theme-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    background-image: none !important;
}
.btn-theme-primary:hover {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
    color: #ffffff !important;
}

/* ===== RESET MODERNO ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

button, input, select, textarea {
    font-family: inherit;
}

/* ============================================================
   🏗️ LAYOUT PRINCIPAL CON CSS GRID
   ============================================================ */
.spa-container {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header"
        "content";
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* ===== HEADER ===== */
.spa-header {
    grid-area: header;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    gap: 0.5rem;
    z-index: 1000;
}

.spa-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

/* ===== BOTÓN HAMBURGUESA ===== */
.spa-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.spa-menu-toggle:hover { background-color: rgba(255, 255, 255, 0.15); }

@media (min-width: 1200px) {
    .spa-menu-toggle { display: none !important; }
}

/* ===== LOGO ===== */
.spa-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.spa-logo i { flex-shrink: 0; }

.spa-logo h1 {
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== ACCIONES DEL HEADER ===== */
.spa-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ===== BOTÓN RECARGAR (HEADER) ===== */
.spa-reload-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s, transform 0.25s ease;
}

.spa-reload-btn:hover { background-color: rgba(255, 255, 255, 0.15); }
.spa-reload-btn:active { 
    background-color: rgba(255, 255, 255, 0.25);
    transform: rotate(180deg);
}

/* ===== BOTÓN INICIO (HEADER) ===== */
.spa-home-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.spa-home-btn:hover { background-color: rgba(255, 255, 255, 0.15); }
.spa-home-btn:active { background-color: rgba(255, 255, 255, 0.25); }

/* ============================================================
   📂 SIDEBAR - Overlay flotante (móvil/tablet)
   ============================================================ */
@media (max-width: 1199px) {
    .spa-sidebar {
        position: fixed;
        top: 0;
        left: calc(-1 * var(--sidebar-width));
        width: var(--sidebar-width);
        height: 100%;
        background: var(--color-primary);
        color: white;
        z-index: 999;
        transition: left var(--transition-speed) ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
    }

    .spa-sidebar.active { left: 0; }

    .spa-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }

    .spa-sidebar-overlay.active { display: block; }
}

/* ---- Variables de ancho del sidebar ---- */
:root {
    --sidebar-content-margin: var(--sidebar-width);
}

body.spa-sidebar-collapsed {
    --sidebar-content-margin: 60px;
}

/* ============================================================
   📂 SIDEBAR - Escritorio (≥1200px): sidebar fixed
   ============================================================ */
@media (min-width: 1200px) {
    .spa-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--sidebar-content-margin);
        height: 100vh;
        height: 100dvh;
        background: var(--color-primary);
        color: white;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 100;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
        transition: width var(--transition-speed) ease;
    }

    .spa-sidebar-overlay { display: none !important; }

    .spa-content {
        margin-left: var(--sidebar-content-margin);
        width: auto;
        transition: margin-left var(--transition-speed) ease;
        overflow: visible;
    }

    .spa-view {
        left: 0;
        right: 0;
        width: auto;
    }

    .spa-header {
        margin-left: var(--sidebar-content-margin);
        transition: margin-left var(--transition-speed) ease;
    }

    /* MINI-SIDEBAR */
    body.spa-sidebar-collapsed .spa-sidebar {
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 1;
    }

    body.spa-sidebar-collapsed .spa-sidebar-header {
        justify-content: center;
        padding: 1.2rem 0;
    }

    body.spa-sidebar-collapsed .spa-sidebar-header-text {
        display: none;
    }

    body.spa-sidebar-collapsed .spa-sidebar-nav {
        padding: 0.5rem 0;
    }

    body.spa-sidebar-collapsed .spa-sidebar-nav a {
        justify-content: center;
        padding: 0.8rem 0;
        border-left: none;
        gap: 0;
        height: auto;
        min-height: unset;
    }

    body.spa-sidebar-collapsed .spa-sidebar-nav a i {
        font-size: 1.1rem;
        width: 24px;
        margin: 0;
        line-height: 1;
    }

    body.spa-sidebar-collapsed .spa-sidebar-nav a span,
    body.spa-sidebar-collapsed .spa-sidebar-profile {
        display: none;
    }

    body.spa-sidebar-collapsed .spa-sidebar-nav a.spa-active {
        border-left: none;
        border-right: 3px solid var(--color-accent);
    }
}

/* ============================================================
   🖼️ SPA-CONTENT - Contenedor base
   ============================================================ */
.spa-content {
    position: relative;
    overflow: hidden;
}

/* ============================================================
   📱 MÓVIL / TABLET (<1200px): Layout flexible con scroll nativo
   ============================================================ */
@media (max-width: 1199px) {
    .spa-content {
        display: flex;
        flex-direction: column;
    }

    .spa-view {
        position: relative;
        flex: 1 1 auto;
        display: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: auto;
        background: var(--color-bg);
    }

    .spa-view.active {
        display: block;
    }
}

/* ============================================================
   💻 ESCRITORIO (≥1200px): Layout con position absolute
   ============================================================ */
@media (min-width: 1200px) {
    .spa-view {
        width: 100%;
        height: 100%;
        min-height: calc(100vh - var(--header-height));
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: auto;
        background: var(--color-bg);
    }

    .spa-view.active {
        display: block;
    }
}

/* ============================================================
   🔘 HEADER DEL SIDEBAR
   ============================================================ */
.spa-sidebar-header {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.spa-sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.spa-sidebar-toggle:hover { background-color: rgba(255, 255, 255, 0.15); }

.spa-sidebar-header-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

/* ============================================================
   📋 NAVEGACIÓN DEL SIDEBAR
   ============================================================ */
.spa-sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
}

.spa-sidebar-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    margin: 0;
}

.spa-sidebar-nav li { margin: 0; }

.spa-sidebar-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    transition: background-color 0.2s;
    font-weight: 500;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.spa-sidebar-nav a:hover { background: rgba(255, 255, 255, 0.12); }

.spa-sidebar-nav a.spa-active {
    background: rgba(52, 152, 219, 0.25);
    border-left-color: var(--color-accent);
    font-weight: 600;
}

.spa-sidebar-nav i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   👤 PERFIL EN SIDEBAR
   ============================================================ */
.spa-sidebar-profile {
    padding: 1rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    outline: none;
}

.spa-sidebar-profile:hover {
    background: rgba(255, 255, 255, 0.14);
}

.spa-sidebar-profile:active {
    background: rgba(0, 0, 0, 0.22);
    transform: scale(0.98);
}

.spa-sidebar-profile.spa-active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 4px 0 0 0 #ffffff;
}

.spa-sidebar-profile:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.spa-sidebar-profile-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.spa-sidebar-profile:hover .spa-sidebar-profile-icon {
    background: rgba(255, 255, 255, 0.25);
}

.spa-sidebar-profile-info h4 { font-size: 0.9rem; color: white; margin: 0; font-weight: 600; }
.spa-sidebar-profile-info p {
    font-size: 0.75rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ============================================================
   📱 BOTONES INFERIORES (móvil/tablet)
   ============================================================ */
.spa-bottom-toggle {
    position: fixed;
    bottom: 70px;
    right: 0;
    width: 10px;
    height: 50px;
    background: rgba(139, 69, 19, 0.6);
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 991;
    transition: all 0.2s;
    padding: 0;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.spa-bottom-toggle:hover { width: 12px; background: rgba(139, 69, 19, 0.9); }
.spa-bottom-toggle.active { background: rgba(139, 69, 19, 0.9); width: 12px; }

@media (min-width: 1200px) {
    .spa-bottom-toggle { display: none !important; }
    .spa-bottom-buttons { display: none !important; }
}

.spa-bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: space-around;
    padding: 8px 4px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 990;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.spa-bottom-buttons.active { display: flex; }

.spa-bottom-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 6px 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 18%;
    font-size: 0.7rem;
    opacity: 0.9;
    transition: all 0.2s;
}

.spa-bottom-btn:hover { background: rgba(255,255,255,0.15); opacity: 1; }
.spa-bottom-btn i { font-size: 1rem; color: rgba(255,255,255,0.9); }

.spa-bottom-btn span {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ============================================================
   🔐 MODO LOGIN
   ============================================================ */
body.spa-login-mode .spa-header,
body.spa-login-mode .spa-sidebar-overlay,
body.spa-login-mode .spa-bottom-buttons,
body.spa-login-mode .spa-bottom-toggle {
    display: none !important;
}

body.spa-login-mode .spa-content {
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: 0 !important;
}

body.spa-login-mode .spa-sidebar { display: none !important; }
body.spa-login-mode .spa-header { margin-left: 0 !important; }

/* ============================================================
   🛠️ CLASES UTILITARIAS
   ============================================================ */
.spa-hidden { display: none !important; }

/* ============================================================
   📐 RESPONSIVE - AJUSTES GENERALES
   ============================================================ */
@media (min-width: 1200px) {
    .spa-header { padding: 0.6rem 1.5rem; height: 56px; }
    .spa-logo h1 { font-size: 1.3rem; }
    .spa-user span { display: inline; }
}

@media (max-width: 1199px) {
    .spa-header { padding: 0.5rem 0.8rem; }
    .spa-user span { display: none; }
}

@media (max-width: 480px) {
    :root { --sidebar-width: 240px; --header-height: 48px; }
    .spa-header { padding: 0.4rem 0.6rem; height: var(--header-height); }
    .spa-logo h1 { font-size: 1rem; }
    .spa-menu-toggle { width: 32px; height: 32px; font-size: 1.2rem; padding: 0.3rem; }
    .spa-logout-btn { width: 32px; height: 32px; padding: 0.3rem; }
    .spa-bottom-toggle { width: 8px; height: 40px; bottom: 60px; }
    .spa-bottom-buttons { padding: 6px 2px; }
    .spa-bottom-btn { width: 19%; padding: 4px 2px; font-size: 0.65rem; }
    .spa-bottom-btn i { font-size: 0.9rem; }
}

@media (max-width: 320px) {
    .spa-bottom-btn span { display: none; }
    .spa-bottom-btn i { font-size: 1rem; margin-bottom: 0; }
}

/* ============================================================
   🍞 SISTEMA DE NOTIFICACIONES TOAST (MODERNIZADO)
   ============================================================ */
.spa-toast-container {
    position: fixed;
    top: 70px;
    right: 14px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 90vw;
}

@media (min-width: 1200px) {
    .spa-toast-container { top: 76px; right: 24px; }
}

.spa-toast {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 13px 18px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 420px;
    transform: translateX(125%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
    pointer-events: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid #4b5563;
    font-size: 0.92rem;
    font-family: var(--font-sans);
}

@media (max-width: 480px) {
    .spa-toast {
        min-width: auto;
        max-width: 100%;
        padding: 11px 15px;
        font-size: 0.88rem;
    }
}

.spa-toast.show { transform: translateX(0); opacity: 1; }

.spa-toast-icon { font-size: 1.15rem; flex-shrink: 0; }

.spa-toast-info { border-left-color: var(--color-accent); }
.spa-toast-info .spa-toast-icon { color: var(--color-accent); }

.spa-toast-success { border-left-color: var(--color-success); }
.spa-toast-success .spa-toast-icon { color: var(--color-success); }

.spa-toast-warning { border-left-color: var(--color-warning); }
.spa-toast-warning .spa-toast-icon { color: var(--color-warning); }

.spa-toast-error { border-left-color: var(--color-danger); }
.spa-toast-error .spa-toast-icon { color: var(--color-danger); }

.spa-toast-message { flex: 1; color: var(--color-text); font-weight: 500; line-height: 1.4; }

.spa-toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spa-toast-close:hover { background: #f3f4f6; color: #1f2937; }

.spa-toast.hiding { transform: translateX(125%); opacity: 0; }

/* ============================================================
   📭 ESTADOS VACÍOS ORIENTADORES (Solo texto explicativo y orientador)
   ============================================================ */
.empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 24px;
    margin: 16px auto;
    background: #ffffff;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    max-width: 580px;
    width: 100%;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease;
}

.empty-state-box:hover {
    border-color: #9ca3af;
}

.empty-state-title {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.empty-state-hint {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: #6b7280;
    max-width: 440px;
    line-height: 1.5;
    margin: 0;
}

.empty-state-table {
    text-align: center;
    padding: 32px 16px !important;
    background: #fafafa !important;
}

.empty-state-table .empty-state-title {
    font-size: 0.96rem;
    color: #374151;
    margin-bottom: 4px;
}

.empty-state-table .empty-state-hint {
    font-size: 0.84rem;
    color: #6b7280;
}