


#fixed-menu-toggle {
    position: absolute;
    /*top: 20px;*/
     top: 110px;
    right: 20px;
    width: 40px;
    height: 40px;
    /* width: auto;
    height: auto;
    padding: .5em; */
    background-color: #0f172a; 
    border-radius: 1px; 
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s ease;
}

#fixed-menu-toggle.menu-open {
    background-color: #0f172a; 
}


#fixed-menu-toggle svg {
    color: #fff;
}

#fixed-menu-toggle .close-icon {
    display: none;
}

#fixed-menu-toggle.menu-open .close-icon {
    display: block;
}

#fixed-menu-toggle.menu-open .dots-icon {
    display: none;
}


/* #fixed-menu-dropdown {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    background-color: #1e1e1e;
    color: #fff;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    border-radius: 4px;
    max-height: 40vh;
    overflow-y: hidden;
}
.dropdown-header {
    display: flex;
    align-items: center;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 15px 0;
    display: flex;
    align-items: center;

}
.dropdown-scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(70vh - 200px); 
}
.dropdown-footer {
    position: sticky;
    bottom: 0;
    background-color: #1e1e1e;
    z-index: 10;
    padding: 15px 0;
    align-items: center;
}
.dropdown-scrollable-content::-webkit-scrollbar {
    width: 6px;
}
.dropdown-scrollable-content::-webkit-scrollbar-track {
    background: #333;
}
.dropdown-scrollable-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}
.dropdown-scrollable-content .dropdown-section {
    padding: 0 15px;
} */



#fixed-menu-dropdown {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    background-color: #1e1e1e;
    color: #fff;
    padding: 0; /* Remove padding from main container */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    border-radius: 4px;
    max-height: 70vh;
    overflow: hidden; /* Prevent overall scrolling */
    /* display: flex; */
    flex-direction: column;
}

.dropdown-header {
    position: sticky;
    top: 0;
    background-color: #1e1e1e;
    z-index: 10;
    padding: 15px;
    display: flex;
    align-items: center;
}

.dropdown-scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(70vh - 300px); /* Adjust based on header and footer height */
    /* padding: 0 15px; */
    padding: 15px;
}

.dropdown-footer {
    position: sticky;
    bottom: 0;
    background-color: #1e1e1e;
    z-index: 10;
    padding: 15px;
}

/* Ensure scrollbar is visible */
.dropdown-scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-scrollable-content::-webkit-scrollbar-track {
    background: #333;
}

.dropdown-scrollable-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

/* Add padding to scrollable content sections */
/* .dropdown-scrollable-content .dropdown-section {
    padding: 0 15px;
} */


.avatar-container {
    flex: 0 0 50px;
    margin-right: 15px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #5c3c2f;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 38px;
    position: relative;
    overflow: hidden;
}

.avatar-circle svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.user-info {
    flex: 1;
}

.user-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: whitesmoke;
    white-space: normal;       
    overflow-wrap: break-word; 
    word-break: break-word;    
    max-width: 100%;           
}

.user-info h4 {
    margin: 5px 0;
    font-size: 12.5px;
    font-weight: 500;
    color: whitesmoke;
    white-space: normal;       
    overflow-wrap: break-word; 
    word-break: break-word;    
    max-width: 100%;           
}

.user-info p {
    margin: 5px 0;
    font-size: 12px;
    color: whitesmoke;
    white-space: normal;       /* Allow line breaks */
    overflow-wrap: break-word; /* Break long words if needed */
    word-break: break-word;    /* Older fallback support */
    max-width: 100%;           /* Prevent it from exceeding container */
}

.user-info a {
    color: #4d99f7;
    text-decoration: underline;
    font-size: 12px;
}

.dropdown-divider {
    height: 1px;
    background-color: #494949;
    /* background-color: whitesmoke; */
    margin: 10px 0;
}

.dropdown-section {
    margin-bottom: 5px;

}

.dropdown-section h4 {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    white-space: normal;       /* Allow line breaks */
    overflow-wrap: break-word; /* Break long words if needed */
    word-break: break-word;    /* Older fallback support */
    max-width: 100%;           /* Prevent it from exceeding container */
}

.custom-menu-item {
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* 
.custom-menu-item:hover {
    background-color: #4E4443;
    color: #ECB447;
    font-weight: 800;
} */


.custom-menu-item:focus, .custom-menu-item:active {
    /* background-color: transparent;
    color: whitesmoke;
    outline: none; */
        background-color: #4E4443;
    color: #ECB447;
    font-weight: 800;
}

/* .custom-menu-item:active {
    background-color: #dca54a !important;
    border-radius: 5%;
} */

.external-link-icon svg {
    width: 16px;
    height: 16px;
    stroke: #bdbdbd;
}

.progress-bar {
    height: 6px;
    background-color: #333;
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4d99f7;
}

.credits-info {
    font-size: 14px;
    margin-bottom: 10px;
}

.credits-reset {
    font-size: 12px;
    color: #bdbdbd;
}

.credits-reset p {
    margin: 5px 0;
}


@media screen and (min-width: 921px) {
    #fixed-menu-toggle {
        display: none;
    }
    
}


@media screen and (max-width: 920px) {
    #fixed-menu-toggle {
        display: flex;
    }


    div.ast-builder-layout-element.ast-flex.site-header-focus-item {
        display: none !important;
    }

}



div.ast-custom-button {
    background-color: whitesmoke;
    color: black;
    transition: background-color 0.3s ease;
}


@media (max-width: 299.9px)  {

    #fixed-menu-dropdown {
        width: 230px;
    }

}


@media (min-width: 300px) and (max-width: 329.9px)  {

    #fixed-menu-dropdown {
        width: 270px;
    }

}

.has-submenu {
    padding: 10px 0;
    cursor: pointer;
    /* display: flex; */
    display: block;
    justify-content: space-between;
    align-items: center;
}

  .submenu  {
    display: none;
  }
  
  /* When we toggle “open” on the parent, show it */
  .has-submenu.open > .submenu {
    display: block !important;
    white-space: pre-line;
  }

  #arrow_expandable {
    margin-left: 170px;
  }


  .has-submenu2 {
    padding: 10px 0;
    cursor: pointer;
    /* display: flex; */
    display: block;
    justify-content: space-between;
    align-items: center;
}

  .submenu2  {
    display: none;
  }
  
  /* When we toggle “open” on the parent, show it */
  .has-submenu2.open > .submenu2 {
    display: block !important;
    white-space: pre-line;
  }

  #arrow_stories_expandable {
    margin-left: 185.7px;
  }


  












