/* Light theme base */
body {
    background-color: #f8f9fa;
    
    
}

/* Top Bar Styling */
div.topbar {
    width: 100%;
    height: 70px;
    background: #2d2d2d !important; /* Dark grey */
    position: sticky; /* Make the top bar sticky */
    top: 0; /* Stick to the top of the viewport */
    z-index: 1001; /* Ensure it stays above other elements */
}
.topbar-logo {
    height: auto; /* Maintain aspect ratio */
    max-height: 50px; /* Ensure the logo does not exceed 50px in height */
    width: auto; /* Ensure the width adjusts proportionally */
    display: block; /* Ensure proper alignment */
    filter: invert(1); /* Invert the logo colors */
}
.date-display {
    font-size: 1rem;
    font-weight: bold;
    color: white; /* Change the date color to white */
}

/* Sidebar Styling */
.sidebar {
    height: 100vh; /* Full viewport height */
    background: #2d2d2d; /* Dark grey */
    color: rgb(130, 130, 130); /* Medium gray for text */
    padding: 20px;
    min-width: 220px;
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it stays above other elements */
}

.sidebar a {
    color: #6b6b6b; /* Medium gray for links */
    text-decoration: none;
    font-size: 13px;
    font-weight: bold; /* Bold font for all links */
    text-transform: uppercase; /* Uppercase text */
    display: block; /* Ensure links take up full width for hover effect */
    padding: 5px 10px; /* Add padding for better spacing */
    border-radius: 4px; /* Rounded corners for hover effect */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover transition */
}

.sidebar a:hover {
    color: white; /* Change text color to white on hover */
    background-color: #444; /* Slightly lighter gray background on hover */
}

.sidebar .nav-item > a {
    font-size: 14px; /* Slightly larger font for parent links */
    font-weight: 700; /* Make parent links slightly bolder */
    color: #c0c0c0; /* Lighter gray for parent links */
}

.sidebar .nav-item > a:hover {
    color: white; /* White text on hover */
    background-color: #555; /* Slightly darker background for parent links on hover */
}

.sidebar .nav-item ul.nav {
    margin-left: 15px; /* Indent child links */
}

.sidebar .nav-item ul.nav a {
    font-size: 13px; /* Smaller font for child links */
    font-weight: 500; /* Normal weight for child links */
    color: #8a8a8a; /* Slightly lighter gray for child links */
}

.sidebar .nav-item ul.nav a:hover {
    color: white; /* White text on hover for child links */
    background-color: #444; /* Slightly lighter gray background on hover */
}

.user-info {
    text-align: center;
}

/* Card Styles */
.card-red { background: #ef4444 !important; color: white !important; }
.card-green { background: #10b981 !important; color: white !important; }
.card-yellow { background: #f59e0b !important; color: white !important; }

/* Dashboard Section and Cards */
.dashboard-section {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}
.dashboard-card {
    flex: 1;
    background-color: #ffffff;
    border-color: #ccc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.dashboard-card h4 {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 10px;
}
.dashboard-card p {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.dashboard-card p.text-primary {
    color: #4A90E2;
}

.dashboard-card p.text-warning {
    color: #F5A623;
}

.dashboard-card p.text-success {
    color: #7ED321;
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    display: inline-block;
}

.container {max-width: 1000px !important;}

/* Navigation Links List */
#nav-links-list {
    list-style: none;
    padding: 0;
}

#nav-links-list .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    cursor: grab;
}

#nav-links-list .list-group-item:hover {
    background-color: #e9ecef;
}

#nav-links-list .nested {
    margin-left: 20px;
    list-style: none;
    padding-left: 15px;
}

