/* ============================================================
   INDUSTRIAS FARMACÉUTICAS GYT — Premium Dashboard UI
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand-dark: #064e3b;    /* Verde muy oscuro (Header) */
    --brand-primary: #059669; /* Verde esmeralda (Acentos) */
    --brand-light: #d1fae5;   /* Verde muy claro (Fondos) */
    --bg-app: #f3f4f6;        /* Fondo gris claro de la app */
    --surface: #ffffff;       /* Fondo blanco para tarjetas */
    --text-main: #111827;     /* Texto principal casi negro */
    --text-muted: #6b7280;    /* Texto secundario gris */
    --border: #e5e7eb;        /* Bordes sutiles */
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ── HEADER ────────────────────────────── */
.app-header {
    background: var(--brand-dark);
    color: white;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 50;
}
.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.brand-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-icon svg { width: 24px; height: 24px; fill: currentColor; }
.brand-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
.brand-text p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.main-nav {
    display: flex;
    gap: 1rem;
    margin-right: 1rem;
}
.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active { color: white; background: rgba(255,255,255,0.15); font-weight: 600; }

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.btn-logout {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-logout:hover { background: rgba(255,255,255,0.2); }

/* ── CONTENT ────────────────────────────── */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ── SYNC STATUS BANNER ────────────────────────────── */
.sync-banner {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.sync-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.sync-loader {
    width: 48px;
    height: 48px;
    position: relative;
    flex-shrink: 0;
}
.sync-loader svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.sync-loader circle {
    fill: transparent;
    stroke-width: 4;
}
.sync-loader .track { stroke: #e5e7eb; }
.sync-loader .progress {
    stroke: var(--brand-primary);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}
.sync-countdown-text {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-dark);
}
.sync-countdown-text.urgent { color: #ef4444; }
.sync-details h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.1rem; }
.sync-details p { font-size: 0.8125rem; color: var(--text-muted); }
.sync-badge {
    background: var(--bg-app);
    color: var(--text-muted);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* ── KPI GRID ────────────────────────────── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.kpi-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.kpi-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}
.icon-total { background: #f3f4f6; }
.icon-ok { background: #d1fae5; }
.icon-low { background: #fef3c7; }
.icon-out { background: #fee2e2; }
.kpi-data h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.kpi-data .kpi-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.025em;
}

/* ── TOOLBAR (SEARCH & FILTERS) ────────────────────────────── */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: space-between;
    align-items: center;
}
.search-box {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 450px;
    transition: all 0.2s;
}
.search-box:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}
.search-box svg { width: 20px; height: 20px; flex-shrink: 0; fill: var(--text-muted); margin-right: 0.75rem; }
.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background: transparent;
}
.search-box input::placeholder { color: #9ca3af; }

.filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.filter-btn:hover { background: #f9fafb; color: var(--text-main); }
.filter-btn.active {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
}
.filter-btn.active-low { background: #d97706; color: white; border-color: #d97706; }
.filter-btn.active-out { background: #dc2626; color: white; border-color: #dc2626; }

/* ── TABLE CONTAINER ────────────────────────────── */
.table-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}
.table-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.table-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
}
.result-tag {
    background: var(--bg-app);
    color: var(--text-muted);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border);
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th {
    background: #f9fafb;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-main);
    vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background-color: #f9fafb; }

/* ── TABLE CELLS FORMATTING ────────────────────────────── */
.cell-code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--brand-dark);
    font-weight: 600;
    background: var(--brand-light);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    white-space: nowrap;
}
.cell-desc { font-weight: 600; color: #111827; }
.cell-unit { color: var(--text-muted); font-size: 0.8125rem; font-weight: 500; }
.cell-price { font-weight: 700; color: var(--brand-primary); font-size: 0.95rem; }
.cell-date { color: var(--text-muted); font-size: 0.8125rem; }

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}
.status-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.status-ok { background: #d1fae5; color: #065f46; }
.status-ok::before { background: #10b981; }
.status-low { background: #fef3c7; color: #92400e; }
.status-low::before { background: #f59e0b; }
.status-out { background: #fee2e2; color: #991b1b; }
.status-out::before { background: #ef4444; }

.empty-state {
    padding: 5rem 2rem;
    text-align: center;
    color: var(--text-muted);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { font-size: 1.125rem; color: var(--text-main); margin-bottom: 0.5rem; }

/* ── UTILS ────────────────────────────── */
.text-right { text-align: right; }
.text-center { text-align: center; }
.hidden { display: none !important; } /* Para el JS */

/* RESPONSIVE */
@media (max-width: 1024px) {
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FORMS, CARDS & BUTTONS (Restored)
   ============================================================ */
.form-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}
.form-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--brand-dark);
    border-bottom: 2px solid var(--brand-light);
    padding-bottom: 0.5rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #f9fafb;
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.input-sm { padding: 0.4rem 0.6rem; font-size: 0.85rem; }

.btn, .btn-primary, .btn-secondary, .btn-danger, .btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary { background: var(--brand-primary); color: white; }
.btn-primary:hover { background: #047857; }
.btn-secondary { background: white; color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary:hover { background: #f3f4f6; }
.btn-danger { background: #fee2e2; color: #991b1b; }
.btn-danger:hover { background: #fecaca; }
.btn-block { width: 100%; }

.alert { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; font-weight: 500; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }

/* TABLE CONTAINER FOR FORMS */
.table-container {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); }
.data-table th { background: #f9fafb; font-weight: 600; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.data-table tbody tr:hover { background: #f8fafc; }

.table-input {
    width: 75px;
    padding: 0.35rem 0.4rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
    background: #ffffff;
}
.table-input:focus {
    border-color: var(--brand-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}




/* ============================================================
   TOTALS BOX (Restored)
   ============================================================ */
.totals-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.tot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-muted);
}
.tot-row.grand, .tot-row.tot-final {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    border-top: 2px dashed var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
}



/* ============================================================
   AUTH / LOGIN STYLES
   ============================================================ */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    padding: 1.5rem;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    margin: auto;
}
.auth-brand { text-align: center; margin-bottom: 1.25rem; }
.auth-brand img { max-width: 160px; height: auto; object-fit: contain; }
.auth-card h2 { font-size: 1.4rem; font-weight: 700; color: #064e3b; text-align: center; margin-bottom: 0.35rem; }
.auth-sub { text-align: center; color: #6b7280; font-size: 0.88rem; margin-bottom: 1.5rem; }
.btn-auth {
    width: 100%;
    background: #059669;
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
}
.btn-auth:hover { background: #047857; }
.auth-divider { border: none; border-top: 1px solid #f3f4f6; margin: 1.5rem 0 1.25rem 0; }
.auth-footer { text-align: center; font-size: 0.85rem; color: #6b7280; }
.auth-footer a { color: #059669; font-weight: 600; text-decoration: none; }



        /* ── TABLA DE DETALLES COMPACTA Y SIN SCROLL INNECESARIO ── */
        #tablaDetalles {
            width: 100%;
            border-collapse: collapse;
            table-layout: auto;
        }
        #tablaDetalles th, #tablaDetalles td {
            padding: 0.55rem 0.35rem !important;
            font-size: 0.83rem;
            vertical-align: middle;
        }
        #tablaDetalles th {
            font-size: 0.72rem;
            color: #4b5563;
            font-weight: 700;
            background: #f8fafc;
            border-bottom: 2px solid #e5e7eb;
            line-height: 1.2;
        }
        #tablaDetalles .col-desc {
            min-width: 150px;
        }
        #tablaDetalles .table-input {
            width: 48px !important;
            padding: 0.35rem 0.2rem !important;
            font-size: 0.82rem !important;
            text-align: center !important;
            border: 1px solid #d1d5db !important;
            border-radius: 6px !important;
            background: #ffffff !important;
            box-sizing: border-box !important;
        }
        #tablaDetalles .table-input:focus {
            border-color: #059669 !important;
            outline: none !important;
            box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15) !important;
        }
        #tablaDetalles .table-input-qty {
            width: 52px !important;
            font-weight: 600 !important;
        }
        #tablaDetalles .table-input-price {
            width: 66px !important;
            text-align: right !important;
            font-weight: 600 !important;
            padding-right: 0.3rem !important;
        }
        #tablaDetalles input[type=number]::-webkit-inner-spin-button,
        #tablaDetalles input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        #tablaDetalles input[type=number] {
            -moz-appearance: textfield;
        }
        #tablaDetalles .table-input-total-edit {
            width: 72px !important;
            font-weight: 700 !important;
            color: #065f46 !important;
            background: #ecfdf5 !important;
            border: 1px solid #10b981 !important;
            border-radius: 6px !important;
            text-align: right !important;
            padding-right: 0.35rem !important;
        }
        #tablaDetalles .table-input-total-edit:focus {
            outline: none !important;
            border-color: #059669 !important;
            box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
        }
        #tablaDetalles .table-input-sin-igv {
            width: 78px !important;
            font-size: 0.81rem !important;
            padding: 0.35rem 0.15rem !important;
            text-align: right !important;
        }
        #tablaDetalles .table-input-plist {
            width: 66px !important;
            text-align: right !important;
            font-weight: 700 !important;
            color: #065f46 !important;
            background: #f0fdf4 !important;
            border: 1.5px solid #10b981 !important;
            box-shadow: 0 1px 2px rgba(16, 185, 129, 0.12) !important;
        }
        #tablaDetalles .table-input-plist:focus {
            border-color: #059669 !important;
            box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25) !important;
        }
        #tablaDetalles .btn-del-item {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
            padding: 0.3rem 0.55rem;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            line-height: 1;
            transition: all 0.15s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        #tablaDetalles .btn-del-item:hover {
            background: #ef4444;
            color: #ffffff;
            border-color: #dc2626;
        }


@media (max-width: 768px) {
    /* TOP HEADER: Modo App (Fino y Elegante) */
    .app-header {
        padding: 0.5rem 1rem;
        height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .brand-container {
        flex-direction: row;
        align-items: center;
        margin: 0;
        gap: 0.5rem;
    }
    .brand-icon { width: 32px; height: 32px; }
    .brand-text h1 { font-size: 1rem; margin: 0; }
    .brand-text p { display: none; }
    
    .header-actions {
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    .user-profile { display: none; }
    .btn-logout { padding: 0.3rem 0.6rem; font-size: 0.75rem; }
    
    /* BOTTOM NAVIGATION: Estilo Instagram/Facebook */
    body { padding-bottom: 70px; }
    .main-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0.5rem 0.2rem;
        margin: 0;
        z-index: 9999;
    }
    .nav-link {
        color: var(--text-muted) !important;
        background: transparent !important;
        font-size: 0.65rem;
        padding: 0.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        flex: 1;
        text-align: center;
        font-weight: 600;
        white-space: normal;
        border-radius: 0;
    }
    .nav-link.active {
        color: var(--brand-dark) !important;
    }
    /* Boton de Nuevo Pedido resaltado */
    .nav-link[href="nuevo_pedido.php"] {
        background: var(--brand-primary) !important;
        color: white !important;
        border-radius: 20px;
        padding: 0.4rem 0.6rem !important;
        margin: 0 0.2rem;
    }
    
    /* Contenido */
    .main-content { padding: 1rem 0.5rem; }
    .sync-banner { flex-direction: column; gap: 0.5rem; text-align: center; }
    .sync-badge { align-self: center; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .search-box { max-width: 100%; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .kpi-card { padding: 1rem; gap: 0.5rem; }
    .kpi-data .kpi-val { font-size: 1.5rem; }
    .kpi-icon-wrap { width: 40px; height: 40px; font-size: 1.2rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    
    /* Tablas a Tarjetas */
    .table-container { border: none; box-shadow: none; border-radius: 0; padding: 0; }
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table tr {
        margin-bottom: 1rem;
        background: white;
        border: 1px solid var(--border);
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        padding: 0.5rem;
    }
    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px solid #f3f4f6;
        text-align: right;
    }
    .data-table td:last-child { border-bottom: none; }
    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.75rem;
        margin-right: 1rem;
        text-align: left;
    }
    .action-group { justify-content: flex-end; }
}
