@charset "ISO-8859-1";


html, body {
  height: 100%;
  margin: 0;
  background-color: #ffffff; /* Changed from gradient to white */
  color: #000000; /* Changed text color to black for contrast */
  font-family: 'Poppins', sans-serif;
}

/* --- Sticky footer layout --- */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content wrapper should expand */
#mainContent {
  flex: 1;
}

/* Footer always stays at the bottom */
#footer {
  margin-top: auto;
}



.no-orders-container p {
    color: #6c757d; /* Muted gray text */
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.no-orders-container {
    animation: fadeIn 1.5s;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.no-cart-container {
    animation: fadeIn 1.5s;
}

/* Hover effect for the button */
.btn-primary:hover {
    background-color: #0056b3; /* Darker shade of blue */
    border-color: #004085;
}


/*        -------------------------------------------FOOTER START---------------------------------------------------- */
/* Footer Styling - Light Mode */
#footer {
  padding: 0;
  color: #222222;
  font-size: 14px;
  background: #f9f9f9;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Top section */
#footer .footer-top {
  padding: 6px 0; /* minimal vertical spacing */
  background: transparent;
  color: #333333;
}

/* Social container */
#footer .footer-top .socail-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;        /* tighter gap between icons */
  margin-top: 2px; /* almost no margin */
}

/* Social icons */
#footer .footer-top .socail-links a {
  font-size: 14px;          /* smaller icons */
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  color: #0077cc;
  line-height: 1;
  padding: 5px 0;           /* less padding */
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 28px;              /* smaller circle */
  height: 28px;
  transition: 0.2s ease;
}
#footer .footer-top .socail-links a:hover {
  background: #0077cc;
  color: #ffffff;
  box-shadow: 0 0 3px rgba(0, 119, 204, 0.3);
}

/* Footer links (if you keep them) */
#footer .footer-top .footer-links {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

/* Copyright section */
#footer .copyright {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #666666;
  padding: 4px 0; /* minimal height */
}
#footer .copyright span {
  color: #0077cc;
  font-weight: 600;
}

/* Credits (optional) */
#footer .credits {
  text-align: center;
  font-size: 12px;
  color: #999999;
  margin-top: 2px;
}
#footer .credits a {
  color: #0077cc;
  text-decoration: none;
}
#footer .credits a:hover {
  color: #005999;
}


/*        -------------------------------------------FOOTER END---------------------------------------------------- */


#sidebarMenu {
    width: 250px; /* Adjust to the width you want */
}


/* 											--------INDEX PAGE CAROUSEL START---------								 */
/* zoom-in on the active image */
.carousel-item img {
  transition: transform 6s ease;
}
.carousel-item.active img {
  transform: scale(1.1);
}

.carousel-item img {
  height: 110px;          /* default height (mobile) */
}

@media (min-width: 768px) {   /* tablets */
  .carousel-item img {
    height: 210px;
  }
}

@media (min-width: 1200px) {  /* desktops */
  .carousel-item img {
    height: 310px;
  }
}
/* 									-------INDEX PAGE CAROUSEL END-------------								 */

/* 									-------INDEX PAGE CAROUSEL POP IN ANIMATION START------------						 */
.animate-pop {
    animation: popIn 1s ease-in-out forwards;
  }
  @keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }

  .animate-slide {
    animation: slideIn 1.2s ease-in-out forwards;
  }
  @keyframes slideIn {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

  .animate-fade {
    animation: fadeIn 2s ease-in-out forwards;
  }
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }
/* 									-------INDEX PAGE CAROUSEL POP IN ANIMATION END------------						 */


/* Category Cards */
.category-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Image fits perfectly without cropping */
.category-img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* ensures full image shows, no crop */
  background: rgba(0, 0, 0, 0.3);
}

/* Card Body */
.category-card .card-body {
  padding: 1rem;
  flex-grow: 1;
  color: #e0e0e0;
}

.category-card .card-title {
  font-size: 1.1rem;
  /* color: #ffd700; */  /*gold tone fits dark bg */
  margin-bottom: 0.5rem;
}

/* Button styling */
.category-card .btn-outline-primary {
  color: #00bfff;
  border-color: #00bfff;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.category-card .btn-outline-primary:hover {
  background: #00bfff;
  color: #fff;
}


/* ==============================
   ADMIN DASHBOARD STYLES ONLY - LIGHT MODE
   ============================== */
.admin-dashboard {
  color: #222222; /* Dark text for readability on light background */
  font-family: 'Poppins', sans-serif;
  background: #ffffff; /* optional, match page background */
}

/* Dashboard Title */
.admin-dashboard .dashboard-title {
  letter-spacing: 2px;
  color: #0077cc; /* accent for light mode */
  text-shadow: none; /* remove glow for readability */
  font-weight: 600;
}

/* Dashboard Cards */
.admin-dashboard .card-sh {
  background: #f5f5f5; /* light card background */
  border: 1px solid #dddddd; /* subtle border */
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* subtle shadow */
  transition: all 0.35s ease;
  cursor: pointer;
}

.admin-dashboard .card-sh:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 119, 204, 0.2); /* subtle hover glow in accent color */
  border-color: #0077cc;
}

/* Card Content */
.admin-dashboard .card-sh .card-body {
  padding: 2.5rem 1rem;
  color: #333333; /* dark text inside cards */
  transition: color 0.3s ease;
}

/* Icons */
.admin-dashboard .card-sh i {
  margin-bottom: 15px;
  color: #0077cc; /* icon accent color */
  transition: transform 0.3s ease, color 0.3s ease;
}

.admin-dashboard .card-sh:hover i {
  transform: scale(1.15);
  color: #005999; /* darker accent on hover */
}

/* Titles */
.admin-dashboard .card-sh h4 {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222222;
}

/* Remove link underline and keep color */
.admin-dashboard a.text-decoration-none {
  color: inherit;
  text-decoration: none;
}

/* Responsive Padding */
@media (max-width: 991px) {
  .admin-dashboard .row.p-5 {
    padding: 2rem !important;
  }
}

@media (max-width: 576px) {
  .admin-dashboard .card-sh .card-body {
    padding: 2rem 1rem;
  }
}

/* Optional: Match icon color glow on hover for specific classes */
.admin-dashboard .card-sh:hover.text-warning {
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
  border-color: #ffc107;
}

.admin-dashboard .card-sh:hover.text-success {
  box-shadow: 0 0 15px rgba(25, 135, 84, 0.3);
  border-color: #198754;
}
/* ==============================
   ---------------END ADMIN DASHBOARD STYLES ONLY
   ============================== */

   
/* ==============================
   ADMIN ORDERS PAGE STYLES - LIGHT MODE
   ============================== */
.admin-orders {
  background: #ffffff; /* light page background */
  color: #222222; /* dark text */
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}

/* Headings */
.admin-orders h1, .admin-orders h2, .admin-orders h3, 
.admin-orders h4, .admin-orders h5, .admin-orders h6 {
  color: #222222;
  text-shadow: none;
}

/* Table */
.admin-orders .table {
  background-color: #f5f5f5;
  color: #222222;
  border-radius: 8px;
  overflow: hidden;
  border-collapse: collapse;
}

.admin-orders .table th {
  background-color: #e0e0e0 !important;
  color: #222222 !important;
  font-weight: 600;
  border-bottom: 1px solid #cccccc;
}

.admin-orders .table td {
  color: #333333;
  border-color: #dddddd;
}

.admin-orders .table tbody tr:hover {
  background-color: #e8f0ff; /* subtle hover effect */
  transition: background 0.2s ease-in-out;
}

/* Alerts */
.admin-orders .alert {
  background-color: #f0f0f0;
  border: none;
  color: #222222;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.admin-orders .alert-success {
  background-color: rgba(40, 167, 69, 0.15);
  border-left: 4px solid #28a745;
  color: #155724;
}

.admin-orders .alert-danger {
  background-color: rgba(220, 53, 69, 0.15);
  border-left: 4px solid #dc3545;
  color: #721c24;
}

/* Dropdown (Select) */
.admin-orders select.form-control {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #222222;
  border-radius: 6px;
}

.admin-orders select.form-control option {
  background-color: #ffffff;
  color: #222222;
}

.admin-orders select.form-control:focus {
  border-color: #4e9af1;
  box-shadow: 0 0 0 0.25rem rgba(78, 154, 241, 0.2);
}

/* Buttons */
.admin-orders .btn {
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.admin-orders .btn-primary {
  background: linear-gradient(90deg, #4e9af1, #6a67f2);
  border: none;
  color: #fff;
}

.admin-orders .btn-success {
  background: linear-gradient(90deg, #28a745, #1e8740);
  border: none;
  color: #fff;
}

.admin-orders .btn-primary:hover,
.admin-orders .btn-success:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Badges */
.admin-orders .badge {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 6px;
}

.admin-orders .bg-success { background-color: #28a745 !important; color: #fff !important; }
.admin-orders .bg-danger { background-color: #dc3545 !important; color: #fff !important; }
.admin-orders .bg-secondary { background-color: #6c757d !important; color: #fff !important; }

/* Empty Orders Section */
.admin-orders .no-orders-container {
  background-color: #f5f5f5 !important;
  border: 1px solid #dddddd;
  color: #222222;
}

.admin-orders .no-orders-container .text-danger {
  color: #dc3545 !important;
}

.admin-orders .no-orders-container p {
  color: #555555;
}

/* Pagination */
.admin-orders .pagination .page-item .page-link {
  background-color: #f0f0f0;
  border: none;
  color: #222222;
}

.admin-orders .pagination .page-item.active .page-link {
  background-color: #4e9af1;
  color: #fff;
  font-weight: bold;
}

.admin-orders .pagination .page-link:hover {
  background-color: #e0eaff;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-orders .table {
    font-size: 0.9rem;
  }
}
/* ==============================
  END ADMIN ORDERS PAGE STYLES - LIGHT MODE
   ============================== */
   
  /* ADMIN CATEGORY PAGE STYLING - LIGHT MODE */
.admin-category {
  color: #222222; /* dark text for readability */
  background: #ffffff; /* optional page background */
}

/* Cards */
.admin-category .card {
  background: #f5f5f5; /* light card background */
  border: 1px solid #dddddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* subtle shadow */
  color: #333333;
}

.admin-category .card-header {
  background: #e0e0e0;
  color: #222222;
  border-bottom: 1px solid #cccccc;
}

/* Labels */
.admin-category label {
  color: #333333;
  font-weight: 500;
}

/* Form controls */
.admin-category .form-control,
.admin-category .form-check-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #222222;
}

.admin-category .form-control:focus {
  border-color: #4e9af1;
  box-shadow: 0 0 3px rgba(78, 154, 241, 0.3);
}

/* File input button */
.admin-category input::file-selector-button {
  background: #4e9af1;
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.admin-category input::file-selector-button:hover {
  background: #3577c4;
}

/* Buttons */
.admin-category .btn {
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.admin-category .btn-success {
  background: #28a745;
  color: #fff;
}
.admin-category .btn-success:hover {
  background: #218838;
}

.admin-category .btn-outline-success {
  border: 1px solid #28a745;
  color: #28a745;
}
.admin-category .btn-outline-success:hover {
  background: #28a745;
  color: #fff;
}

.admin-category .btn-primary {
  background: #6c63ff;
  border: none;
  color: #fff;
}
.admin-category .btn-primary:hover {
  background: #533ebb;
}

/* Table */
.admin-category table {
  background: #f5f5f5;
  color: #222222;
  border-radius: 8px;
  overflow: hidden;
}

.admin-category table th {
  background: #e0e0e0;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-category table td {
  color: #333333;
}

.admin-category table tr:hover {
  background: #e8f0ff; /* subtle hover */
}

/* Alerts */
.admin-category .alert-success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #155724;
}
.admin-category .alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #721c24;
}

/* Pagination */
.admin-category .pagination .page-link {
  background-color: #f0f0f0;
  color: #222222;
  border: none;
  margin: 0 3px;
}
.admin-category .pagination .page-link:hover {
  background-color: #e0eaff;
}
.admin-category .pagination .active .page-link {
  background-color: #6c63ff;
  color: #fff;
  border: none;
}

/* Image Styling */
.admin-category img {
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #cccccc;
}
/* END ADMIN CATEGORY PAGE STYLING - LIGHT MODE */
      
/* ===========================
   ADMIN EDIT CATEGORY PAGE STYLE - LIGHT MODE
   =========================== */
.admin-edit-category {
  color: #222222; /* dark text for readability */
  background: #ffffff; /* optional page background */
}

/* Card Styling */
.admin-edit-category .card {
  background: #f5f5f5; /* light card background */
  border-radius: 10px;
  border: 1px solid #dddddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.admin-edit-category .card-header {
  background: #e0e0e0;
  color: #222222;
  font-weight: 600;
  border-bottom: 1px solid #cccccc;
}

.admin-edit-category .card-header p {
  margin: 0;
}

/* Form Elements */
.admin-edit-category label {
  color: #333333;
  font-weight: 500;
}

.admin-edit-category .form-control {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #222222;
  border-radius: 6px;
  transition: 0.3s ease;
}

.admin-edit-category .form-control:focus {
  border-color: #4e9af1;
  box-shadow: 0 0 3px rgba(78, 154, 241, 0.3);
  background-color: #ffffff;
}

.admin-edit-category .form-check-label {
  color: #333333;
}

.admin-edit-category .form-check-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

.admin-edit-category .form-check-input:checked {
  background-color: #4e9af1;
  border-color: #4e9af1;
}

/* File Upload Button */
.admin-edit-category input::file-selector-button {
  background: #4e9af1;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.admin-edit-category input::file-selector-button:hover {
  background: #3577c4;
}

/* Image Preview */
.admin-edit-category img {
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #cccccc;
  margin-top: 10px;
}

/* Buttons */
.admin-edit-category .btn-success {
  background-color: #28a745;
  border: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}
.admin-edit-category .btn-success:hover {
  background-color: #218838;
  transform: scale(1.02);
}

/* Alerts */
.admin-edit-category .alert-success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #155724;
}

.admin-edit-category .alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #721c24;
}

/* Close Button in Alerts */
.admin-edit-category .btn-close {
  filter: none;
}
      
/* ===========================
   ---------------------------END ADMIN EDIT CATEGORY PAGE STYLE
   =========================== */

   
  /* Scope to admin-products only - LIGHT MODE */
.admin-products {
  color: #222222; /* dark text */
  background: #ffffff; /* optional page background */
}

.admin-products h3 {
  color: #0077cc; /* accent color for headings */
  font-weight: 600;
  text-shadow: none;
}

.admin-products hr {
  border-color: #cccccc;
}

/* Table Styles */
.admin-products .table {
  background-color: #f5f5f5; /* light table background */
  color: #222222;
  border-color: #dddddd;
}

.admin-products .table-hover tbody tr:hover {
  background-color: #e8f0ff; /* subtle hover effect */
}

.admin-products-thead th {
  background-color: #e0e0e0;
  color: #222222;
  font-weight: 600;
}

/* Buttons */
.admin-products .btn-primary {
  background-color: #4c51bf;
  border-color: #4c51bf;
  color: #fff;
}

.admin-products .btn-danger {
  background-color: #e63946;
  border-color: #e63946;
  color: #fff;
}

.admin-products .btn-success {
  background-color: #38a169;
  border-color: #38a169;
  color: #fff;
}

.admin-products .btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Dropdown / Select fix */
.admin-products select,
.admin-products option {
  background-color: #ffffff;
  color: #222222;
  border: 1px solid #cccccc;
}

.admin-products select:focus {
  box-shadow: 0 0 3px rgba(78, 154, 241, 0.3);
  border-color: #4e9af1;
}

/* Table border and responsiveness */
.admin-products .table-bordered th,
.admin-products .table-bordered td {
  border-color: #dddddd;
}
/* ------------------------------END */
   
/* Scope only to admin pages - LIGHT MODE */
.admin-navbar,
.admin-navbar .navbar,
.admin-navbar .offcanvas {
  background: #ffffff; /* light navbar & sidebar background */
  color: #222222 !important;
  border: none;
}

/* Navbar brand text */
.admin-navbar .navbar-brand {
  color: #0077cc !important; /* accent color for light mode */
  font-weight: 700;
  font-style: italic;
  font-size: 1.8rem;
  text-shadow: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.admin-navbar .navbar-brand:hover {
  color: #005999 !important;
  text-shadow: none;
}

/* Navbar links */
.admin-navbar .nav-link {
  color: #333333 !important;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
}
.admin-navbar .nav-link:hover,
.admin-navbar .nav-link.active {
  color: #005999 !important;
  background: rgba(0, 119, 204, 0.1);
  border-radius: 8px;
}

/* Navbar toggler */
.admin-navbar .navbar-toggler {
  border: none;
  filter: none;
}

/* Offcanvas sidebar */
.admin-navbar .offcanvas {
  background: #f5f5f5;
  color: #222222;
  border-right: 1px solid #dddddd;
}

/* Offcanvas header */
.admin-navbar .offcanvas-header {
  background: #e0e0e0;
  border-bottom: 1px solid #cccccc;
}
.admin-navbar .offcanvas-title {
  color: #0077cc !important;
  font-weight: 600;
}
.offcanvas-header .offcanvas-title strong {
  color: #0077cc !important;
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: none;
}

/* Sidebar nav links */
.admin-navbar .offcanvas .nav-link {
  color: #333333 !important;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.admin-navbar .offcanvas .nav-link:hover {
  background: rgba(0, 119, 204, 0.1);
  color: #005999 !important;
}
.admin-navbar .offcanvas .nav-link i {
  color: #0077cc; /* icon accent color */
  margin-right: 8px;
}

/* Offcanvas close button */
.admin-navbar .btn-close-white {
  filter: none;
}

   /* ------------------------------------END Scope only to admin pages */
   
 /* === Scoped to checkout page only - LIGHT MODE === */
.checkout-section {
  color: #222222; /* dark text */
}

/* Checkout heading animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.checkout-heading {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  border-radius: 15px;
  padding: 18px 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.checkout-heading p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* 🌐 Responsive text size for mobile */
@media (max-width: 576px) {
  .checkout-heading {
    padding: 14px 18px;
  }

  .checkout-heading p {
    font-size: 0.875rem; /* smaller text (14px) on phones */
  }
}


/* Category image */
.checkout-category-img {
  max-height: 400px;
  object-fit: cover;
  border: 2px solid #cccccc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checkout-category-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* Form wrapper */
.checkout-form-wrapper {
  background: #f5f5f5;
  backdrop-filter: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 15px;
}

/* Form labels */
.checkout-section label {
  font-size: 1rem;
  color: #222222;
}

/* Inputs and selects */
.checkout-section .form-control,
.checkout-section .form-select {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #222222;
}

.checkout-section .form-control::placeholder {
  color: #888888;
}

.checkout-section .form-select option {
  background: #ffffff;
  color: #222222;
}

.checkout-section .form-control:focus,
.checkout-section .form-select:focus {
  border-color: #4e9af1;
  box-shadow: 0 0 3px rgba(78, 154, 241, 0.3);
}

/* Buttons */
.checkout-section .btn-primary {
  background: linear-gradient(135deg, #28a745, #218838);
  border: none;
  transition: background 0.3s ease;
  color: #fff;
}

.checkout-section .btn-primary:hover {
  background-color: #1e7e34;
}

/* Responsive */
@media (max-width: 768px) {
  .checkout-category-img {
    max-height: 250px;
    margin-bottom: 1.5rem;
  }

  .checkout-form-wrapper {
    padding: 1.5rem;
  }
}

.checkout-form-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
  font-size: 0.9rem;
  text-align: center; /* centers all footer text */
  color: #555;
}

.checkout-form-footer a {
  color: #2575fc; /* match your gradient blue */
}

.checkout-form-footer a:hover {
  text-decoration: underline;
}

/* container holding Secure Payment + Fast Delivery */
.checkout-form-footer .d-flex {
  justify-content: center;
  gap: 1.5rem; /* spacing between the two items */
  flex-wrap: wrap;
}

.checkout-form-footer .d-flex span {
  white-space: nowrap;
}

/* mobile adjustments */
@media (max-width: 576px) {
  .checkout-form-footer {
    font-size: 0.85rem;
  }

  .checkout-form-footer .d-flex {
    gap: 10px;
  }
}

  
    /* ===== ---------------END Scoped to checkout page only ===== */
    

    
    /* ===== ---------------HOMEPAGE TITLE - LIGHT MODE ===== */
/* Title Animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

.homepage-title {
  animation: pulse 2s infinite;
  transform-origin: center;
  letter-spacing: 2px;
  color: #0077cc; /* darker blue for light background */
  text-shadow: 0 0 2px rgba(0, 119, 204, 0.3); /* subtle shadow */
  font-weight: 600;
}

/* Title container wrapper to prevent overflow */
.title-wrapper {
  overflow: hidden;
}

     /* ===== ---------------END homepage title ===== */
     
 
   /* ================================
/* ================================
   DASHBOARD PAGE STYLES (Compact Modern)
   ================================ */
.dashboard-section {
  
  font-family: 'Poppins', sans-serif;
}

/* Greeting Section */
.dashboard-greeting {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  border-radius: 15px;
  padding: 18px 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-greeting h3 {
  font-weight: 600;
  font-size: 1.35rem;
}

.dashboard-greeting p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.dashboard-greeting h5 {
  font-size: 1rem;
}

.dashboard-greeting .btn {
  border-radius: 10px;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #2575fc !important;
  border: none;
}

/* Wallet Button Hover Effect */
.dashboard-greeting .btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff6a88, #ff99ac); /* updated to pink/red gradient */
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(255, 106, 136, 0.4); /* match shadow with gradient */
}


/* Stat Cards */
.dashboard-stat-card {
  border-radius: 15px;
  color: #fff;
  padding: 20px 8px;
  text-align: center;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.dashboard-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Text */
.dashboard-stat-card h6 {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.dashboard-stat-card h4 {
  color: #fff;
  font-weight: 700;
  margin: 0;
  font-size: 1.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Icon */
.dashboard-icon {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Modern Gradient Colors */
.dashboard-sales {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

.dashboard-orders {
  background: linear-gradient(135deg, #ff6a88, #ff99ac);
}

.dashboard-commission {
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

/* Hover Glow Effect */
.dashboard-sales:hover {
  box-shadow: 0 0 18px rgba(138, 43, 226, 0.45);
}
.dashboard-orders:hover {
  box-shadow: 0 0 18px rgba(255, 99, 132, 0.45);
}
.dashboard-commission:hover {
  box-shadow: 0 0 18px rgba(54, 209, 220, 0.45);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .dashboard-greeting {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .dashboard-greeting h3 {
    font-size: 1.25rem;
  }
   

  .dashboard-greeting .btn {
    margin-top: 12px;
    width: 100%;
  }

  .dashboard-stat-card {
    padding: 18px 5px;
    min-height: 120px;
  }
}

/* === Card styling === */
.dashboard-support-section-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 0.9rem 1.1rem; /* much smaller padding */
  opacity: 0; /* hidden initially for scroll animation */
  transform: translateY(30px) scale(1);
  transition: all 0.35s ease-in-out;
  min-height: 110px; /* control height */
}

/* Scroll animation active class */
.dashboard-support-section-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover effect — very subtle */
.dashboard-support-section-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Card icon styling */
.dashboard-support-section-card .card-icon i {
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 1.4rem; /* smaller icon */
  margin-bottom: 0.25rem;
}

/* Icon hover effect */
.dashboard-support-section-card:hover .card-icon i {
  transform: scale(1.1) rotate(5deg);
  color: #ff7f50;
}

/* Adjust text sizes to match slim design */
.dashboard-support-section-card h5 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.dashboard-support-section-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Responsive tweak */
@media (max-width: 576px) {
  .dashboard-support-section-card {
    padding: 0.8rem 1rem;
    min-height: 95px;
  }
}




   
    /* ================================
   END DASHBOARD PAGE STYLES (Scoped)
   ================================ */
   
   .btn-close-dark {
  filter: none !important; /* remove light icon filter */
  opacity: 1 !important;   /* make sure it's fully visible */
}
   
   /* === Admin Settings Page Only === */
#admin-settings .card {
  background-color: #ffffff;
}

#admin-settings label {
  color: #333;
}

#admin-settings input.form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#admin-settings input.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

#admin-settings .btn-success {
  border-radius: 8px;
  font-size: 1rem;
}

#admin-settings .btn-success:hover {
  background-color: #157347;
}

#admin-settings .alert {
  border-radius: 8px;
}
   /* === END Admin Settings Page Only === */
   
   
   /* ===========================
   Greeting Section Animations
   =========================== */

/* Base animation behavior */
.dashboard-greeting [class^="greet-animate-"] {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

/* Title drops from top */
.greet-animate-title {
  animation: greetDropIn 0.8s ease-out 0.2s forwards;
}

/* Subtitle slides from left */
.greet-animate-subtitle {
  animation: greetSlideLeft 0.8s ease-out 0.4s forwards;
}

/* Balance fades upward */
.greet-animate-balance {
  animation: greetFadeUp 0.8s ease-out 0.6s forwards;
}

/* Button slides from right */
.greet-animate-button {
  animation: greetSlideRight 0.8s ease-out 0.8s forwards;
}

/* Keyframes */
@keyframes greetDropIn {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes greetSlideLeft {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes greetFadeUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes greetSlideRight {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
   
   /* ===========================
  END Greeting Section Animations
   =========================== */
   
/* ===========================
   ANIMATED BRAND - ULTRA SLOW
   =========================== */
.animated-brand {
  display: inline-block;
  overflow: hidden;
}

.animated-brand span {
  display: inline-block;
  animation: wave 8s ease-in-out infinite; /* ultra slow */
  transition: transform 0.5s ease-in-out;
  color: #007bff; /* Customize color */
}

.animated-brand span:nth-child(1) { animation-delay: 0s; }
.animated-brand span:nth-child(2) { animation-delay: 0.4s; }
.animated-brand span:nth-child(3) { animation-delay: 0.8s; }
.animated-brand span:nth-child(4) { animation-delay: 1.2s; }
.animated-brand span:nth-child(5) { animation-delay: 1.6s; }
.animated-brand span:nth-child(6) { animation-delay: 2s; }
.animated-brand span:nth-child(7) { animation-delay: 2.4s; }
.animated-brand span:nth-child(8) { animation-delay: 2.8s; }

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-3px); }
  50% { transform: translateY(2px); }
  75% { transform: translateY(-2px); }
}

   /* ===========================
   END ANIMATED BRAND
   =========================== */
   
   /* ===========================
    INDEX GRAPHS
   =========================== */
   .chart-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .chart-container {
    height: 200px;
  }
}
   /* ===========================
    END INDEX GRAPHS
   =========================== */
   
   /* ===========================
     wallet section
   =========================== */
   .wallet-section .balance-card {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;      /* 👈 makes the card narrower */
    margin: 0 auto 1.5rem; /* centers it and adds bottom spacing */
}

.wallet-section .balance-card .card-body {
    padding: 1.5rem; /* reduced padding */
}
.wallet-section .topup-btn {
  background: linear-gradient(135deg, #00c853, #64dd17); /* gradient green */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: 0.3s ease;
}

.wallet-section .topup-btn:hover {
  background: linear-gradient(135deg, #64dd17, #00c853); /* reverse gradient */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.4);
}

   /* ===========================
    end wallet section
   =========================== */
   
   /* ===== user Orders Table Styling ===== */

#userOrdersTable {
    font-size: 0.9rem; /* smaller text */
    white-space: nowrap; /* prevent wrapping */
}

#userOrdersTable th,
#userOrdersTable td {
    vertical-align: middle;
    padding: 0.5rem 0.75rem;
}

/* Smaller, rounded badges */
#userOrdersTable .badge {
    font-size: 0.8rem;
    padding: 0.35em 0.6em;
    border-radius: 0.4rem;
}

/* Zebra striping and borders (Bootstrap compatible) */
#userOrdersTable.table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
    #userOrdersTable {
        font-size: 0.8rem;
    }

    #userOrdersTable th,
    #userOrdersTable td {
        padding: 0.4rem 0.5rem;
    }

    /* Ensure horizontal scroll on mobile */
    .table-responsive {
        overflow-x: auto;
    }

    /* Make Date and Product columns wider for readability */
    #userOrdersTable th:nth-child(2),
    #userOrdersTable td:nth-child(2),  /* Date */
    #userOrdersTable th:nth-child(3),
    #userOrdersTable td:nth-child(3) { /* Product */
        min-width: 140px;
    }
}
   /* ===== end user Orders Table Styling ===== */
   
   /* ===== wallet Top-ups Table Styling ===== */
#topupsTable {
    font-size: 0.9rem; /* slightly smaller text */
    white-space: nowrap; /* prevent text wrapping */
}

#topupsTable th,
#topupsTable td {
    vertical-align: middle;
    padding: 0.5rem 0.75rem;
}

/* Make badges smaller and neat */
#topupsTable .badge {
    font-size: 0.8rem;
    padding: 0.35em 0.6em;
    border-radius: 0.4rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    #topupsTable {
        font-size: 0.8rem;
    }

    #topupsTable th,
    #topupsTable td {
        padding: 0.4rem 0.5rem;
    }

    /* Allow horizontal scrolling */
    .table-responsive {
        overflow-x: auto;
    }

    /* Make date and amount columns wider for readability */
    #topupsTable th:nth-child(1),
    #topupsTable td:nth-child(1), /* Date */
    #topupsTable th:nth-child(2),
    #topupsTable td:nth-child(2) { /* Amount */
        min-width: 130px;
    }
}
   /* ===== end wallet Top-ups Table Styling ===== */
   
   /* ====== COMMISSIONS TABLE STYLE ====== */
   /* Commission Cards Section */
.commission-section .commission-card {
    color: #fff; 
    border: none; 
    border-radius: 20px; /* rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* subtle shadow */
    overflow: hidden;
    max-width: 350px;  /* narrower card */
    margin: 0 auto 1.5rem; /* center card with spacing below */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth hover */
}

.commission-section .commission-card:hover {
    transform: translateY(-5px); /* slight lift on hover */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.commission-section .commission-card .card-body {
    padding: 1.5rem; /* reduce padding for a clean look */
}

.commission-section .commission-card h5 {
    margin: 0.5rem 0; /* spacing between titles and amounts */
}

/* Specific Gradients */
.commission-card.pending {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb); /* light red gradient */
    color: #721c24; /* text color */
}

.commission-card.paid {
    background: linear-gradient(135deg, #cce5ff, #99ccff); /* light blue gradient */
    color: #004085; /* text color */
}
   
   
.commissions-table {
    font-size: 0.9rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.commissions-table thead {
    background-color: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #555;
}

.commissions-table th,
.commissions-table td {
    vertical-align: middle;
    padding: 0.65rem 0.8rem;
    text-align: center;
}

.commissions-table tbody tr:hover {
    background-color: #fff8e1; /* light yellow hover */
    transition: background-color 0.2s ease-in-out;
}

/* Empty state message */
.commissions-table td.text-muted {
    font-style: italic;
    color: #888 !important;
}

/* Pagination styling */
.pagination .page-link {
    color: #333;
    border-radius: 30px;
    margin: 0 2px;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
}

.pagination .page-item.active .page-link {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: #bbb;
    background-color: #f1f1f1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .commissions-table {
        font-size: 0.8rem;
    }

    .commissions-table th,
    .commissions-table td {
        padding: 0.5rem;
        white-space: nowrap;
    }

    .card-body h5 {
        font-size: 1rem;
        text-align: center;
    }
}
   /* ====== end COMMISSIONS TABLE STYLE ====== */
   
   /* ====== ADMIN ORDERS TABLE STYLE ====== */
.admin-orders-table {
    font-size: 0.9rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.admin-orders-table thead {
    background-color: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #555;
}

.admin-orders-table th,
.admin-orders-table td {
    vertical-align: middle;
    padding: 0.6rem 0.8rem;
    text-align: center;
    min-width: 120px; /* minimum width for better readability */
}

.admin-orders-table td form select.form-control {
    font-size: 0.85rem;
    padding: 0.25rem 0.35rem;
}

.admin-orders-table tbody tr:hover {
    background-color: #fff8e1; /* light yellow hover */
    transition: background-color 0.2s ease-in-out;
}

/* Badges */
.admin-orders-table .badge {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

/* Empty state message */
.no-orders-container h2 {
    font-size: 1.5rem;
}

.no-orders-container p {
    font-size: 1rem;
    color: #888;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .admin-orders-table {
        font-size: 0.8rem;
    }

    .admin-orders-table th,
    .admin-orders-table td {
        padding: 0.4rem 0.5rem;
        white-space: nowrap;
    }

    .admin-orders-table td form select.form-control {
        font-size: 0.75rem;
    }
}
   /* ====== end ADMIN ORDERS TABLE STYLE ====== */
   
   /* START Bouncing EMOJI + Gentle rotation */
   /* Smooth, continuous emoji bounce */
.emoji-bounce {
  display: inline-block;
  animation: smoothBounce 2.5s ease-in-out infinite;
}

@keyframes smoothBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

   /* end Bouncing EMOJI + Gentle rotation */
   
   /* working hores ticker */
 .ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: white;
  box-sizing: border-box;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.ticker small span {
  font-size: 12px;
  color: #333;
  display: inline-block;
  padding-right: 100px; /* space between repeats */
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
    /* end working hores ticker */