:root {
  --primary-color: #f97316;
}

body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  color: #111827;
  padding-top: 90px;
}

/* ================= NAVBAR ================= */

.custom-navbar {
  background: white;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f3f4f6;
  padding: 12px 0;
}

.circle-logo {
  width: 90px;
}

.main-logo {
  width: 250px;
}

.mobile-right-logo {
  width: 140px;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 600;
}
.nav-link:hover,
.active-link {
  color: var(--primary-color) !important;
}
/* ================= HERO ================= */

.hero-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);

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

.hero-banner p {
  max-width: 900px;
  margin: auto;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 65vh;
  }

  .hero-banner h2 {
    font-size: 1rem;
  }
  .hero-banner p {
    font-size: 14px;
  }
}
/* ================= industries we serve icon section ================= */

.industry-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;

  filter: invert(48%) sepia(94%) saturate(2500%) hue-rotate(5deg)
    brightness(102%) contrast(120%);

  transform: scale(1.08);
}

.home-vision {
  width: 500px;
  height: 500px;
}
/* ================= BUTTONS ================= */

.main-btn,
.btn-explore-prod {
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
}

.main-btn:hover {
  background: #ea580c;
  color: white;
}

.outline-btn {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 12px;
}

.outline-btn:hover {
  background: var(--primary-color);
  color: white;
}

.text-orange {
  color: var(--primary-color);
}

/* ================= CARDS ================= */

.feature-card {
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  font-size: 42px;
  color: var(--primary-color);
}
/* ================= FOOTER ================= */

.footer-section {
  background: #000000;
}

.footer-logo {
  width: 240px;
}

footer a {
  transition: 0.3s;
}

footer a:hover {
  color: #9a4306 !important;
}

/* ================= CONTACT US PAGE ================= */

.form-control,
.form-select {
  height: 45px;
}

.submit-contact-btn {
  height: 45px;
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
}

/* ================= PRODUCTSPAGE ================= */
.category-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-slider::-webkit-scrollbar {
  display: none;
}

.category-btn {
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 50px;
}

.category-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.bg-orange {
  background-color: var(--primary-color) !important;
}

/* ================= Industries we serve ================= */

.card-img-top {
  height: 220px;
  object-fit: cover;
}
/* ================= FOOTER ================= */

.footer {
  background-color: #736f6c;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .circle-logo {
    width: 55px;
  }

  .mobile-right-logo {
    width: 120px;
  }

  .main-logo {
    display: none;
  }

  .navbar-collapse {
    margin-top: 15px;
  }

  .home-vision {
    width: 400px;
    height: 400px;
  }
}

/* ================= DARK MODE ================= */

body.dark-mode {
  background: #121212;
  color: #f5f5f5;
}

body.dark-mode .custom-navbar {
  background: #1e1e1e;
  border-bottom: 1px solid #333;
}

body.dark-mode .bg-light {
  background-color: #1e1e1e !important;
}

body.dark-mode .card,
body.dark-mode .border,
body.dark-mode .shadow-sm {
  background: #242424;
  color: #fff;
  border-color: #333 !important;
}

body.dark-mode .nav-link {
  color: #fff !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background: #2b2b2b;
  color: #fff;
  border-color: #444;
}

body.dark-mode .form-control::placeholder {
  color: #aaa;
}

body.dark-mode footer {
  background: #000;
}

/* ================= DARK MODE ================= */

.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

.dark-mode .bg-light {
  background-color: #1e1e1e !important;
}

.dark-mode .bg-white {
  background-color: #242424 !important;
}

.dark-mode .border {
  border-color: #3a3a3a !important;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode label,
.dark-mode p,
.dark-mode span {
  color: #ffffff;
}

.dark-mode .form-control,
.dark-mode .form-select,
.dark-mode textarea {
  background-color: #2b2b2b;
  border: 1px solid #444;
  color: white;
}

.dark-mode .form-control::placeholder,
.dark-mode textarea::placeholder {
  color: #b5b5b5;
}

.dark-mode .form-control:focus,
.dark-mode .form-select:focus {
  background-color: #2b2b2b;
  color: white;
  border-color: var(--primary-color);
  box-shadow: none;
}

.dark-mode .form-check-label {
  color: white;
}

.dark-mode .shadow-sm {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05) !important;
}

.dark-mode iframe {
  filter: grayscale(20%) invert(90%) hue-rotate(180deg);
}

/* ================= WHATSAPP ================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 34px;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ABOUT PAGE IMAGES */

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.about-image-wrapper img {
  min-height: 420px;
  object-fit: cover;
}

/* CLIENT MARQUEE */
.client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}

.client-card {
  width: 100%;
  height: 120px;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.client-card img {
  width: 110px;
  height: 75px;
  object-fit: contain;
  margin-bottom: 6px;
}

.client-card span {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-align: center;
  line-height: 1.2;
}

#clients {
  scroll-margin-top: 90px;
}

/* LARGE TABLET */
@media (max-width: 1200px) {
  .client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* TABLET */
@media (max-width: 992px) {
  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-card {
    height: 120px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .client-card {
    height: 120px;
  }

  .client-card img {
    width: 120px;
    height: 45px;
  }

  .client-card span {
    font-size: 13px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-card {
    height: 110px;
  }

  .client-card img {
    width: 100px;
    height: 40px;
  }

  .client-card span {
    font-size: 12px;
  }
}
/* SIDEBAR */

.product-sidebar {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  overflow: hidden;
  position: static;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.product-sidebar-title {
  padding: 20px 22px;

  background: #f97316;
  color: #ffffff;

  font-size: 18px;
  font-weight: 700;
}

/* CATEGORY */

.product-category {
  width: 100%;

  border: 0;
  border-bottom: 1px solid #eeeeee;

  background: #ffffff;

  padding: 17px 20px;

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

  text-align: left;

  color: #333333;

  font-size: 15px;
  font-weight: 600;

  transition: all 0.25s ease;
}

.product-category:last-child {
  border-bottom: 0;
}

.product-category i {
  font-size: 12px;
  color: #f97316;

  transition: transform 0.25s ease;
}

.product-category:hover {
  background: #fff7f1;
  color: #f97316;
}

.product-category:hover i {
  transform: translateX(4px);
}

.product-category.active {
  background: #294b65;
  color: #ffffff;
}

.product-category.active i {
  color: #f97316;
}


/* Category Active / Disable Toggle */
.category-status-toggle {
  width: 42px !important;
  height: 22px !important;
  cursor: pointer;
}

.category-status-toggle:checked {
  background-color: #f97316;
  border-color: #f97316;
}

.category-status-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15);
}

.category-status-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* CONTENT HEADER */

.product-content-header {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 20px;
}

/* Product pagination */
#products-pagination .page-link {
  color: #f97316;
  border-color: #dee2e6;
  background-color: #fff;
  font-weight: 700;
}

#products-pagination .page-link:hover {
  color: #fff;
  background-color: #f97316;
  border-color: #f97316;
}

#products-pagination .page-item.active .page-link {
  color: #fff;
  background-color: #f97316;
  border-color: #f97316;
}

#products-pagination .page-item.disabled .page-link {
  color: #adb5bd;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

/* PRODUCT CARD */

.product-card {
  background: #ffffff;

  border: 1px solid #e8e8e8;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

/* PRODUCT IMAGE */

.product-image {
  height: 160px;

  background: white;

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

  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  padding: 20px;

  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* ORANGE LINE */

.product-image {
  border-bottom: 5px solid #f97316;
}

/* CARD BODY */

.product-card-body {
  padding: 22px;
}

.product-part-number {
  color: #f97316;

  font-size: 12px;

  font-weight: 700;

  margin-bottom: 8px;

  letter-spacing: 0.4px;
}

.product-card-body h5 {
  color: #294b65;
  line-height: 1.35;
}

.product-card-body p {
  line-height: 1.6;
}

/* MOBILE */

@media (max-width: 991px) {
  .product-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .product-sidebar-title {
    padding: 16px 18px;
  }

  .product-category {
    padding: 14px 16px;
    font-size: 14px;
  }

  .product-image {
    height: 200px;
  }

  .product-card-body {
    padding: 18px;
  }
}

/* ========================================================= */
/* NEWS CARDS */
/* ========================================================= */

.news-card {
  display: flex;
  width: 100%;

  background: #ffffff;

  border: 1px solid #e9e9e9;
  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

  transition: all 0.3s ease;
}

/* IMAGE */

.news-image {
  width: 38%;
  min-height: 280px;

  flex-shrink: 0;

  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.4s ease;
}

/* CONTENT */

.news-content {
  flex: 1;
  padding: 35px 40px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CATEGORY */

.news-category {
  display: inline-block;
  width: fit-content;
  background: #fff3e8;
  color: #f47b20;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* DATE */

.news-date {
  font-size: 14px;

  color: #6c757d;

  margin-bottom: 10px;
}

/* HOVER */

.news-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-card:hover .news-image img {
  transform: scale(1.04);
}

/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
  }

  .news-image {
    width: 100%;
    height: auto;
    min-height: auto;
    background: #f8f8f8;
  }

  .news-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .news-content {
    padding: 25px 22px;
  }

  .news-content h3 {
    font-size: 22px;
  }
}

/* ==========================================
   ADMIN MANAGEMENT
========================================== */

.admin-management-section {
  background: #f8f9fa;
  min-height: 700px;
}

/* ==========================================
   ADMIN SIDEBAR
========================================== */

#admin-sidebar {
  position: sticky;
  top: 30px;
}

.admin-sidebar-inner {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* ==========================================
   SIDEBAR HEADER
========================================== */

.admin-sidebar-header {
  background: #ff6b00;
  color: #ffffff;

  padding: 22px 20px;

  display: flex;
  align-items: center;

  gap: 14px;
}

.admin-sidebar-logo {
  width: 44px;
  height: 44px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.18);

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

  font-size: 19px;
}

.admin-sidebar-header h5 {
  font-size: 16px;
}

.admin-sidebar-header small {
  opacity: 0.85;
}

/* ==========================================
   SIDEBAR NAVIGATION
========================================== */

.admin-sidebar-nav {
  padding: 15px 12px 18px;
}

.admin-sidebar-section {
  margin-bottom: 20px;
}

.admin-sidebar-section:last-child {
  margin-bottom: 0;
}

.admin-sidebar-section-title {
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.8px;

  color: #8a8f98;

  padding: 5px 12px 8px;
}

/* ==========================================
   SIDEBAR LINKS
========================================== */

.admin-sidebar-link {
  display: flex;
  align-items: center;

  gap: 12px;

  width: 100%;

  padding: 11px 12px;

  margin-bottom: 3px;

  border-radius: 10px;

  color: #4d5157;

  text-decoration: none;

  font-size: 14px;
  font-weight: 500;

  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-sidebar-link i {
  width: 20px;

  text-align: center;

  font-size: 15px;
}

.admin-sidebar-link:hover {
  background: #fff3eb;

  color: #ff6b00;

  transform: translateX(2px);
}

.admin-sidebar-link.active {
  background: #ff6b00;

  color: #ffffff;

  font-weight: 600;
}

.admin-sidebar-link.active:hover {
  background: #ff6b00;

  color: #ffffff;

  transform: none;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991.98px) {
  #admin-sidebar {
    position: static;
  }

  .admin-sidebar-inner {
    margin-bottom: 10px;
  }
}

/* PRODUCT URL  */

/* ==========================================
   CLICKABLE PRODUCT
   ========================================== */

.product-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-clickable:hover {
  transform: translateY(-4px);
}

/* ==========================================
     PRODUCT DETAILS MODAL
     ========================================== */

     .product-modal-carousel-inner {
      width: 100%;
    }
    
    .product-modal-carousel-inner .carousel-item {
      width: 100%;
    }

     .product-modal-image {
      width: 100%;
      height: 380px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f8f8;
      border-radius: 12px;
      overflow: hidden;
    }
    
    .product-modal-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

#productDetailsModal .product-part-number {
  color: #f97316;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#productDetailsModal .modal-content {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#modal-product-carousel .carousel-control-prev,
#modal-product-carousel .carousel-control-next {
  width: 45px;
}

#modal-product-carousel .carousel-control-prev-icon,
#modal-product-carousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  background-size: 50%;
  width: 36px;
  height: 36px;
}

@media (max-width: 767px) {

  .product-modal-image {
    height: 280px;
  }
}


/* Product navigation arrows */
.product-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: #f97316;
  color: #fff;

  z-index: 20;

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

  cursor: pointer;

  transition: all 0.2s ease;
}

/* Important: arrows are positioned relative to modal-dialog */
.modal-dialog {
  position: relative;
}

.product-modal-prev {
  left: -55px;
}

.product-modal-next {
  right: -55px;
}

.product-modal-arrow:hover {
  background: #ea580c;
  transform: translateY(-50%) scale(1.05);
}

.product-modal-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ================= PRODUCTS DARK MODE ================= */

body.dark-mode .products-section {
  background: #121212;
}

body.dark-mode .product-sidebar,
body.dark-mode .product-card {
  background: #1e1e1e !important;
  color: #fff !important;
  border-color: #333 !important;
}

body.dark-mode .product-category {
  background: #1e1e1e !important;
  color: #fff !important;
  border-color: #333 !important;
}

body.dark-mode .product-category span {
  color: #fff !important;
}

body.dark-mode .product-category.active {
  background: #294b65 !important;
  color: #fff !important;
}

body.dark-mode .product-category.active span {
  color: #fff !important;
}

body.dark-mode .product-card-body {
  background: #1e1e1e !important;
}

body.dark-mode .product-card-body h6 {
  color: #fff !important;
}

body.dark-mode .product-card-body p {
  color: #aaa !important;
}

.product-category-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px;
  background-color: #1f1f1f !important;
  color: #fff !important;
  border: 1px solid #444;
  text-align: left;
}

.btn-arrows-move-product {
  padding: 3px 6px;
  font-size: 11px;
  line-height: 1.2;
}

.btn-orange{
  background-color: #ea580c;
  color: white;
}

.product-category-mobile-toggle i {
  color: #fff !important;
  flex-shrink: 0;
}

/* body.dark-mode .product-image {
  background: #242424 !important;
} */

body.dark-mode .product-content-header {
  border-color: #333 !important;
}

body.dark-mode #category-title {
  color: #fff !important;
}

body.dark-mode #category-description,
body.dark-mode #product-count {
  color: #aaa !important;
}

body.dark-mode #product-search {
  background: #2b2b2b !important;
  color: #fff !important;
  border-color: #444 !important;
}

body.dark-mode #product-search::placeholder {
  color: #aaa !important;
}

body.dark-mode .input-group-text {
  background: #2b2b2b !important;
  color: #fff !important;
  border-color: #444 !important;
}



/* =========================================================
   ADMIN PAGES - DARK MODE
   Add Product + Manage Products
   ========================================================= */

   body.dark-mode .admin-management-section {
    background: #121212 !important;
  }
  
  /* Cards */
  body.dark-mode .admin-management-section .card,
  body.dark-mode .admin-management-section .card-body {
    background: #1e1e1e !important;
    color: #fff !important;
    border-color: #333 !important;
  }
  
  /* Headings */
  body.dark-mode .admin-management-section h1,
  body.dark-mode .admin-management-section h2,
  body.dark-mode .admin-management-section h3,
  body.dark-mode .admin-management-section h4,
  body.dark-mode .admin-management-section h5,
  body.dark-mode .admin-management-section h6 {
    color: #fff !important;
  }
  
  /* Labels */
  body.dark-mode .admin-management-section .form-label,
  body.dark-mode .admin-management-section .form-check-label {
    color: #fff !important;
  }
  
  /* Inputs */
  body.dark-mode .admin-management-section .form-control,
  body.dark-mode .admin-management-section .form-select,
  body.dark-mode .admin-management-section textarea {
    background: #2b2b2b !important;
    color: #fff !important;
    border-color: #444 !important;
  }
  
  body.dark-mode .admin-management-section .form-control::placeholder,
  body.dark-mode .admin-management-section textarea::placeholder {
    color: #999 !important;
  }
  
  /* Input group search */
  body.dark-mode .admin-management-section .input-group-text {
    background: #2b2b2b !important;
    color: #fff !important;
    border-color: #444 !important;
  }
  
  /* Secondary text */
  body.dark-mode .admin-management-section .text-secondary {
    color: #aaa !important;
  }
  
  /* Manage products table */
  body.dark-mode .admin-management-section .table {
    color: #fff !important;
    --bs-table-bg: #1e1e1e;
    --bs-table-color: #fff;
  }
  
  body.dark-mode .admin-management-section .table-light {
    background: #292929 !important;
    color: #fff !important;
  }
  
  body.dark-mode .admin-management-section .table-light th {
    background: #292929 !important;
    color: #fff !important;
    border-color: #444 !important;
  }
  
  body.dark-mode .admin-management-section .table td,
  body.dark-mode .admin-management-section .table th {
    border-color: #333 !important;
  }
  
  /* Product count badge */
  body.dark-mode .admin-management-section .bg-light {
    background: #2b2b2b !important;
    color: #fff !important;
  }
  
  /* Modals */
  body.dark-mode .modal-content {
    background: #1e1e1e !important;
    color: #fff !important;
    border-color: #333 !important;
  }
  
  body.dark-mode .modal-header,
  body.dark-mode .modal-footer {
    border-color: #333 !important;
  }
  
  body.dark-mode .modal-title {
    color: #fff !important;
  }
  
  /* Close button */
  body.dark-mode .btn-close {
    filter: invert(1);
  }
  
  /* Light buttons */
  body.dark-mode .btn-light {
    background: #2b2b2b !important;
    color: #fff !important;
    border-color: #444 !important;
  }
  
  body.dark-mode .btn-light:hover {
    background: #3a3a3a !important;
  }
  
  /* Image preview borders */
  body.dark-mode .admin-management-section img.border {
    border-color: #444 !important;
  }

  /* ADMIN SIDEBAR - DARK MODE */

body.dark-mode .admin-sidebar-inner {
  background: #1e1e1e;
  border-color: #333;
}

body.dark-mode .admin-sidebar-link {
  color: #ddd;
}

body.dark-mode .admin-sidebar-link:hover {
  background: #2b2b2b;
  color: #f97316;
}

body.dark-mode .admin-sidebar-link.active {
  background: #f97316;
  color: #fff;
}

body.dark-mode .admin-sidebar-section-title {
  color: #888;
}

/* ================= CATEGORY MANAGEMENT - DARK MODE ================= */

body.dark-mode .table-light,
body.dark-mode .table-light th {
  background: #292929 !important;
  color: #fff !important;
  border-color: #444 !important;
}

body.dark-mode .table {
  --bs-table-bg: #1e1e1e;
  --bs-table-color: #fff;
}

body.dark-mode .table td,
body.dark-mode .table th {
  border-color: #333 !important;
}

body.dark-mode #category-count {
  background: #2b2b2b !important;
  color: #fff !important;
}

body.dark-mode .btn-light {
  background: #2b2b2b !important;
  color: #fff !important;
  border-color: #444 !important;
}