/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #80808059;
    z-index: 1000;
    background: transparent;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 5%;
    left: 0;
    width: 15%;
    height: 100vh;
    background-color: #1b356d;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Sidebar Collapsed - Fully Hide */
.sidebar.collapsed {
    width: 0;
    visibility: hidden;
    overflow: hidden;
}

/* Sidebar Header */
.sidebar-header {
    height: inherit;
    display: flex;
    justify-content: right;
    background-color: #1E3A8A;
    /* padding: 6px; */
    width: 15%;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

/* Sidebar Toggle Button - Always Visible */
.sidebar-toggle {
    font-size: 22px;
    cursor: pointer;
    color: white;
    position: absolute;
    /* top: 10px; */
    /* left: 10px; */
    background-color: #1E3A8A;
    padding: 5px;
    border-radius: 5px;
    z-index: 1001;
}

/* Sidebar Menu */
.sidebar .sidebar-menu {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Sidebar Items */
.sidebar .menu-item {
    padding: 15px;
    text-align: center;
    color: white;
    cursor: pointer;
    border-bottom: 1px solid #444;
    transition: background 0.3s ease-in-out;
}

.menu-item a {
    color: white;
    text-decoration: none;
}

/* Hover Effect */
.sidebar .menu-item:hover {
    background-color: #3F3F3F;
}

/* Adjust Header & Content when Sidebar Collapses */
.sidebar.collapsed~.header {
    left: 0;
    width: 100%;
}

.sidebar.collapsed~.content {
    margin-left: 0;
}

/* Main Content */
.content {
    margin-left: 15%;
    margin-top: 50px;
    padding: 20px;
    background-color: #F3F4F6;
    min-height: 100vh;
    color: #1F2937;
    transition: margin-left 0.3s ease-in-out;
}

/* Main Heading */
.content h1 {
    color: #2563EB;
}