 /* Sidebar Navigation */
 .sidebar-container {
    position: sticky;
    top: 12px;
}
 #sidebar-nav {
     width: 255px;
     /* Slightly wider fixed width for sidebar */
     flex-shrink: 0;
     /* Prevent sidebar from shrinking */
     display: flex;
     flex-direction: column;
     align-items: center;
     padding: 1rem;
     background-color: #2c3e50;
     /* Darker blue-gray for sidebar */
     border-radius: 8px;
     /* More rounded corners */
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
     /* Deeper shadow */
     position: sticky;
     /* Sticky sidebar */
     top: 12px;
     /* Adjust as needed */
     height: calc(100vh - 2rem);
     /* Full height minus padding */
     transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
 }
.sidebar-container #sidebar-nav {
    height: calc(100vh - 24px);
    background-color: var(--color-secondary) !important;

}
#sidebar-nav .nav-buttons {
    scrollbar-color: var(--color-secondary) var(--color-secondary);
    scrollbar-width: none;
    padding-right: 0px !important;
    max-height: 100%;
    /* width: calc(100% + 16px) !important;
    margin-right: -16px; */
    overflow-y: auto;
    gap: 0;
}
/* Store details container */
#sidebar-nav .store_details {
    background: #f2fedc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--color-primary);
    gap: 2px;

}

#sidebar-nav .nav-buttons .store_details a {
    background: transparent;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transform: all 0.3s ease;
}
#sidebar-nav .nav-buttons .store_details a:hover {
   text-decoration: underline;
}

#sidebar-nav .store_details .material-icons {
    font-size: 40px;
    color: var(--color-secondary);
}


#sidebar-nav .nav-buttons::-webkit-scrollbar-track {
    background: var(--color-secondary);
    border-radius: 4px;
}

.sidebar-container #sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 4px;
}

.sidebar-container #sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-secondary);
}
#sidebar-nav .nav-buttons::-webkit-scrollbar {
    width: 2px !important;
}
 #sidebar-nav.hidden {
     transform: translateX(-100%);
     width: 0;
     padding: 0;
     overflow: hidden;
 }

 #sidebar-nav .nav-buttons {
     display: flex;
     flex-direction: column;
     width: 100%;
     margin-bottom: auto;
     /* Pushes logout button to the bottom */
 }

 #sidebar-nav .nav-buttons button {
     width: 100%;
     justify-content: flex-start;
     /* Align text to left */
     padding: 0.5rem 0.5rem;
     border-radius: 0.75rem;
     /* More rounded buttons */
     font-weight: 500;
     /* Slightly lighter font weight */
     transition: background-color 0.2s ease, transform 0.1s ease;
 }

 /* Nested navigation for Plans & Billing */
 /* .nested-nav-item {
     width: 100%;
 }


.nested-nav-header {
     width: 100%;
     justify-content: flex-start;
     padding: 0.75rem 1rem;
     display: flex;
     align-items: center;
     cursor: pointer;
     background-color: #2563EB;
     color: #FFFFFF;
     border-radius: 0.75rem;
     transition: background-color 0.3s ease, border-radius 0.3s ease;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 }


 .nested-nav-header:hover {
     background-color: #1D4ED8;
 }

 .nested-nav-header.active {
     background-color: #ffffff;
     color: #1D4ED8;
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
 }

 .nested-nav-content {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.4s ease-in-out;
     background-color: #34495e;
     border-bottom-left-radius: 0.75rem;
     border-bottom-right-radius: 0.75rem;
     box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
     padding-top: 0.5rem;
     padding-bottom: 0.5rem;
 }

 .nested-nav-content.open {
     max-height: 200px;
 }

 .nested-nav-content button {
     width: 100%;
     justify-content: flex-start;
     padding: 0.6rem 1.5rem;
     background-color: #4a627a;
     color: #ecf0f1;
     border-radius: 0;
     transition: background-color 0.2s ease;
 }

 .nested-nav-content button:hover {
     background-color: #3e5165;
 }


 .nested-nav-content button.active-sub-btn {
     background-color: #ffffff;
     color: #2c3e50;
 }

 .nested-nav-content button:first-child {
     border-top-left-radius: 0;
     border-top-right-radius: 0;
 }

 .nested-nav-content button:last-child {
     border-bottom-left-radius: 0.75rem;
     border-bottom-right-radius: 0.75rem;
 } */


 #logout-btn {
     width: 100%;
     margin-top: 1.5rem;
     /* More space above logout button */
     justify-content: center;
     padding: 0.75rem 1rem;
     background-color: #e74c3c;
     /* Red for logout */
     color: #fff;
     box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
 }

 #logout-btn:hover {
     background-color: #c0392b;
     transform: translateY(-2px);
 }


 /* Main Content Area */
 #main-content-area {
     flex-grow: 1;
     /* Allows content to take remaining space */
     display: flex;
     flex-direction: column;
     align-items: center;
     padding-left: 2rem;
     /* More spacing from sidebar */
     transition: padding-left 0.3s ease-in-out;
 }

 #main-content-area.full-width {
     padding-left: 0;
 }

 /* Custom styles for the pointer to ensure it's always on top */
 .pointer-container {
     position: absolute;
     top: 50%;
     right: -20px;
     transform: translateY(-50%) rotate(90deg);
     z-index: 10;
     display: flex;
     justify-content: center;
     align-items: flex-end;
     height: 40px;
     width: 30px;
     overflow: hidden;
 }

 .pointer-triangle {
     width: 0;
     height: 0;
     border-left: 15px solid transparent;
     border-right: 15px solid transparent;
     border-top: 20px solid #FF4500;
     filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
     position: absolute;
     bottom: 0;
 }

 /* Accordion styles */

 /* .accordion-item {
     margin-bottom: 0.75rem;
     border-radius: 0.75rem;
     overflow: hidden;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
 }

 .accordion-header {
     background-color: #d1d8e0;
     color: #2c3e50;
     cursor: pointer;
     padding: 1rem 1.5rem;
     width: 100%;
     text-align: left;
     border: none;
     outline: none;
     transition: background-color 0.3s ease;
     font-weight: 600;
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-radius: 0.75rem;
 }

 
  .accordion-header:hover {
            background: #1b3d2f;
            color: #fff;
        }

 .accordion-header.active {
     background-color: #3498db;
     color: #fff;
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
 }

 .accordion-content {
     padding: 0 1.5rem;
     background-color: white;
     overflow: hidden;
     transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
     max-height: 0;
     border-bottom-left-radius: 0.75rem;
     border-bottom-right-radius: 0.75rem;
 }

 .accordion-content.open {
     max-height: 1000px;
     padding: 1rem 1.5rem;
 }

 .accordion-icon {
     transition: transform 0.3s ease;
 }

 .accordion-header.active .accordion-icon {
     transform: rotate(90deg);
 } */


 .nav-buttons a,
 .nav-buttons a.bg-white {
     background: #1b3d2f;
     color: #fff;
 }

 .nav-buttons a.active,
 .nav-buttons a:hover {
     background-color: #fff;
     ;
     color: #1b3d2f;
 }


 #sidebar-submenu {
     transform: scaleY(0);
     opacity: 0;
     pointer-events: none;
     transition: 0.3s ease-in-out;
     max-height: 0px;
 }

 #sidebar-submenu.open {
     transform: scaleY(1);
     opacity: 1;
     pointer-events: auto;
     max-height: 200px;
     margin-bottom: 8px;
 }

 .rotate-180 {
     transform: rotate(180deg);
 }

  #sidebar-submenu a {
     background: #fff;
     color: #1B3D2F;
 }
 #sidebar-submenu a:hover {
     background: #eeca86;
     color: #1B3D2F;
 }
#sidebar-submenu .active{
    background: #eeca86;
     color: #1B3D2F;
}
 .sidebar-logo img {
     max-width: 80px;
     height: auto;
 }

 #otherAppsSidebar li a {
    background-color: #fff;
    color:#000;
    font-size: 13px;
 }