
:root {
    --primary-blue:  #0033cc;
    --secondary-blue: #3a7cb9;
    --accent-red: #e63946;
    --accent-yellow: #ffbe0b;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}


.sidebar {
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    height: 100vh;
    position: fixed;
    width: 250px;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-menu {
    padding: 0;
    list-style: none;
}

.sidebar-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.sidebar-menu li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu li.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--accent-yellow);
}

.sidebar-menu li a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar-menu li i {
    margin-right: 10px;
    color: var(--accent-yellow);
}

.main-content {
    margin-left: 250px;
    transition: all 0.3s;
}

.top-navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
}

.content-area {
    padding: 20px;
    min-height: calc(100vh - 70px);
}


.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
    padding: 15px 20px;
}

/* Document request, announcement, alert cards */
.document-request-card {
    border-left: 4px solid var(--primary-blue);
}
.announcement-card {
    border-left: 4px solid var(--accent-yellow);
}
.alert-card {
    border-left: 4px solid var(--accent-red);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-warning {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #333;
}

.btn-danger {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

.badge-primary {
    background-color: var(--primary-blue);
}
.badge-warning {
    background-color: var(--accent-yellow);
    color: #333;
}
.badge-danger {
    background-color: var(--accent-red);
}

/* ==========================
   COLLAPSED SIDEBAR STATE
   ========================== */
body.sidebar-collapsed .sidebar {
    width: 80px;
}
body.sidebar-collapsed .sidebar-text,
body.sidebar-collapsed .sidebar-header h3 {
    display: none;
}
body.sidebar-collapsed .main-content {
    margin-left: 80px;
}
body.sidebar-collapsed .sidebar-menu li {
    text-align: center;
    padding: 10px 5px;
}
body.sidebar-collapsed .sidebar-menu li i {
    margin-right: 0;
    font-size: 1.2rem;
}
body.sidebar-collapsed .sidebar-menu li.active {
    border-left: none;
    border-top: 4px solid var(--accent-yellow);
}

.sidebar,
.main-content,
.sidebar-text,
.sidebar-menu li i {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
    .sidebar .sidebar-text,
    .sidebar-header h3 {
        display: none;
    }
    .main-content {
        margin-left: 80px;
    }
    .sidebar-menu li {
        text-align: center;
    }
    .sidebar-menu li i {
        margin-right: 0;
        font-size: 1.2rem;
    }
}
