@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sevillana&display=swap');


:root {
  --primary-color: #09baf2;
  --secondary-color: #2c2594;
  --light-bg: rgba(255, 255, 255, 0.6);
}

body {
  background-color: #2c259433;
   font-family: "Poppins", sans-serif;
}

.sidebar {
  background-color: #09bcf22c;
  height: 100vh;
  position: fixed;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  scrollbar-width: none;
}

.sidebar .nav-link {
  color: #2c2594;
  border-radius: 8px;
  margin: 2px 10px;
  font-weight: 500;
  padding: 8px 15px;
}

.sidebar .nav-link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.sidebar .nav-link.active {
  background-color: var(--primary-color);
  color: #2c2594;
}

.sidebar .nav-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar .dropdown-menu {
  border: none;
  box-shadow: none;
  background-color: transparent;
  margin: 0;
  padding: 0 0 0 30px;
}

.sidebar .dropdown-item {
  padding: 6px 15px;
  border-radius: 6px;
  margin: 2px 0;
  font-size: 14px;
}

.sidebar .dropdown-item:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.sidebar .dropdown-toggle[aria-expanded="true"] {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.sidebar .dropdown-toggle::after {
  float: right;
  margin-top: 8px;
  transition: transform 0.3s ease;
}

.sidebar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.collapsible-menu {
  list-style: none;
  padding-left: 0;
}

.collapsible-menu .menu-item {
  padding: 6px 15px 6px 40px;
  border-radius: 6px;
  margin: 2px 0;
  font-size: 14px;
  cursor: pointer;
  display: block;
  color: #2c2594;
  text-decoration: none;
}

.collapsible-menu .menu-item:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}
.collapsible-menu .menu-item.active {
  background-color: var(--primary-color);
  color: #2c2594;
}

.collapsible-menu .menu-item i {
  margin-right: 10px;
  width: 15px;
  text-align: center;
  font-size: 10px;
}

.main-content {
  margin-left: 250px;
  padding: 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.page-title {
  margin: 0;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-primary {
  border-bottom: 4px solid var(--primary-color);
}

.card-secondary {
  border-bottom: 4px solid var(--secondary-color);
}

.stat-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-card .icon.primary {
  background-color: rgba(101, 183, 65, 0.2);
  color: var(--primary-color);
}

.stat-card .icon.secondary {
  background-color: rgba(193, 242, 176, 0.3);
  color: var(--primary-color);
}

.progress {
  height: 8px;
  border-radius: 4px;
}

.progress-bar {
  background-color: var(--primary-color);
}

.bg-light-primary {
  background-color: rgba(101, 183, 65, 0.1);
}

.bg-light-secondary {
  background-color: rgba(193, 242, 176, 0.2);
}

.badge-primary {
  background-color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-selling-item {
  transition: transform 0.3s ease;
}

.top-selling-item:hover {
  transform: translateX(5px);
}

.chart-container {
  position: relative;
  height: 300px;
}

.product-img-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.karigar-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.customer-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.order-status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 992px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .main-content {
    margin-left: 0;
  }
}
.card.tableCard:hover {
  transform: translateY(0px);
  box-shadow: none;
}
#imagePreview img {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}
#variantsTable input,
#variantsTable select {
  min-width: 120px;
}
.remove-variant {
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
}

/* Order Progress Bar Styles */
.order-progress-bar {
  position: relative;
  padding: 0 2rem;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
}
.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: #6c757d;
}
.step.completed .step-icon {
  background-color: #198754;
  color: white;
}
.step.current .step-icon {
  background-color: #0d6efd;
  color: white;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}
.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  color: #6c757d;
}
.step.completed .step-label,
.step.current .step-label {
  color: #212529;
  font-weight: 600;
}
.step-date {
  font-size: 0.7rem;
  color: #6c757d;
  margin-top: 0.2rem;
}
.progress-line {
  position: absolute;
  top: 1.5rem;
  left: 10%;
  right: 10%;
  height: 4px;
  background-color: #e9ecef;
  z-index: 1;
}
.progress-fill {
  height: 100%;
  background-color: #198754;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .order-progress-bar {
    padding: 0;
  }
  .step-label {
    font-size: 0.7rem;
  }
  .step-date {
    font-size: 0.6rem;
  }
}
