/* ==========================================================================
   MSGLOW BI — dashboard publik (navbar atas)
   ========================================================================== */

body.public-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #FDFDFD;
    color: #1E293B;
}

.glass-card {
    background: #ffffff;
    border: 1px solid #F1F5F9;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Navbar */
.nav-link {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.nav-link:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.active-nav {
    color: white !important;
    background: #F97316 !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* P&L table (Summary & Channel) */
.pnl-table { border-collapse: separate; border-spacing: 0; width: 100%; }
.pnl-table thead th {
    background: #F8FAFC;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 10px;
    font-weight: 800;
    color: #64748B;
    padding: 14px 12px;
    border-bottom: 2px solid #F1F5F9;
}
.pnl-table td {
    padding: 14px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #F1F5F9;
    font-size: 12px;
}
.pnl-table tr:hover td { background: #FAFAFA; }
.pnl-table.pnl-table-lg thead th { padding: 16px; }
.pnl-table.pnl-table-lg td { padding: 20px 16px; font-size: inherit; }

/* Tabel sesi KOL */
.kol-table th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    font-weight: 800;
    padding: 12px 16px;
    border-bottom: 2px solid #F1F5F9;
}
.kol-table td {
    font-size: 12px;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
}
.kol-table tr:hover td { background-color: #F8FAFC; }

/* KPI card (Host Live) */
.kpi-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #F1F5F9;
}
.kpi-border { position: absolute; bottom: 0; left: 0; height: 5px; width: 100%; }

/* DataTables (Product & Host Live) */
.dataTables_wrapper { font-size: 12px; }
.dataTables_length select,
.dataTables_filter input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 8px;
    background: white;
    outline: none;
}
.dataTables_filter input { margin-left: 8px; margin-bottom: 8px; }
.dataTables_paginate .paginate_button { border-radius: 6px !important; border: none !important; }
.dataTables_paginate .paginate_button.current { background: #0f172a !important; color: white !important; }
table.dataTable { width: 100% !important; }
table.dataTable thead th { border-bottom: 1px solid #e2e8f0; }
table.dataTable.no-footer { border-bottom: 1px solid #e2e8f0; }

#hostTable thead th {
    border-bottom: 2px solid #F1F5F9 !important;
    color: #94A3B8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px !important;
    white-space: nowrap;
}
#hostTable tbody td {
    border-bottom: 1px solid #F1F5F9 !important;
    font-size: 12px;
    padding: 16px !important;
    white-space: nowrap;
    vertical-align: middle;
}
#hostTable.no-footer { border-bottom: none !important; }
