/* Custom Style for Pilkades Karangsatria - Versi Simpel & Elegan */
:root {
    --primary-navy: #0D1B3D;
    --primary-blue: #122B5A;
    --accent-gold: #FFC107;
    --accent-orange: #FE5000;
    --bg-page: #f8fafc;
    --card-border: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-page);
    color: #1e293b;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Header Gradient */
.header-banner {
    background: linear-gradient(135deg, #0D1B3D 0%, #122B5A 60%, #1e3a8a 100%);
}

/* Badge Styles */
.badge-uno {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.badge-calon-lain {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.badge-netral {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.badge-belum {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Card Hover Effects */
.rw-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.rw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

/* Status Indicator Dot */
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.dot-uno { background-color: #22c55e; }
.dot-calon-lain { background-color: #ef4444; }
.dot-netral { background-color: #94a3b8; }
.dot-belum { background-color: #f59e0b; }

/* Table Container (Tanpa scroll vertikal internal) */
.sticky-table-container {
    overflow-x: auto;
}
.sticky-col-rw {
    position: sticky;
    left: 0;
    z-index: 10;
}
.sticky-col-wilayah {
    position: sticky;
    left: 55px;
    z-index: 10;
}

/* Modal Animations */
.modal-backdrop {
    backdrop-filter: blur(3px);
    background-color: rgba(15, 23, 42, 0.65);
}

/* Print Styles */
@media print {
    body {
        background: #fff;
        color: #000;
        font-size: 11px;
    }
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .header-banner {
        background: #0D1B3D !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .sticky-table-container {
        max-height: none !important;
        overflow: visible !important;
    }
    .rw-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
    }
}
