/* =================================================================
   FILE: public/assets/css/style.css
   TEMA: SIAKAD STAIDQ (Modern Islamic University)
   ================================================================= */

:root {
    --staidq-blue: #003366;
    --staidq-gold: #FFD700;
    --staidq-light: #f4f6f9;
    --staidq-dark: #343a40;
}

body {
    background-color: var(--staidq-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Wraper Utama */
#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* Sidebar Styles */
#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: var(--staidq-blue);
    color: #fff;
    transition: all 0.3s;
    min-height: 100vh;
    z-index: 1000;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #002244;
    text-align: center;
    border-bottom: 2px solid var(--staidq-gold);
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 12px 20px;
    font-size: 1.1em;
    display: block;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

#sidebar ul li a:hover, #sidebar ul li.active > a {
    background: var(--staidq-gold);
    color: var(--staidq-blue);
    font-weight: bold;
}

#sidebar ul li a i {
    margin-right: 10px;
}

/* Content Styles */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* Top Navbar */
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--staidq-gold);
}

/* Cards Dashboard */
.card-dashboard {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.card-dashboard:hover {
    transform: translateY(-5px);
}
.card-icon {
    font-size: 3rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
}