/* CSS reset */

*{
    margin: 0;padding: 0;box-sizing: border-box;
    /* font-family: Verdana, Geneva, Tahoma, sans-serif !important; */
    font-family: "Ubuntu", serif !important;
    /* background-color: #eee; */
}




/* Font */

*{
    font-family: 'Courier New', Courier, monospace;
}


/* sidebar */

#sidebar{
    /* display: flex; */
    /* flex-direction: column; */
    width: 250px;
    height: 100vh;
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    transition: width 0.3s ease-in-out;
    z-index: 999;
    /* transform: translateX(-100%); */
}


.sidebarContent{
    flex-grow: 1;
}

.bottomSection{
    /* background: #28a745; */
    color: white;
    text-align: left;
    padding: 10px;
    /* overflow: hidden; */
}

.expanded-sidebar{
    transform: translateX(0);
}

.collapsed-sidebar{
    width: 0;
    padding: 0;
    overflow: hidden;
    display: none;
}

.sidebar-link{
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.sidebar-link:hover{
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}



#content{
    margin-left: 0;
    /* padding: 5px; */
    flex-grow: 1;
    transition: margin-left 0.3s ease-in-out;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 60px;
}

.expanded-content{
    margin-left: 250px;
}

.collapsed-content{
    margin-left: 0;
}

#toggle-btn{
    position: absolute;
    top: 15px;
    /* left: 260px; */
    left: 10px;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
}

.collapsed-btn{
    left: 10px !important;
    transition: left 0.3s ease-in-out;
}


/* header */

.navbar{
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links{
    color: #007bff !important;
    font-weight: 500;
}
.nav-links:hover{
    color: #0056b3 !important;
}

.nav-item .btn{
    background-color: #007bff !important;
    color: white !important;
    font-weight: 500;
}

.nav-item .btn:hover{
    background-color: #0056b3 !important;
}


header{
    background-color: #eee;
    width: 100%;
    position: fixed;
    z-index: 999;
    /* display: none; */
}


.header-content{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
}


.userimage, .website-logo{
    height: 90px;
    width: 90px;
    border-radius: 25%;
    padding: 10px;
    margin: 10px;
}

.userimage{
    float: right;
}

.website-logo{
    float: left;
}


.profile-dropdown{
    position: relative;
    display: inline-block;
}

.dropdown-content{
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-height: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 50px;
}


.dropdown-content a{
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover{
    background-color: #f1f1f1;
}

.show{
    display: block;
}


#login{
    margin-right: 15px;
}

/* Bottom Navigation Bar */


.bottom-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #007bff;
    /* justify-content: space-around; */
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav .nav-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    /* color: ; */
    font-size: 0.875rem;
}

/* .bottom-nav .nav-item img{
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
} */

.bottom-nav .nav-item:hover{
    color: #007bff;
}



:root {
    --bg-color-light: #ffffff;
    --text-color-light: #000000;
    --bg-color-dark: #121212;
    --text-color-dark: #ffffff;
}

[data-theme="light"] {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
}

[data-theme="dark"] {
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark);
}

.theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px;
    border: none;
    cursor: pointer;
    background: #007bff;
    color: white;
    border-radius: 5px;
}
