
:root {
    --main-content-margin: 250px; /* default expanded */
}

*{
    padding: 0;
    margin: 0;
}
html, body{
    height: 100vh;
}

.expanded {
    margin-left: 0;
}
.iconsidebar {
    width: 60px;
    height: 100vh;
    background: #19263F;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    cursor: pointer;
    position: relative;
    transition: width 0.5s ease-in-out;
    overflow: hidden;
    z-index: 1000;
}
.iconsidebar ul {
    list-style: none;
    padding: 10px;
}
.main-content {
    
    height: 100vh; /* Make sure it matches */
    overflow-y: auto; /* Enables scrolling if content overflows */
    padding: 20px;
}
.iconsidebar li {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.iconsidebar li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.iconsidebar li img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-left: 10px;
}

.iconsidebar li span {
    display: none;  /* Initially hide text */
    white-space: nowrap;
}

/* Sidebar expanded class */
.iconsidebar.expanded {
    width: 250px; /* Expand width */
}

.iconsidebar.expanded li span {
    display: inline;
}

.iconsidebar.expanded .textlogo {
    display: inline;
}

/* Toggle button styling */
.navbar {
    background-color: #19263F;
    padding: 10px;
    position: sticky;
}
.iconsidebar a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    margin: 10px 0;
    transition: 0.3s;
    cursor: pointer;
}

.logo{
    color: white;
    height: 41px;
    width: 160px;
}
.textlogo {
    filter: brightness(0) invert(1);
   
}
.iconsidebar .textlogo {
    display: none; /* Initially hide the text logo */
}
.menu a {
    color: white;
}
.bill-icon{
    color: white;
}
/* .dashboard:hover{
background-color: #E8EAEC;
border-radius: 5px;
} */
.vector{
    height: 24px;
    width: 24px;
}
.searchbox{
    border-right: none;
    
}
.searchicon{
    cursor: pointer;
    padding-right: 10px;
    margin-right: 10px;
}
.input-group{
    margin-right: 10px;
}
.hicon{
    cursor: pointer;
}
.card-header{
    width: 100%;
    background-color: #19263F;
}
.card{
    background-color: #E8EAEC;
    
}
.card-body i{
    margin-top: 0;
}   
.status-bar{
    font-weight: 500;
    background-color: #34C759;
}
.status-bar2{
    font-weight: 500;
    background-color: #F6F6F6;
    color: black;
}

.cicon1{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    width: 38px;
    height: 28px;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
}
.cicon2{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    width: 38px;
    height: 28px;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
}
.cicon3{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    width: 38px;
    height: 28px;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
}

.navbar{
    background-color: #19263F;
    color: white;
    height: 60px;
    margin-left: 0%;
    width: 100%;
}
.header-button:{
    background-color: none;

}
.nav-items{
    display: flex;
    justify-content: space-between;
    background-color: none;
    position: sticky;
}
nav.sidebar ul.nav li .nav-link {
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}
 .sidebar-items:hover {
    background-color: #30415A !important; /* Forces the hover effect */
    color: #ffffff !important;
    border-radius: 5px;
}
.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   
}
.dropdown .btn {
    border: none !important;
}
   
.dropdownbody{
        background-color: #F6F6F6;
    }
.cicon{
 cursor: pointer;
}

#layoutid {
    margin-left: var(--main-content-margin, 250px); /* fallback 250px */
}