/* General body and font */
body {
    font-family: "Segoe UI", sans-serif;
    margin: 0;
}

/* Dashboard Card Styles */
.dashboard-card {
    position: relative;
    height: 320px !important;
    min-height: 320px !important;
    color: white;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.dashboard-card .card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.dashboard-card .card-title,
.dashboard-card .card-text {
    color: #fde895;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.card .card-body i {
    margin-bottom: 10px;
}

.card .card-title {
    font-weight: 600;
}

.card .card-text {
    font-size: 2rem;
    font-weight: 500;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #212529;
    color: #fff;
    overflow-y: auto;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.04);
}
.sidebar .nav-link {
    color: #adb5bd;
    font-weight: 500;
    padding: 0.4rem 24px;
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
    border-radius: 0 2rem 2rem 0;
    font-size: 1rem;
    min-height: 36px;
}
.sidebar .nav-link i {
    margin-right: 12px;
    font-size: 1.3rem;
}
.sidebar .nav-link.collapsed[aria-expanded="true"],
.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: #343a40;
    color: #ffe066;
}
.sidebar .collapse .nav-link {
    padding-left: 48px;
    font-size: 1rem;
    border-radius: 0 2rem 2rem 0;
}
.sidebar .collapse .nav-link i {
    font-size: 1.1rem;
    margin-right: 10px;
}
.sidebar .nav-item {
    margin-bottom: 0.0rem !important;
}
.sidebar .nav-item + .nav-item {
    margin-top: 0.0rem;
}

/* Content Styles */
.content {
    margin-top: 56px; /* Adjust for fixed navbar */
    padding: 1rem;  
    margin-left: 250px;
    height: 81.9vh;
    
}

/* Responsive sidebar */
@media (max-width: 991.98px) {
    .sidebar {
        width: 100%;
        min-height: auto;
    }
    .content {
        margin-left: 0;
        margin-top: 56px;
    }
}