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

body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif; /* Font elegan untuk data */
    color: #334155;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Poppins', sans-serif; /* Font tegas untuk judul */
}

/* Tema Biru Muda & Akses Merah */
.navbar-custom {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
}
.navbar-custom .navbar-brand, .navbar-custom .nav-link {
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

/* Card Animasi Melayang (Hover Float) */
.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* Aksen Garis Kiri */
.card-stats {
    border-left: 5px solid #38bdf8;
    transition: border-left-color 0.4s ease;
}
.card-stats:hover {
    border-left-color: #ef4444; 
}

/* Table Styling */
.table-custom {
    border-radius: 12px;
    overflow: hidden;
}
.table-custom thead th {
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    color: #ffffff !important; 
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.table-custom tbody tr {
    transition: background-color 0.2s ease;
}
.table-custom tbody tr:hover {
    background-color: #f1f5f9;
}

/* Fix Badge Sesi Aktif */
.badge-outline-danger {
    color: #ef4444 !important; /* Memaksa warna merah */
    background-color: #ffffff;
    border: 1px solid #ef4444;
    font-weight: 600;
}

/* Animasi Denyut (Pulse) */
.node-active-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Animasi Fade In Element (JS Trigger) */
.fade-up-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Map Container */
#networkMap {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    z-index: 1;
}