/*** Spinner Start ***/
/*** Spinner ***/
#spinner {opacity: 0; visibility: hidden; transition: opacity .5s ease-out, visibility 0s linear .5s; z-index: 99999;}
#spinner.show {transition: opacity .5s ease-out, visibility 0s linear 0s; visibility: visible; opacity: 1;}
/*** Spinner End ***/
.back-to-top {position: fixed; right: 30px; bottom: 30px; display: flex; width: 45px; height: 45px; align-items: center; justify-content: center; transition: 0.5s; z-index: 99;}
/*** Logo ***/
.logo-wrapper {height: 150px; width: 270px; overflow: hidden;}
.logo {height: 100%; width: 100%; object-fit: contain;}
.mobile-logo-wrapper {height: 140px; max-width: 190px;}
.mobile-logo {height: 100%; width: auto; max-width: 100%; object-fit: contain;}
/*** Button Start ***/
.btn {font-weight: 600; transition: .5s;}
.btn-square {width: 32px; height: 32px;}
.btn-sm-square {width: 34px; height: 34px;}
.btn-md-square {width: 44px; height: 44px;}
.btn-lg-square {width: 56px; height: 56px;}
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square {padding: 0; display: flex; align-items: center; justify-content: center; font-weight: normal; border-radius: 50%;}
.btn.btn-primary {background: var(--bs-primary) !important; color: var(--bs-white) !important; font-family: 'Roboto', sans-serif; font-weight: 400; transition: 0.5s;}
.btn.btn-primary:hover {background: var(--bs-secondary) !important; color: var(--bs-white);}
.btn.btn-secondary {background: var(--bs-secondary) !important; color: var(--bs-white); font-family: 'Roboto', sans-serif; font-weight: 400; border: 1px solid var(--bs-secondary); transition: 0.5s;}
.btn.btn-secondary:hover {background: var(--bs-primary) !important; color: var(--bs-secondary) !important;}
/*** Topbar Start ***/
.topbar {padding: 2px 10px 2px 20px; background: var(--bs-primary) !important;}
.topbar a, .topbar a i {transition: 0.5s;}
.topbar a:hover, .topbar a i:hover {color: var(--bs-secondary) !important;}
@media (max-width: 768px) {.topbar {display: none;}}
/*** Topbar End ***/
/*** Navbar ***/
.nav-bar .categories-bars .categories-bars-item {padding: 5px 15px; border-bottom: 1px solid rgba(256, 256, 256, 0.1); display: flex; justify-content: space-between; transition: 0.5s;}
.nav-bar .categories-bars .categories-bars-item a, .nav-bar .categories-bars .categories-bars-item span {color: var(--bs-dark); transition: 0.5s;}
.nav-bar .categories-bars .categories-bars-item:hover {background: var(--bs-primary);}
.nav-bar .categories-bars .categories-bars-item:hover a, .nav-bar .categories-bars .categories-bars-item:hover span {color: var(--bs-white);}
.nav-bar .navbar.navbar-light {padding: 0 !important;}
.nav-bar .navbar .navbar-nav .nav-link {padding: 18px 15px; font-weight: 500; font-family: 'Roboto', sans-serif; font-size: 17px; transition: .5s;}
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active, .fixed-top.bg-white .navbar .navbar-nav .nav-link:hover, .fixed-top.bg-white .navbar .navbar-nav .nav-link.active {color: var(--bs-white);}
.navbar .dropdown-toggle::after {border: none; content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 600; vertical-align: middle;}
@media (min-width: 992px) {.navbar .nav-item .dropdown-menu {display: block; visibility: hidden; top: 100%; transform: rotateX(-75deg); transform-origin: 0% 0%; border: 0; border-radius: 10px; transition: .5s; opacity: 0;}}
@media (max-width: 992px) {.nav-bar .navbar .navbar-nav .nav-link {padding: 8px 0px;}}
.dropdown .dropdown-menu a:hover {background: var(--bs-primary); color: var(--bs-white);}
.navbar .nav-item:hover .dropdown-menu {transform: rotateX(0deg); visibility: visible; background: var(--bs-light) !important; transition: .5s; opacity: 1;}
.navbar .navbar-toggler {padding: 5px 15px;}
#allCat {position: absolute; left: 0; right: 0; top: 60px; z-index: 999; background: var(--bs-light); width: 1550px;}
.nav-bar .navbar-toggler {border-radius: 5px !important; box-shadow: none !important;}
/*** Navbar End ***/
/*** Carousel Header Start ***/
.header-carousel.owl-carousel .owl-nav .owl-prev, .header-carousel.owl-carousel .owl-nav .owl-next {position: absolute; width: 50px; height: 50px; top: 87%; border-radius: 30px; display: flex; align-items: center; justify-content: center; background: var(--bs-primary); color: var(--bs-white);}
.header-carousel.owl-carousel .owl-nav .owl-prev {right: 130px; transition: 0.5s;}
.header-carousel.owl-carousel .owl-nav .owl-next {right: 60px; transition: 0.5s;}
.header-carousel.owl-carousel .owl-nav .owl-prev:hover, .header-carousel.owl-carousel .owl-nav .owl-next:hover {background: var(--bs-secondary); color: var(--bs-white);}
.carousel .carousel-header-banner {position: relative;}
.carousel .carousel-banner-offer {position: absolute; top: 20px; left: 20px; display: flex; align-items: center; z-index: 2;}
.carousel .carousel-banner {position: absolute; width: 100%; height: 100%; top: 0; left: 0; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: end; background: rgba(0, 0, 0, 0.3); z-index: 1;}
/*** Carousel Header End ***/
/*** Page Header start ***/
.page-header {position: relative; padding: 100px 0; background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg); background-position: center top; background-repeat: no-repeat; background-attachment: fixed;}
/*** Page Header end ***/
/*** Products Start ***/
.product .product-item {width: 100%; height: 100%; position: relative;}
.product .product-item .product-item-inner {height: 100%;}
.product .product-item .product-item-add {width: 100%; position: absolute; bottom: 0; left: 0; opacity: 0; transition: 0.5s; z-index: 1;}
.product .product-item:hover .product-item-add {background: var(--bs-white); margin-bottom: -124px; opacity: 1;}
.product .product-item:hover .product-item-inner {border-bottom: 0 !important; border-bottom-right-radius: 0 !important; border-bottom-left-radius: 0 !important;}
.product .product-item .product-item-inner .product-item-inner-item {position: relative; border-top-right-radius: 10px; border-top-left-radius: 10px; overflow: hidden;}
.product .product-item .product-item-inner .product-item-inner-item .product-new, .product .product-item .product-item-inner .product-item-inner-item .product-sale {position: absolute; width: 60px; height: 60px; border-radius: 60px; top: 20px; right: 20px; display: flex; align-items: center; justify-content: center;}
.product .product-item .product-item-inner .product-item-inner-item .product-new {background: var(--bs-primary); color: var(--bs-white);}
.product .product-item .product-item-inner .product-item-inner-item .product-sale {background: var(--bs-secondary); color: var(--bs-white);}
.product .product-item .product-item-inner img {transition: 0.5s;}
.product .product-item:hover .product-item-inner img {transform: scale(1.1);}
.product .product-item .product-item-inner .product-item-inner-item .product-details {position: absolute; width: 100%; height: 100%; top: 0; left: 0; border-top-right-radius: 10px; border-top-left-radius: 10px; display: flex; align-items: center; justify-content: center; opacity: 0; background: rgba(255, 255, 255, 0.2); transition: 0.5s;}
.product .product-item .product-item-inner .product-item-inner-item .product-details a i {width: 50px; height: 50px; border-radius: 50px; display: flex; align-items: center; justify-content: center; background: var(--bs-primary); color: var(--bs-white); transition: 0.5s;}
.product .product-item:hover .product-item-inner .product-item-inner-item .product-details a i:hover {background: var(--bs-secondary); color: var(--bs-white);}
.product .product-item:hover .product-item-inner .product-details {opacity: 1;}
.product .tab-class .nav .nav-item a.active {background: var(--bs-primary) !important;}
.product .tab-class .nav .nav-item a.active span {color: var(--bs-white) !important;}
/*** Product End ***/
/*** ProductList Categories Start ***/
.productList .productList-carousel {height: 215px !important;}
.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {position: relative; width: calc(100% - 1px); transition: 0.5s;}
.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {margin-bottom: 75px;}
.productList .productList-carousel .productImg-carousel.productList-item .productImg-item:hover {border-bottom: 0 !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important;}
.productList .productList-carousel .owl-nav .owl-prev, .productList .productList-carousel .owl-nav .owl-next {position: absolute; top: -40px; padding: 5px 40px; border-radius: 30px; background: var(--bs-primary); color: var(--bs-white); transition: 0.5s;}
.productList .productList-carousel .owl-nav .owl-prev:hover, .productList .productList-carousel .owl-nav .owl-next:hover {background: var(--bs-secondary) !important; color: var(--bs-white) !important;}
.productList .productList-carousel .owl-nav .owl-prev {left: 0;}
.productList .productList-carousel .owl-nav .owl-next {right: 0;}
.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev, .productList .productList-carousel .productImg-carousel .owl-nav .owl-next {position: absolute; top: 0px; padding: 5px 10px; border-radius: 30px; background: var(--bs-primary); color: var(--bs-white); transition: 0.5s; opacity: 0;}
.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev:hover, .productList .productList-carousel .productImg-carousel .owl-nav .owl-next:hover {background: var(--bs-secondary) !important; color: var(--bs-white) !important;}
.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev {left: 0;}
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {right: 0;}
.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-prev, .productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-next {opacity: 1;}
/*** ProductList Categories End ***/
/*** bestseller Products Start ***/
.products .products-mini .products-mini-item {position: relative; border-radius: 10px; transition: 0.5s;}
.products .products-mini .products-mini-item:hover {border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important;}
.products .products-mini .products-mini-item .products-mini-img {position: relative; overflow: hidden;}
.products .products-mini .products-mini-item .products-mini-img img {border-top-left-radius: 10px; border-bottom-left-radius: 10px; transition: 0.5s;}
.products .products-mini .products-mini-item:hover .products-mini-img img {border-bottom-left-radius: 0 !important; transform: scale(1.3);}
.products .products-mini .products-mini-item .products-mini-img .products-mini-icon {position: absolute; width: 50px; height: 50px; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.5s;}
.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon {opacity: 1;}
.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon:hover {background: var(--bs-secondary) !important;}
.products .products-mini .products-mini-item .products-mini-add {position: absolute; bottom: 0; left: -1px; right: -1px; display: flex; align-items: center; justify-content: space-between; background: var(--bs-white); transition: 0.5s; z-index: 9; opacity: 0;}
.products .products-mini .products-mini-item:hover .products-mini-add {opacity: 1; margin-bottom: -75px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}
/*** bestseller Products End ***/
/*** Pagination Start ***/
.pagination {display: inline-block;}
.pagination a {color: var(--bs-dark); padding: 10px 16px; text-decoration: none; transition: 0.5s; border: 1px solid var(--bs-secondary); margin: 0 4px;}
.pagination a.active {background-color: var(--bs-primary); color: var(--bs-light); border: 1px solid var(--bs-secondary);}
.pagination a:hover:not(.active) {background-color: var(--bs-primary);}
.nav.nav-tabs .nav-link.active {border-bottom: 2px solid var(--bs-secondary) !important;}
/*** Pagination End ***/
/*** Shop Page Start ***/
.shop .product-categories .categories-item {display: flex; justify-content: space-between; padding: 10px 0;}
.shop .product-categories .categories-item a {transition: 0.5s;}
.shop .product-categories .categories-item a:hover {color: var(--bs-primary) !important;}
.shop .product-color .product-color-item {display: flex; padding: 10px 0;}
.shop .product-color .product-color-item a {transition: 0.5s;}
.shop .product-color .product-color-item a:hover {color: var(--bs-secondary);}
.shop .price {padding: 10px 0;}
.shop .additional-product .additional-product-item {padding: 10px 0;}
.shop .featured-product .featured-product-item {display: flex; align-items: center; justify-content: start;}
.shop .product-tags .product-tags-items a {display: inline-block !important; background: var(--bs-white); color: var(--bs-dark); transition: 0.5;}
.shop .product-tags .product-tags-items a:hover {background: var(--bs-primary) !important; color: var(--bs-white) !important;}
/*** Shop Page End ***/
/*** Single Products Start ***/
.single-product .owl-nav .owl-prev, .single-product .owl-nav .owl-next {position: absolute; top: 50%; transform: translateY(-50%); margin-top: -13%; font-size: 22px; color: var(--bs-primary);}
.single-product .owl-nav .owl-prev {left: 0;}
.single-product .owl-nav .owl-next {right: 0 !important;}
.single-product .single-carousel .owl-dots {width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; margin-top: 10px; transition: 0.5s;}
.single-product .single-carousel .owl-dots .owl-dot img {width: 60px; height: 60px; border-radius: 30px; margin-right: 15px; border: 2px solid var(--bs-primary); transition: 0.5s;}
.single-product .single-carousel .owl-dots .owl-dot.active img {width: 80px; height: 80px; border-radius: 40px; border: 4px solid var(--bs-secondary);}
.related-product .related-carousel .related-item {width: 100%; height: 100%; position: relative; margin-bottom: 125px; transition: 0.5s;}
.related-product .related-carousel .related-item .related-item-add {width: 100%; position: absolute; bottom: 0; left: 0; opacity: 0; transition: 0.5s; z-index: 99;}
.related-product .related-carousel .related-item:hover .related-item-add {background: var(--bs-white); margin-bottom: -125px; opacity: 1;}
.related-product .related-carousel .related-item:hover .related-item-inner {border-bottom: 0 !important; border-bottom-right-radius: 0 !important; border-bottom-left-radius: 0 !important;}
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item {position: relative; border-top-right-radius: 10px; border-top-left-radius: 10px; overflow: hidden;}
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new, .related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {position: absolute; width: 60px; height: 60px; border-radius: 60px; top: 20px; right: 20px; display: flex; align-items: center; justify-content: center; z-index: 5;}
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new {background: var(--bs-primary); color: var(--bs-white);}
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {background: var(--bs-secondary); color: var(--bs-white);}
.related-product .related-carousel .related-item .related-item-inner img {transition: 0.5s;}
.related-product .related-carousel .related-item:hover .related-item-inner img {transform: scale(1.1);}
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details {position: absolute; width: 100%; height: 100%; top: 0; left: 0; border-top-right-radius: 10px; border-top-left-radius: 10px; display: flex; align-items: center; justify-content: center; opacity: 0; background: rgba(255, 255, 255, 0.2); transition: 0.5s;}
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details a i {width: 50px; height: 50px; border-radius: 50px; display: flex; align-items: center; justify-content: center; background: var(--bs-primary); color: var(--bs-white); transition: 0.5s;}
.related-product .related-carousel .related-item:hover .related-item-inner .related-item-inner-item .related-details a i:hover {background: var(--bs-secondary); color: var(--bs-white);}
.related-product .related-carousel .related-item:hover .related-item-inner .related-details {opacity: 1;}
.related-product .owl-nav .owl-prev, .related-product .owl-nav .owl-next {position: absolute; top: -40px; padding: 5px 40px; border-radius: 30px; background: var(--bs-primary); color: var(--bs-white); transition: 0.5s;}
.related-product .owl-nav .owl-prev {left: 0;}
.related-product .owl-nav .owl-next {right: 0;}
.related-product .owl-nav .owl-prev:hover, .related-product .owl-nav .owl-next:hover {background: var(--bs-secondary) !important;}
/*** Single Products End ***/
/*** Footer Start ***/
.footer {background: var(--bs-dark);}
.footer .footer-item a {line-height: 30px; color: var(--bs-body); transition: 0.5s;}
.footer .footer-item p {line-height: 30px;}
.footer .footer-item a:hover {letter-spacing: 2px; color: var(--bs-secondary);}
/*** Footer End ***/
/*** copyright Start ***/
.copyright {border-top: 1px solid rgba(255, 255, 255, 0.08); background: var(--bs-primary) !important;}
/*** copyright end ***/
/* FULL WIDTH MEGA MENU */
.mega-menu {position: absolute; top: 100%; left: 0; right: 0; width: 100vw; max-height: 520px; background: #fff; border-top: 3px solid var(--bs-primary); border-radius: 0 0 12px 12px; overflow: hidden; z-index: 9999;}
/* MEGA WRAPPER */
.mega-wrapper {position: relative;}
/* SHOW ON HOVER */
.mega-wrapper:hover .mega-menu {display: block;}
/* SIDEBAR */
.mega-sidebar {background: #f8f9fa; min-height: 450px; max-height: 520px; overflow-y: auto; border-right: 1px solid #eee; width: 389px;}
.mega-sidebar ul {list-style: none; margin: 0; padding: 0;}
.mega-sidebar ul li, .mega-item {padding: 14px 25px; cursor: pointer; font-weight: 500; transition: 0.2s; width: 375px;}
.mega-sidebar ul li:hover, .mega-sidebar ul li.active, .mega-item:hover, .mega-item.active {background: var(--bs-primary); color: #fff;}
/* Make the <i> inside mega-item also change color on hover/active */
.mega-sidebar ul li:hover i, .mega-sidebar ul li.active i, .mega-item:hover i, .mega-item.active i {color: #fff; /* or use var(--bs-white) if defined */}
.mega-item i {width: 20px; color: var(--bs-primary);}
/* RIGHT CONTENT */
.mega-content {overflow-y: auto; background: #fff; min-height: 450px; max-height: 520px;}
.mega-pane {display: none; animation: fadeIn 0.3s ease-in-out;}
.mega-pane.active {display: block;}
.mega-pane h6 {font-weight: 600; margin-bottom: 10px; color: var(--bs-primary);}
.mega-pane ul {list-style: none; padding: 0;}
.mega-pane ul li {margin-bottom: 6px;}
.mega-pane ul li a {text-decoration: none; color: #555; font-size: 14px; transition: 0.2s;}
.mega-pane ul li a:hover {color: var(--bs-primary); padding-left: 4px;}
/* TOGGLE BUTTON */
.mega-toggle {background: linear-gradient(45deg, var(--bs-primary), #07a123); border-radius: 8px 8px 0 0;}
/* SCROLLBAR STYLE */
.mega-sidebar::-webkit-scrollbar, .mega-content::-webkit-scrollbar {width: 6px;}
.mega-sidebar::-webkit-scrollbar-thumb, .mega-content::-webkit-scrollbar-thumb {background: #892a2a; border-radius: 4px;}
/* ANIMATIONS */
@keyframes fadeIn {from {opacity: 0; transform: translateY(10px);} to {opacity: 1; transform: translateY(0);}}
@keyframes slideDown {from {opacity: 0; transform: translateY(-10px);} to {opacity: 1; transform: translateY(0);}}

/* Mobile Categories na Subcategories Styling */
@media (max-width: 991.98px) {
.navbar-nav .dropdown-menu {background: #ffffff; border: none; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); max-height: 250px; overflow-y: scroll; width: calc(100vw - 40px); left: 20px !important; right: 20px !important; padding: 0; transition: opacity 0.3s ease, visibility 0.3s ease; -webkit-overflow-scrolling: touch; scrollbar-width: auto; scrollbar-color: var(--bs-primary) #f1f1f1;}
.dropdown-menu.show {opacity: 1; visibility: visible;}
.categories-bars {margin: 0; padding: 0;}
.mobile-category-item {list-style: none; border-bottom: 1px solid #f0f0f0; transition: background-color 0.3s ease;}
.mobile-category-item:last-child {border-bottom: none;}
.mobile-category-item:hover {background-color: #f8f9fa;}
.main-category {display: flex; align-items: center; padding: 10px 12px; cursor: pointer; transition: all 0.3s ease; background: #ffffff; position: relative;}
.main-category:hover {background: #f8f9fa;}
.mobile-category-item:hover > .main-category {background: #f0f0f0;}
.category-link {flex: 1; color: #333333; text-decoration: none; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px;}
.category-link i {width: 18px; color: var(--bs-primary); font-size: 13px; transition: color 0.3s ease;}
.mobile-category-item:hover .category-link i {color: var(--bs-secondary);}
.category-count {color: #999999; font-size: 10px; font-weight: 600; background: #f5f5f5; padding: 2px 6px; border-radius: 30px; margin-right: 6px; transition: all 0.3s ease;}
.mobile-category-item:hover .category-count {background: var(--bs-primary); color: #ffffff;}
.expand-icon {color: #999999; font-size: 11px; transition: transform 0.3s ease, color 0.3s ease;}
.mobile-category-item:hover .expand-icon {color: var(--bs-primary);}
.subcategories-container {background: #f8f9fa; padding: 10px 12px; border-top: 1px solid #e9ecef; animation: slideDown 0.3s ease forwards;}
.subcategory-section {margin-bottom: 10px; animation: fadeIn 0.4s ease forwards;}
.subcategory-section:last-child {margin-bottom: 0;}
.subcategory-heading {color: var(--bs-primary); font-size: 12px; font-weight: 600; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px dashed #dee2e6; padding-bottom: 2px;}
.subcategory-items {list-style: none; padding: 0; margin: 0;}
.subcategory-items li {margin-bottom: 3px;}
.subcategory-items li:last-child {margin-bottom: 0;}
.subcategory-items li a {color: #666666; text-decoration: none; font-size: 11px; display: block; padding: 2px 0; transition: all 0.2s ease; position: relative;}
.subcategory-items li a:hover {color: var(--bs-primary); padding-left: 8px;}
.subcategory-items li a:hover::before {content: "•"; color: var(--bs-primary); position: absolute; left: -2px; font-size: 12px;}
.dropdown-menu::-webkit-scrollbar {width: 8px; background: transparent;}
.dropdown-menu::-webkit-scrollbar-track {background: #f1f1f1; border-radius: 10px; margin: 5px 0;}
.dropdown-menu::-webkit-scrollbar-thumb {background: var(--bs-primary); border-radius: 10px; border: 2px solid #f1f1f1; min-height: 40px; transition: background 0.3s ease;}
.dropdown-menu::-webkit-scrollbar-thumb:hover {background: var(--bs-secondary);}
.dropdown-menu {scrollbar-width: auto; scrollbar-color: var(--bs-primary) #f1f1f1;}
}

/* Search Bar for Mobile */
@media (max-width: 991.98px) {
.mobile-search-container {display: block !important; width: 100%;}
.mobile-search-container .d-flex {height: 40px; width: 100%;}
.mobile-search-container input.form-control {font-size: 14px; height: 40px; border-radius: 20px 0 0 20px !important; border-right: none;}
.category-dropdown {width: 130px !important; height: 40px; font-size: 13px; border: 1px solid #dee2e6; border-left: none; border-right: none; background-color: #ffffff; padding: 0 0px;}
.category-dropdown:focus {height: auto;}
.category-dropdown[size] {height: 200px; overflow-y: auto;}
.category-dropdown::-webkit-scrollbar {width: 8px;}
.category-dropdown::-webkit-scrollbar-track {background: #f1f1f1;}
.category-dropdown::-webkit-scrollbar-thumb {background: #888; border-radius: 10px;}
.category-dropdown::-webkit-scrollbar-thumb:hover {background: #555;}
.mobile-search-container button.btn {height: 40px; border-radius: 0 20px 20px 0 !important; padding: 0 15px; background: var(--bs-primary); color: white; border: 1px solid var(--bs-primary);}
.mobile-search-container button.btn:hover {background: var(--bs-secondary); border-color: var(--bs-secondary);}
}

/* Categories Scroll Bar Styles */
.categories-scroll-wrapper {position: relative; width: 100%; padding: 5px 40px; background: var(--bs-white);}
.categories-container {overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; white-space: nowrap; scrollbar-width: thin; scrollbar-color: var(--bs-secondary) var(--bs-white);}
.categories-container::-webkit-scrollbar {height: 4px;}
.categories-container::-webkit-scrollbar-track {background: rgba(255,255,255,0.1);}
.categories-container::-webkit-scrollbar-thumb {background: var(--bs-secondary); border-radius: 4px;}
.categories-list {display: inline-flex; list-style: none; margin: 0; padding: 0; gap: 20px;}
.category-item {display: inline-block;}
.category-link {display: flex; align-items: center; gap: 8px; color: rgb(0, 0, 0); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 20px; transition: all 0.3s ease; white-space: nowrap;}
.category-link i {font-size: 16px; color: rgb(0, 0, 0);}
.category-link:hover {background: var(--bs-primary); color: rgb(0, 0, 0); transform: translateY(-1px);}
.category-link:hover i {color: rgb(0, 0, 0);}
.scroll-btn {position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: none; border-radius: 50%; background: var(--bs-white); color: rgb(0, 0, 0); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; z-index: 10; opacity: 0.8; border: 1px solid rgba(255,255,255,0.2);}
.scroll-btn:hover {opacity: 1; background: var(--bs-primary); transform: translateY(-50%) scale(1.1);}
.scroll-left {left: 5px;}
.scroll-right {right: 5px;}

/* Responsive adjustments */
@media (max-width: 768px) {
.categories-scroll-wrapper {padding: 5px 35px;}
.category-link {font-size: 13px; padding: 6px 10px;}
.category-link i {font-size: 14px;}
.scroll-btn {width: 25px; height: 25px;}
}

@media (max-width: 576px) {
.categories-list {gap: 10px;}
.category-link span {font-size: 12px;}
.category-link i {font-size: 12px;}
}

/* Sticky topbar enhancement */
.sticky-top {box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: all 0.3s ease; top: 0; z-index: 9999;}

.advanced-header { position: relative; background: linear-gradient(135deg, #0d6efd, #0b5ed7); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; z-index: 11000; }
.advanced-header.scrolled { padding-top: 5px; padding-bottom: 5px; box-shadow: 0 6px 25px rgba(0,0,0,0.15); }
.nav-bar { position: relative; z-index: 9999; }
.advanced-search-wrapper { display: flex; align-items: center; background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.advanced-search-wrapper:focus-within { box-shadow: 0 8px 25px rgba(13,110,253,0.3); }
.advanced-search-input { flex: 1; border: none; padding: 12px 20px; outline: none; font-size: 14px; }
.advanced-category-select { border: none; background: #f8f9fa; padding: 10px 15px; font-size: 13px; outline: none; cursor: pointer; }
.advanced-search-btn { border: none; background: #0d6efd; color: #fff; padding: 12px 20px; transition: 0.3s; }
.advanced-search-btn:hover { background: #0b5ed7; }
.advanced-pill { background: #ffffff20; border: 1px solid #ffffff40; color: #fff; padding: 6px 15px; border-radius: 50px; transition: 0.3s; font-size: 13px; }
.advanced-pill:hover { background: #fff; color: #0d6efd; }
.advanced-icon { position: relative; font-size: 18px; color: #fff; cursor: pointer; transition: 0.3s; }
.advanced-icon:hover { transform: translateY(-3px); }
.icon-badge { position: absolute; top: -5px; right: -8px; font-size: 10px; padding: 4px 6px; border-radius: 50px; }
.advanced-user-wrapper { position: relative; }
.advanced-user { background: #ffffff30; padding: 10px; border-radius: 50%; color: #fff; cursor: pointer; transition: 0.3s; }
.advanced-user:hover { background: #fff; color: #0d6efd; }
.advanced-user-menu { position: absolute; right: 0; top: 120%; width: 220px; background: #fff; border-radius: 12px; padding: 15px; display: none; animation: fadeIn 0.3s ease; z-index: 12000; }
.advanced-user-menu a { border-radius: 8px; transition: 0.2s; }
.advanced-user-menu a:hover { background: #f1f3f5; }
.advanced-user-wrapper.active .advanced-user-menu { display: block; }
.dropdown-menu { z-index: 12000 !important; }
.advanced-header, .nav-bar, .navbar, .navbar-collapse, .row, .container-fluid { overflow: visible !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.categories-container { overflow-x: auto; scroll-behavior: smooth; }
.categories-container::-webkit-scrollbar { display: none; }
.categories-list { display: flex; gap: 15px; padding: 0; margin: 0; list-style: none; }
.category-link { display: flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 50px; text-decoration: none; color: #333; white-space: nowrap; transition: 0.3s; }
.category-link:hover { background: #0d6efd; color: #fff; }
.scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: none; border-radius: 50%; width: 35px; height: 35px; box-shadow: 0 3px 10px rgba(0,0,0,0.15); z-index: 10; }
.scroll-left { left: 5px; }
.scroll-right { right: 5px; }
@media (max-width: 991px) { .advanced-header { display: none; } .scroll-btn { display: none; } .category-link { font-size: 12px; } }
.nav-bar.sticky-top { position: sticky; top: 0; z-index: 9999; background: var(--bs-primary); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.categories-sticky { position: sticky; top: 76px; z-index: 9998; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.nav-bar.sticky-top.navbar-shrink + .categories-sticky, .nav-bar.sticky-top + .categories-sticky { top: 60px; }
@media (max-width: 991.98px) { .categories-sticky { top: 56px; position: sticky; z-index: 9997; background: white; border-bottom: 1px solid #dee2e6; } }
.sticky-top, .categories-sticky { transition: top 0.3s ease, box-shadow 0.3s ease; }
.nav-bar.sticky-top.scrolled, .categories-sticky.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.nav-bar.sticky-top { z-index: 10000; }
.categories-sticky { z-index: 9999; }
.dropdown-menu { z-index: 10001 !important; }
body { padding-top: 0; }
main, .hero-start, .container-fluid:first-of-type { position: relative; z-index: 1; }



















/* ========== AUTHENTICATION STYLES ========== */

.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin: 40px 0;
}

.auth-left {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.auth-right {
    padding: 60px 40px;
    background: white;
}

.auth-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.auth-tab {
    font-size: 28px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: 0.3s;
}

.auth-tab:hover {
    color: var(--bs-primary);
}

.auth-tab.active {
    color: var(--bs-primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bs-primary);
    border-radius: 4px 4px 0 0;
}

.auth-form {
    display: none;
    animation: fadeIn 0.5s ease;
}

.auth-form.active {
    display: block;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.auth-link {
    color: var(--bs-primary);
    text-decoration: none;
    transition: 0.3s;
}

.auth-link:hover {
    color: var(--bs-secondary);
    text-decoration: underline;
}

.auth-btn {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    border: none;
    transition: 0.3s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Role Selector Styles */
.role-selector {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.role-option {
    flex: 1;
    min-width: 100px;
}

.role-option input[type="radio"] {
    display: none;
}

.role-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    font-size: 14px;
}

.role-option input[type="radio"]:checked + .role-label {
    border-color: var(--bs-primary);
    background: #e8f0fe;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,110,253,0.2);
}

.role-label i {
    font-size: 28px;
    color: var(--bs-primary);
    margin-bottom: 8px;
}

.role-label span {
    font-weight: 500;
}

/* Social Login Buttons */
.social-login {
    margin-top: 40px;
    text-align: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.social-btn.google { background: #DB4437; }
.social-btn.facebook { background: #4267B2; }
.social-btn.twitter { background: #1DA1F2; }
.social-btn.apple { background: #000000; }

/* Responsive */
@media (max-width: 992px) {
    .auth-left {
        min-height: auto;
        padding: 40px 30px;
    }
    
    .auth-right {
        padding: 40px 30px;
    }
    
    .auth-tab {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .auth-card {
        margin: 20px 0;
    }
    
    .auth-tabs {
        gap: 20px;
    }
    
    .auth-tab {
        font-size: 20px;
    }
    
    .role-label {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .role-label i {
        font-size: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Toast Notifications */
.toast-container {
    z-index: 9999;
}

.toast {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast-header {
    border-bottom: none;
    padding: 12px 15px;
}

.toast-body {
    padding: 15px;
    background: white;
}

/* Password strength indicator (optional) */
.password-strength {
    height: 5px;
    border-radius: 5px;
    margin-top: 5px;
    transition: 0.3s;
}

.password-strength.weak { width: 33%; background: #dc3545; }
.password-strength.medium { width: 66%; background: #ffc107; }
.password-strength.strong { width: 100%; background: #28a745; }









/* Mobile Account Menu Styles */
#mobileAccountMenu {
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
}

#mobileAccountMenu .dropdown-item {
    padding: 10px 15px;
    transition: all 0.3s ease;
}

#mobileAccountMenu .dropdown-item:hover {
    background-color: orange;
    padding-left: 10px;
}

#mobileAccountMenu .dropdown-item i {
    width: 20px;
    text-align: center;
}

#mobileAccountMenu .text-danger:hover {
    background-color: #dc3545;
    color: white !important;
}

#mobileAccountMenu .text-danger:hover i {
    color: white !important;
}

/* Ensure dropdown is above other elements */
#mobileAccountDropdown .dropdown-menu {
    z-index: 10001;
}












.user-arrow{
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-arrow.rotate{
    transform: rotate(180deg);
}
















/* ========== ADDITIONAL AUTH STYLES - ADD AT THE END OF style.css ========== */

/* Ensure forms display properly */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block !important;
}

/* Fix for form elements visibility */
.form-floating {
    margin-bottom: 1rem !important;
}

/* Phone input styling */
#phone, #loginPhone {
    width: 100%;
    padding: 1rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#phone:focus, #loginPhone:focus {
    border-color: var(--bs-primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    transform: scale(0.99);
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* Verification Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    padding: 20px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
}

#verificationCode {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
}

#verificationCode:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

#verifyBtn {
    min-width: 100px;
    border-radius: 10px;
    font-weight: 500;
}

/* Loading Spinner */
.verification-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast styling enhancement */
.toast-container {
    z-index: 99999;
}

.toast {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast-header {
    border-bottom: none;
    padding: 12px 15px;
}

.toast-body {
    padding: 15px;
    background: white;
}

/* Ensure auth forms are visible */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Fix for role selector on mobile */
@media (max-width: 576px) {
    .role-option {
        min-width: calc(50% - 10px);
    }
    
    .role-label {
        padding: 10px 5px;
    }
    
    .role-label i {
        font-size: 20px;
    }
    
    .auth-right {
        padding: 30px 20px;
    }
    
    .auth-tab {
        font-size: 20px;
    }
}

/* Make sure the modal appears above everything */
.modal {
    z-index: 99999 !important;
}

.modal-backdrop {
    z-index: 99998 !important;
}

/* Hide recaptcha container */
#recaptcha-container {
    position: fixed;
    bottom: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}














/* ===== IMPROVEMENTS FOR LOGIN/REGISTER PAGE ===== */

/* Make header sticky */
.sticky-top1 {
    position: sticky;
    top: 0;
    z-index: 11000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background-color: #0d6efd !important;
}

/* Ensure mobile header is visible */
@media (max-width: 991.98px) {
    .sticky-top1 {
        display: block !important;
        background-color: #0d6efd !important;
    }
}

/* Adjust left side padding for logo */
.auth-left {
    padding-top: 40px;
}

/* Responsive logo */
@media (max-width: 576px) {
    .auth-logo {
        max-width: 120px;
    }
}







/* ===== PHONE INPUT IMPROVEMENTS ===== */

/* Container for phone input */
.phone-input-container {
    width: 100%;
}

/* Style for the intl-tel-input container */
.iti {
    width: 100%;
    display: block !important;
}

/* Style for the country dropdown button */
.iti__flag-container {
    padding: 0;
}

.iti__selected-flag {
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
    padding: 0 8px 0 12px;
}

.iti__selected-flag:hover {
    background-color: #e9ecef;
}

/* Style for the phone input field */
.iti__tel-input,
.iti input[type=tel] {
    width: 100%;
    height: 58px !important;
    padding: 16px 12px 16px 92px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.iti input[type=tel]:focus {
    border-color: var(--bs-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* Style for the dial code */
.iti__dial-code {
    font-size: 14px;
    color: #495057;
}

/* Style for the country dropdown */
.iti__country-list {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: none;
    max-height: 300px;
    width: 320px;
    z-index: 99999;
}

.iti__country {
    padding: 10px 15px;
    transition: background-color 0.2s;
}

.iti__country:hover {
    background-color: #f8f9fa;
}

.iti__country.iti__highlight {
    background-color: #e9ecef;
}

/* Style for the country name */
.iti__country-name {
    font-size: 14px;
    color: #212529;
}

/* Style for the dial code in dropdown */
.iti__dial-code {
    color: #6c757d;
    font-size: 13px;
}

/* Style for the preferred countries section */
.iti__divider {
    border-bottom: 1px solid #dee2e6;
    margin: 5px 0;
}

/* Style for the search input */
.iti__search-input {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 8px 10px;
    width: calc(100% - 20px);
    font-size: 14px;
}

.iti__search-input:focus {
    border-color: var(--bs-primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/* Ensure dropdown appears above other elements */
.iti__country-list {
    z-index: 99999 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .iti input[type=tel] {
        height: 54px !important;
        font-size: 15px;
    }
    
    .iti__country-list {
        width: 280px;
    }
}

@media (max-width: 576px) {
    .iti input[type=tel] {
        height: 50px !important;
        font-size: 14px;
        padding-left: 86px !important;
    }
    
    .iti__country-list {
        width: 260px;
    }
}

/* Form label styling */
.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Adjust spacing for form groups */
.form-group {
    margin-bottom: 1rem;
}

/* Fix for Bootstrap form-floating when using intl-tel-input */
.form-floating .iti {
    height: auto;
}

/* Arrow down indicator - already included in library */














/* ===== PHONE INPUT PLACEHOLDER STYLING ===== */

/* Style for placeholder --- --- --- */
.iti input[type=tel]::placeholder {
    color: #adb5bd;
    font-size: 14px;
    letter-spacing: 2px;
}

/* For older browsers */
.iti input[type=tel]::-webkit-input-placeholder {
    color: #adb5bd;
    font-size: 14px;
    letter-spacing: 2px;
}

.iti input[type=tel]::-moz-placeholder {
    color: #adb5bd;
    font-size: 14px;
    letter-spacing: 2px;
}

.iti input[type=tel]:-ms-input-placeholder {
    color: #adb5bd;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Ensure placeholder is visible when input is empty */
.iti input[type=tel]:placeholder-shown {
    text-overflow: ellipsis;
}











/* ===== PHONE INPUT WITH BUTTON INSIDE ===== */

/* Make room for the button inside the input */
.position-relative .iti input[type=tel] {
    padding-right: 110px !important;
}

/* Style for the button inside */
.position-absolute.end-0.me-2 {
    min-width: auto;
    white-space: nowrap;
    box-shadow: none;
    border: 1px solid var(--bs-primary);
    background-color: white;
    transition: all 0.2s ease;
}

.position-absolute.end-0.me-2:hover {
    background-color: var(--bs-primary);
    color: white;
}

/* When button is disabled */
.position-absolute.end-0.me-2:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner inside button */
.position-absolute.end-0.me-2 .spinner-border {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .position-relative .iti input[type=tel] {
        padding-right: 90px !important;
        font-size: 14px;
    }
    
    .position-absolute.end-0.me-2 {
        padding: 3px 8px !important;
        font-size: 12px !important;
        margin-right: 3px !important;
    }
}

/* Fix for intl-tel-input dropdown */
.iti__country-list {
    z-index: 9999 !important;
}
















































body{

font-family:'Poppins',sans-serif;
background:#f5f7fb;

}

/* HEADER */

.admin-header{

display:flex;
justify-content:space-between;
align-items:center;

padding:15px 30px;

background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);

}

.admin-header a{

text-decoration:none;
color:#444;
font-weight:500;

}

.logout-btn{

border:none;
background:#ff4d4f;
color:white;
padding:8px 15px;
border-radius:6px;

}

/* PAGE */

.main-container{

padding:30px;

}

.page-title{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;

}

/* STATS */

.stat-card{

display:flex;
justify-content:space-between;
align-items:center;

padding:20px;
border-radius:10px;

color:white;

}

.stat-card i{

font-size:30px;
opacity:0.7;

}

.blue{background:#1677ff;}
.green{background:#52c41a;}
.orange{background:#faad14;}
.red{background:#ff4d4f;}

/* TABLE CARD */

.table-card{

background:white;
padding:20px;
border-radius:12px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);

}

/* SEARCH */

.table-header{

display:flex;
gap:10px;
margin-bottom:15px;

}

.search-input{

padding:10px;
border:1px solid #ddd;
border-radius:6px;
flex:1;

}

.filter-select{

padding:10px;
border-radius:6px;
border:1px solid #ddd;

}

.filter-btn{

background:#1677ff;
border:none;
color:white;
padding:10px 15px;
border-radius:6px;

}

/* TABLE */

.modern-table{

width:100%;
border-collapse:collapse;

}

.modern-table th{

background:#fafafa;
padding:14px;
text-align:left;

}

.modern-table td{

padding:14px;
border-top:1px solid #eee;

}

.modern-table tr:hover{

background:#f9fbff;

}

/* USER */

.user-cell{

display:flex;
align-items:center;
gap:10px;

}

.avatar{

width:38px;
height:38px;
border-radius:50%;
background:#1677ff;
color:white;

display:flex;
align-items:center;
justify-content:center;

font-weight:600;

}

.user-name{

font-weight:500;

}

.user-id{

font-size:12px;
color:#999;

}

/* BADGES */

.badge-role{

padding:4px 10px;
border-radius:6px;
font-size:12px;
background:#eee;

}

.badge-status{

padding:4px 10px;
border-radius:6px;
font-size:12px;

}

.badge-status.active{background:#e6fffb;color:#08979c;}
.badge-status.suspended{background:#fff1f0;color:#cf1322;}

/* ACTIONS */

.actions button{

border:none;
background:none;
margin-right:6px;
font-size:16px;
cursor:pointer;

}

.actions .view{color:#1677ff;}
.actions .edit{color:#faad14;}
.actions .delete{color:#ff4d4f;}

/* PAGINATION */

.pagination{

margin-top:20px;
display:flex;
gap:6px;

}

.pagination a{

padding:8px 12px;
border:1px solid #ddd;
border-radius:6px;
text-decoration:none;
color:#444;

}

.pagination a.active{

background:#1677ff;
color:white;

}
































/* ========== ADMIN AJAX NAVIGATION STYLES ========== */

/* Main content area transitions */
#main-content-container {
    transition: opacity 0.3s ease;
    min-height: 500px;
    min-width: 850px;
}

#main-content-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Loading spinner */
.main-content-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Breadcrumb styling */
.breadcrumb-container {
    margin-bottom: 1.5rem;
}

.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.breadcrumb-item a {
    color: var(--bs-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Page transitions */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}

.page-transition-exit {
    opacity: 1;
}

.page-transition-exit-active {
    opacity: 0;
    transition: opacity 300ms;
}

/* Sidebar link active state animation */
.list-group-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.list-group-item.active {
    background: linear-gradient(90deg, var(--bs-primary) 0%, #0056b3 100%);
    border-color: var(--bs-primary);
}

.list-group-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--bs-secondary);
}

.list-group-item:not(.active):hover {
    transform: translateX(5px);
    background-color: #f8f9fa;
}

/* Content area cards animation */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Stats cards animation */
.col-md-3 .card {
    position: relative;
    overflow: hidden;
}

.col-md-3 .card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.col-md-3 .card:active::after {
    width: 300px;
    height: 300px;
}

/* Error state styling */
.alert-danger {
    border-left: 4px solid #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Cache indicator (optional) */
.cache-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.cache-indicator.show {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #main-content-container {
        min-height: 400px;
    }
    
    .list-group-item:not(.active):hover {
        transform: translateX(3px);
    }
}

@media (max-width: 768px) {
    #main-content-container {
        min-height: 300px;
    }
    
    .card:hover {
        transform: translateY(-1px);
    }
}

/* Print styles */
@media print {
    .list-group,
    .btn,
    .action-btn {
        display: none !important;
    }
    
    #main-content-container {
        width: 100% !important;
        margin: 0 !important;
    }
}




















/* ========== STICKY HEADER STYLES ========== */

/* Base sticky header styles */
.advanced-header.sticky-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Header shrink effect on scroll */
.advanced-header.sticky-top.scrolled {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Ensure header is visible on mobile */
@media (max-width: 991.98px) {
    .advanced-header.sticky-top {
        position: sticky !important;
        top: 0 !important;
        display: block !important;
        z-index: 9999 !important;
    }
    
    /* Adjust padding for mobile */
    .advanced-header.sticky-top .row {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}

/* Animation for mobile menu */
#mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10000;
    background: transparent;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for content under sticky header */
body {
    padding-top: 0;
    margin: 0;
}

/* Add padding to main content to account for sticky header if needed */
.container-fluid.py-4 {
    padding-top: 1rem !important;
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}








/* Search box with clickable icon */
.search-icon-right-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    color: #6c757d;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.search-icon-right-btn:hover {
    color: var(--bs-primary);
    transform: translateY(-50%) scale(1.1);
}

.search-icon-right-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.search-box .form-control {
    padding-right: 45px !important;
}