.search-bar {
  flex: 1;
}
.icon-btn {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #d62c2c;
  color: white;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
}
/* Fix mobile layout */
.admin-dashboard {
  max-width: 1200px;
}
.admin-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1f3b 0%, #8b1323 40%, #d62c2c 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.admin-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 30%);
  pointer-events: none;
}
.admin-tiles .tile-card {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
  border: 1px solid #eef1f4;
  height: 100%;
}
.admin-tiles .tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: #d62c2c33;
}
.tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.tile-link {
  font-weight: 600;
}
@media (max-width: 767px) {
  .admin-hero {
    padding: 24px;
  }
}
@media (max-width: 767px) {
  .header-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .search-bar {
    width: 100%;
    margin-top: 10px;
  }
  .icon-group {
    position: absolute;
    top: 10px;
    right: 15px;
  }
  /* Disable sticky on mobile */
  .sticky-top {
    position: static !important;
  }
  /* Horizontal line only on mobile */
  .mobile-divider {
    display: block;
  }
  .shadow-sm {
    box-shadow: none !important;
  }
}
/* Hide divider on desktop */
@media (min-width: 768px) {
  .mobile-divider {
    display: none;
  }
}

.item .form-control,
.item .btn {
  margin-bottom: 0.5rem;
}
