/* ===============================
   NAVBAR / GLOBAL
   =============================== */

/* Let the .navbar expand at larger breakpoints */
.navbar {
    border-bottom: 1.5px solid #0a97b0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px; /* Adjust if needed */
    z-index: 1030;
}

/* Show the hamburger icon properly */
.navbar-toggler {
    border-color: #ccc; /* optional */
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%288, 8, 8, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Make sure body has enough top padding for the fixed navbar */
body {
    padding-top: 70px; /* or 60px + some extra if needed */
}

/* Green active dot near user icon */
.active-dot {
    height: 7px;
    width: 7px;
    background-color: #4cbb17;
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
}

/* ===============================
   SIDEBAR & PAGE CONTENT
   =============================== */

#wrapper {
    display: flex;
}

/* Sidebar: fixed at left, under the 60px navbar */
#sidebar-wrapper {
    position: fixed;
    top: 60px; /* match your navbar's height if it's 60px */
    left: 0;
    width: 250px;
    height: calc(100% - 60px);
    background-color: #31B8FB; /* <--- DESIRED SIDEBAR COLOR */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow-y: auto; /* scroll if taller than screen */
}

/* Offset main content to the right by 250px so sidebar is visible */
#page-content-wrapper {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
    width: 100%;
    min-height: 100vh;
}

/* Toggled: Hide the sidebar */
#wrapper.toggled #sidebar-wrapper {
    left: -250px;
}

/* Toggled: Expand content fully */
#wrapper.toggled #page-content-wrapper {
    margin-left: 0;
}

/* ===============================
   SIDEBAR LINKS
   =============================== */

.sidebar-list > li {
    margin-bottom: 0.5rem;
}

.sidebar-list li a {
    display: block;
    padding: 8px 12px;
    transition: background-color 0.2s;
    border-radius: 4px;
    color: #fff !important; /* <--- FORCE WHITE TEXT */
    text-decoration: none;
}

.sidebar-list li a:hover {
    background-color: #1D88E5; /* Hover color */
    color: #fff !important;
    text-decoration: none;
}

/* Extra indentation for submenus (optional) */
.pl-3 {
    padding-left: 1rem !important;
}
.pr-3 {
    padding-right: 1rem !important;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: black !important;
    text-decoration: none !important;
}
.navbar-nav .nav-link:hover {
    color: #31B8FB !important;
    text-decoration: underline !important;
}

/* Example media query for smaller screens:
   (uncomment if you need mobile toggle behavior)
   
@media (max-width: 768px) {
    #sidebar-wrapper {
        left: -250px;
    }
    #wrapper.toggled #sidebar-wrapper {
        left: 0;
    }
}
*/
