*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
   margin: 0;
    font-family: poppins,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #48465b;
    text-align: left;
    height: 100vh;
    overflow: scroll;
} 
.menuheader.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.menuheader {
    position: absolute;
    top: calc(100% + 24px);
    right: 16px;
    width: 200px;
    min-height: 100px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: 300ms;
}

.menuheader ul {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background: #fff;
}
ul {
    list-style: disc;
}
.menuheader ul li {
    list-style: none;
}

.menuheader ul li a {
    text-decoration: none;
    color: #000 !important;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 6px;
}
   

/* Container class */
.custom-container {
    display: flex;
    flex-direction: column;
    align-items: center;  
    padding: 5px;
    margin-left: 70px; /* pushing container to right to avoid overlapping with the menu */
    transition: margin-left 0.3s;
    overflow: scroll;
}
.custom-container  h1{
    color: rgb(67, 63, 63);
    align-self: flex-start;
    padding: 20px;
}
                            /* Menu styles */
.icon-size {
    width: 20px; 
    height: 20px;
}

.custom-side-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: #1e1b10;
    z-index: 9999; transition: width 0.3s;
} 
.custom-side-menu .side_bar{
    width: 60px; transition: width 0.4s;
}
.custom-side-menu .side_bar .label{
    display: none;
}
.custom-side-menu .side_bar:hover .label{
    display: inline;
}
.custom-side-menu .side_bar:hover{
    width: 280px;
}
.custom-side-menu .side_bar ul{
    padding-left: 0;
}

 /* menu header with the billionaire logo */
.custom-menu-header {
    color: aliceblue;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid rgb(255,255,255,0.2);
}
.menu-item {
    list-style-type: none;
    color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    position: relative; /* Added for dropdown menu positioning */
    transition: background-color 0.3s;
}
.label{
    font-weight: bold; 
    white-space: nowrap;
}
.menu-item a{
    text-decoration: none;
   color: aliceblue;
}
.menu-item svg,
.menu-item a svg{color: #b08c07;}


.menu-item .menu-label{ /*Trying to ensure the label is displayed correctly */
    display: flex;
    justify-content: space-between;
    width: 100%; 
    white-space: nowrap;
    text-overflow: hidden;
}
.menu-item .menu-single{
    display: inline-flex;
    justify-content: flex-start;
    width: 100%;
}

.menu-item:hover, .menu-item.active {
    background-color: rgb(12,6,29, 0.85);
    border-left: 3px solid white;
    padding-left: calc(10px - 3px);
}
.menu-item:hover svg, .menu-item.active svg,
.menu-item:hover a svg, .menu-item.active a svg{
    color: white;
}

/* icon margin from the .label item*/
i.icon {font-style: normal; margin-right: 10px;}

.toggle-view { background: none;border: none;color: #fff;cursor: pointer;
}

/* Search styling */
.search-out{
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 30px;
    padding-top: 10px;
}
/* Sign Out In CSS */
.signout-button{
    background-color: #1c1a23;
    padding: 8px 10px;
    text-decoration: none;
    color: black ;
    border-radius: 5px;
    text-align: center;
 }
 
 .signout-button a{
     text-decoration: none;
     color: black ;
 }
 
.search-box {
    flex: 0.65;
    display: none;
    align-items: center;
    background-color: #fff;
    padding: auto 10px;
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
}

.search-button {
    padding: 14px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #0056b3;
}

/* mobile icons */
.mobile-icons {
    display: none;
  }

/* For screens less than 768px */
@media only screen and (max-width: 888px) {
    
    .toggle-button {
        display: flex;
    }
    .custom-side-menu .side_bar:hover,
    .custom-side-menu .side_bar{
        width: 0;
        overflow: hidden;
    }
    .custom-side-menu .side_bar.open .label{display: inline-block;}
    /* .custom-side-menu .open,
    .custom-side-menu.open .side_bar.open {
        width: 100%;
    } */
    .custom-side-menu .side_bar.open{
        width: 888px; overflow: hidden;
    }
    .custom-side-menu.icon-only:hover,
    .custom-side-menu.icon-only {
        width: 0;
    }
    .custom-menu-header,
    .custom-menu-header .label{
        display: none;
    }
    .custom-container {
        margin-left: 0; /* remove the margin on mobile */
        padding: none; /* reduce the padding on mobile */
        margin-bottom: 60px;
    }
    .search-out {
        flex-direction: column;  /* stack children vertically */
        align-items: stretch;    /* make children stretch to full width */
        /* display: none; */
    }

    .search-box {
        order: 2;   /* Make search box appear second */
        width: 100%; 
        margin-top: 10px; /* Add some space below the sign out button */
    }

    .signout-button {
        width: 20%; 
        order: 1;   /* Make sign out button appear first */ 
        text-align: center;
    }

    .search-input, 
    .search-button {
        padding: 12px;  /* Increase padding for better touch usability */
    }

    .signout-button {
        padding: 10px 0;  /* Increase vertical padding for better touch usability */
    }
    /* mobile icons style */
    .mobile-icons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        width: 100%;
        /* background-color: #1c133a; */
        background-color: #1e1b10;
        border-top: 1px solid #b08c07;
        padding: 5px 0;
        z-index: 999;
      }
      
      .mobile-icons a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center both icon and text */
        text-decoration: none;
      }
      
      .mobile-icons .icon-size {
        width: 25px; 
        height: 25px;
      }
      
      .mobile-icons a i,
      .mobile-icons a span {
        color: gold;
        font-size: x-small;
      }
      #hide-item{
        display: none;
      }
      .float-right{
        float: right;
        top: auto;
        z-index: 999;
      }
}


