:root {
    --primary-color: #0d6efd;
    --secondary-color: #f8f9fa;
    --text-dark: #333;
    --sidebar-width: 260px;
}

body {
    background-color: #f4f7f6;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* --- SIDEBAR & DASHBOARD STYLES (Untuk User Login) --- */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    z-index: 100;
    padding-top: 20px;
}
.sidebar .nav-link {
    color: #666;
    font-weight: 500;
    margin: 5px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    min-height: 100vh;
}
.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    background: white;
    transition: transform 0.2s;
}
.card-custom:hover {
    transform: translateY(-5px);
}

/* --- LANDING PAGE STYLES (Untuk Tamu) --- */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 100px 0 80px;
    border-radius: 0 0 50px 50px;
    margin-bottom: 50px;
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 20px;
}
.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}
.landing-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Responsiveness */
@media (max-width: 768px) {
    .sidebar { width: 70px; }
    .sidebar .nav-link span, .sidebar h4 { display: none; }
    .main-content { margin-left: 70px; }
    
    /* Landing Responsive */
    .hero-section { text-align: center; padding: 60px 0; border-radius: 0 0 30px 30px; }
    .hero-img { display: none; } 
}
