/* Custom styles for layout */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Comfortaa", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    background-color: #28a0dd;
    padding: 10px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
}

.header .brand {
    font-size: 1.5rem;
}

.header .user-info {
    text-transform: uppercase;
}

.modal {
    z-index: 99999;
}

h1 {
    font-size: 26px;
    border-bottom: 1px solid rgb(180,180,180);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.layout {
    display: flex;
    min-height: calc(100vh - 60px); /* Subtracting header height for main content */
    margin-top: 70px;
}

#calendar {
    z-index: 0;
}

/* Sidebar styling */
.sidebar {
    width: 250px;
    background-color: #343a40;
    color: white;
    padding-top: 20px;
    z-index: 999;
}

/* Sidebar links */
.sidebar a {
    color: white;
    padding: 15px;
    display: block;
    text-decoration: none;
}

.sidebar a:hover {
    background-color: #495057;
}

.sidebar a.active {
    font-weight: bold; /* Make the text bold */
    background-color: #f0f0f0; /* Optional: Change background color for active state */
    color: #28a0dd; /* Optional: Change text color for active link */
}

/* Content area */
.content {
    flex: 1;
    padding: 20px;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .header .brand, .header .user-info {
        font-size: 14px;
    }
    .header .user-info {
        font-size: 12px;
    }
    .layout {
        display: block;
    }
    
    .sidebar {
        position: fixed;
        left: -250px;
        top: 60px; /* Below the header */
        height: calc(100vh - 60px); /* Full height minus header */
        transition: 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }

    /* Burger menu button */
    #menu-toggle {
        display: block;
    }
}

.navbar-icon {
    width: 20px;
    height: 15px;
    display: block;
    border-top: 2px solid #28a0dd;
    border-bottom: 2px solid #28a0dd;
    position: relative;
}
.navbar-icon:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: #28a0dd;
    margin-top: -1px;
}
/* Desktop View */
@media (min-width: 769px) {
    .sidebar {
        position: fixed;
        top: 60px; /* Below the header */
        left: 0;
        height: calc(100vh - 60px); /* Full height minus header */
    }

    /* Hide burger button */
    #menu-toggle {
        display: none;
    }

    .content {
        margin-left: 250px; /* Adjust content margin when sidebar is visible */
    }
}

#header {
    background: #28a0dd;
    color: white;
    padding: 20px 0;
}

#header3 {
    background: #28a745;
    color: white;
    padding: 20px 0;
}

#header6 {
    background: #e83e8c;
    color: white;
    padding: 20px 0;
}

.part {
    border: 1px solid rgba(0,0,0,.3);
    border-radius: 10px;
    padding: 20px;
}
.part.inactive {
    opacity: .5;
}
.btn p {
    color: #212529;
    font-size: 14px;
    margin-top: 10px;
}
.btn:hover p {
    color: white;
}

.admin-sidebar {
    background: #212529;
}

