/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}

header {
  background: #003366;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

/* Product Card Styling */
.product-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Add hover effect for product cards */
.dashboard-product-card, .product-card {
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  cursor: pointer;
  background: rgba(255,255,255,0.75) !important; /* Translucent white background */
}
.dashboard-product-card:hover, .product-card:hover {
  box-shadow: 0 6px 24px #0d6efd55, 0 2px 8px #0002;
  border: 2px solid #0d6efd;
  transform: translateY(-6px) scale(1.03);
  background: rgba(13,110,253,0.18) !important; /* More visible blue tint on hover */
  z-index: 2;
}
.dashboard-product-card:hover h3, .product-card:hover h3 {
  color: #fff !important; /* Make product name white for contrast */
  text-shadow: 0 2px 8px #0d6efd55, 0 1px 2px #0008;
}
.dashboard-product-card:hover img, .product-card:hover img {
  filter: brightness(1.08) drop-shadow(0 2px 8px #0d6efd33);
}
/* Optional: subtle shadow for non-hovered cards */
.dashboard-product-card, .product-card {
  box-shadow: 0 2px 8px #0d6efd10;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}