* {
  box-sizing: border-box;
}
.sidebar {
  background: #0275D8;
  background: linear-gradient(to right, #87CEFA, #72d4d4);
  background: linear-gradient(to right, #87CEFA, #72d4d4);
 
}



.sidebar-logo {
    color: white !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    padding: 1.15rem 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.25rem;
}

.sidebar-logo:hover {
    transform: scale(1.02);
}

.sidebar-brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-brand-text span {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 5px;
    margin-top: 2px;
    opacity: 1;
}

a {
	text-decoration: none;
}

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 20%;}
  .col-s-2 {width: 20%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 20%;}
  .col-2 {width: 20%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

/* Side bar collapse */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  background: #0275D8;
  background: linear-gradient(to right, #87CEFA, #72d4d4);
  background: linear-gradient(to right, #87CEFA, #72d4d4);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  width: 100%;
  text-align: center;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}



/* Close button removed from here */

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
/* Close button styles removed */
}



.nav-link span {
	 list-style-type: none;
	 font-size: 13px;
}



ul li h6 {
	font-size: 11px;
	text-align: center;
}
.collapse-item a {
	 text-decoration:none;
	 color: blue;
}
.collapse-item {
	width: 100%;
	 list-style-type: none;
	 font-size: 12px;
	 text-align: center;
	 padding: 7px 0px;
	 border-radius: 6px;
	 transition: 0.3s;
}
.collapse-item:hover {
	background-color: #e3dfdf;
}
.sidebar-heading {
	font-size: 12px;
}

.menu-bar {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #72d4d4;
    position: absolute !important;
    z-index: 10000 !important;
    top: 10px !important;
    left: 20px !important;
    background: transparent;
    padding: 0;
}

@media (max-width: 1024px), (max-height: 500px) {
    #accordionSidebarDesktop {
        display: none !important;
    }
    .menu-bar {
        display: block !important;
    }
}

@media only screen and (max-width: 768px) {
	.sidebar-brand {
		font-size: 15px;
	}

/* Final close button style removed */
	
	.nav-link span {
		 font-size: 11px;
	}
	
	ul li h6 {
		font-size: 8px;
		text-align: center;
	}
	.collapse-item {
		 font-size: 10px;
		 padding: 0px 0px;
	}
	.collapse-item:hover {
		background-color: #e3dfdf;
	}
	.sidebar-heading {
		font-size: 11px;
	}
	
}


/* Side bar end */

/* Premium bold, large white styling for sidebar text, links, and icons */
.sidebar-nav .sidebar-logo {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar-nav .sidebar-brand-text {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.sidebar-nav .sidebar-brand-text span {
    color: #ffffff !important;
    font-weight: 600;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sidebar-nav .nav-item .nav-link {
    color: #ffffff !important;
    font-weight: 300 !important;
    font-size: 15px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease-in-out;
}

.sidebar-nav .nav-item .nav-link i {
    color: #ffffff !important;
    font-size: 20px !important;
    margin-bottom: 6px;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-item .nav-link span {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 100 !important;
    letter-spacing: 0.5px;
    display: block;
}

/* Hover effects */
.sidebar-nav .nav-item .nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.sidebar-nav .nav-item .nav-link:hover i {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.sidebar-nav .nav-item .nav-link:hover span {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Divider styling */
.sidebar-nav .sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin: 1rem 0;
}

/* Dropdown items styling (keep dark to read on white background) */
.collapse-item a {
    text-decoration: none;
    color: #0f3044 !important;
    font-weight: 100;
    font-size: 13px;
    display: block;
    width: 100%;
}

.collapse-item:hover a {
    color: #1d5f85 !important;
}

/* Mobile responsive adjustments */
@media only screen and (max-width: 768px) {
    .sidebar-nav .nav-item .nav-link {
        font-size: 13px !important;
    }
    .sidebar-nav .nav-item .nav-link i {
        font-size: 17px !important;
        margin-bottom: 4px;
    }
    .sidebar-nav .nav-item .nav-link span {
        font-size: 12px !important;
    }
    .collapse-item a {
        font-size: 11px;
    }
}

/* Sidebar Layout Overrides */
.sidebar-container-mobile {
    height: 100%;
    background: #0275D8;
    background: linear-gradient(to right, #87CEFA, #72d4d4);
    width: 100%;
}

.sidebar-container-desktop {
    height: 100%;
    background: #0275D8;
    background: linear-gradient(to right, #87CEFA, #72d4d4);
    width: 8.75rem; /* 140px equivalent */
}

.sidebar-close-btn {
    font-size: 1.75rem !important; /* 28px */
    color: white !important;
}

.sidebar-close-text {
    font-size: 0.75rem !important; /* 12px */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    margin-top: -0.3125rem !important; /* -5px */
}


