body {
    /* MENGGUNAKAN GAMBAR OBAT-OBATAN & KAPSUL FARMASI YANG SPESIFIK */
    background: url('https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* KITA BIKIN OVERLAYNYA SEDIKIT LEBIH TRANSPARAN AGAR GAMBAR OBAT DI BELAKANGNYA LEBIH JELAS TAPI TEKS TETAP TERBACA */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65); /* Diturunkan dari 0.75 ke 0.65 agar gambar obat lebih kontras */
    backdrop-filter: blur(5px); /* Mengurangi blur sedikit agar objek obatnya terlihat mengenali */
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.main-container {
    position: relative;
    z-index: 2;
}

.header-title h1 {
    color: #1a365d;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.header-title p {
    color: #2d3748 !important;
    font-weight: 500;
}

/* Sisa kode tombol di bawahnya (btn-menu, dll) tetap sama seperti sebelumnya */
.btn-menu {
    border-radius: 20px;
    border: none;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-menu:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.icon-box i {
    transition: transform 0.3s ease;
}

.btn-menu:hover .icon-box i {
    transform: scale(1.15);
}

.btn-gradient-blue {
    background: linear-gradient(135deg, #0288d1, #26c6da);
}

.btn-gradient-green {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
}

.btn-gradient-orange {
    background: linear-gradient(135deg, #e65100, #ffb74d);
}

.btn-gradient-purple {
    background: linear-gradient(135deg, #6a1b9a, #ab47bc);
}

/* Custom CSS Tambahan untuk halaman Login & Dashboard */
.custom-login-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.btn-menu-internal {
    border-radius: 16px !important; /* Membuat ujung sisi menu dalam melengkung kotak */
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-menu-internal:hover {
    transform: scale(1.03);
    filter: brightness(95%);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1) !important;
}

.icon-wrap {
    width: 50px;
    text-align: center;
}

.text-xs {
    font-size: 0.75rem;
}

/* =========================================
   MODERN DASHBOARD STYLES (NEW)
   ========================================= */

/* Typography & Background */
.dashboard-body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    color: #333e50;
    
    /* Override global body flex styles */
    display: block !important;
    height: auto !important;
    overflow-y: auto !important;
}

/* 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; 
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

/* Top Navbar Styling */
.modern-navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
}
.modern-navbar .navbar-brand {
    color: #1e293b !important;
}
.modern-navbar .navbar-text {
    color: #475569 !important;
}

/* Modern Widget Stats */
.stat-widget {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.stat-widget::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 5rem;
    color: rgba(0,0,0,0.03);
    z-index: -1;
    transform: rotate(-15deg);
}
.stat-konseling::after { content: '\f086'; } /* fa-comments */
.stat-pio::after { content: '\f05a'; } /* fa-circle-info */
.stat-meso::after { content: '\f071'; } /* fa-triangle-exclamation */
.stat-hpc::after { content: '\f481'; } /* fa-house-medical */

/* Menu Internal Hover Enhancement */
.btn-menu-internal {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-menu-internal::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}
.btn-menu-internal:hover::before {
    left: 100%;
}