

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.35s ease-in-out;
}

.gradient-text {
    background: linear-gradient(to bottom, #d14e78 0%, rgb(126, 21, 62) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.navbar-brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 576px) {
    .navbar .navbar-brand-center {
        font-size: 1rem !important;
    }
}

 

/* Sidebar */
 a {
     text-decoration: none;
 }

 body {
     font-family: 'Segoe UI', sans-serif;
     font-size: 16px;
     background-color: #f8f9fa;
     color: #343a40;
     margin: 0;
 }

 ::-webkit-scrollbar {
     width: 0;
 }

 /* === Layout === */
 .main {
     width: 100%;
     height: 100vh;
     overflow-y: auto;
 }

 /* === Sidebar === */
 #sidebar {
     width: 280px;
     height: 100vh;
     background: linear-gradient(to bottom, #d14e78 0%, #7e153e 100%);
     color: #fff;
     position: sticky;
     top: 0;
     display: flex;
     flex-direction: column;
     box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
     z-index: 999;
     transition: all 0.35s ease-in-out;
 }

 #sidebar.collapsed {
     margin-left: -280px;
 }

 .sidebar-nav {
     flex: 1 1 auto;
     overflow-y: auto;
 }

 /* === Sidebar Logo === */
 .sidebar-logo {
     text-align: center;
     padding: 1.2rem;
     position: relative;
 }

 .sidebar-logo img {
     width: 90px;
     height: 90px;
 }

 .sidebar-logo span {
     font-weight: bold;
     font-size: 1.4rem;
     background: linear-gradient(to bottom, rgb(255, 217, 0), #b8860b);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     display: inline-block;
 }

 /* === Close Button (Mobile) === */
 .close-sidebar {
     display: none;
     position: absolute;
     right: 1rem;
     top: 50%;
     transform: translateY(-50%);
     font-size: 1.5rem;
     color: #333;
     cursor: pointer;
 }

 /* === Sidebar Link === */
 .page-heading {
     background: linear-gradient(90deg, #fffbe6 0%, #ffe4b5 100%);
     color: #8B004D !important;
     font-weight: 700;
     padding: 8px 10px;

     margin-bottom: 20px;
     border-radius: 4px 4px;
 }

 .sidebar-link {
     display: flex;
     align-items: center;
     padding: 0.75rem 1.25rem;
     font-size: 18px;
     color: #fff;
     position: relative;
     transition: all 0.3s ease;
     border-left: 4px solid transparent;
 }

 .sidebar-link i {
     margin-right: 0.8rem;
     font-size: 1.1rem;
 }

 /* Hover Effects */
 .sidebar-link:hover,
 .sidebar-link:focus {
     background: linear-gradient(90deg, rgba(209, 78, 120, 0.9) 0%, rgba(139, 0, 77, 0.9) 100%);
     color: #fff !important;
     box-shadow: 0 2px 12px rgba(209, 78, 120, 0.15);
     transform: translateX(6px) scale(1.03);
     z-index: 1;
 }

 .sidebar-link:hover i,
 .sidebar-link:focus i {
     /* color: #FFD700; */
 }

 /* Active Link */
 .sidebar-link.active {
     background: linear-gradient(90deg, #fffbe6 0%, #ffe4b5 100%);
     color: #8B004D !important;
     font-weight: 700;
     border-left: 4px solid #8b004d;
     box-shadow: 0 2px 8px rgba(255, 217, 0, 0.1);
 }

 .sidebar-link.active i {
     color: #d14e78 !important;
 }

 /* === Dropdown Arrows Working === */
 .sidebar-link[data-bs-toggle="collapse"]::after {
     content: "";
     border: solid currentColor;
     border-width: 0 2px 2px 0;
     padding: 3px;
     position: absolute;
     right: 1.5rem;
     top: 1.25rem;
     transform: rotate(45deg);
     transition: transform 0.3s ease-in-out;
 }

 .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
     transform: rotate(-45deg);
 }

 /* Submenu Items */
 .nav .nav-item .sidebar-link {
     padding-left: 2rem;
     font-size: 17px;
 }

 .collapse {
     margin-left: 0.5rem;
 }

 /* === Footer === */
 .sidebar-footer {
     padding: 0.75rem 1.25rem;
 }

 .sidebar-footer a {
     font-size: 16px;
     color: #fff;
 }

 .sidebar-footer a:hover {
     background: linear-gradient(90deg, #8B004D 0%, #d14e78 100%);
     color: #fff !important;
     transform: translateX(4px) scale(1.02);
 }

 /* === Navbar === */
 .navbar {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     padding: 10px 15px;
     background-color: #fff;
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
     z-index: 1000;
     transition: all 0.35s ease-in-out;
 }

 /* === Toggler Button === */
 .toggler-btn {
     background-color: transparent;
     cursor: pointer;
     border: 0;
     display: inline-block;
 }

 .toggler-btn i {
     font-size: 1.75rem;
     color: #333;
     font-weight: 600;
 }

 /* === Responsive === */
 @media (max-width: 768px) {
     #sidebar {
         position: fixed;
         z-index: 1100;
         left: 0;
         top: 0;
     }

     #sidebar.collapsed {
         margin-left: 0;
     }

     .sidebar-toggle {
         margin-left: -280px;
     }

     .close-sidebar {
         display: block;
     }

     .navbar {
         height: 9%;
         width: 100%;
         left: 0;
     }
 }

 @media (max-width: 991px) {
     .dropdown-menu-end {
         left: auto;
         right: 0;
     }
 }

 @media (max-width: 530px) {
     #notificationDropdown {
         max-width: 300px !important;
         margin-left: 0 !important;
     }
 }

 
