/* ====== Manage Products Page Styles ====== */

/* Container spacing */
/* .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
} */

/* Page Title */
h1 {
  color: #0d6efd; /* Bootstrap primary blue */
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #0d6efd;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

/* Cards */
.card {
  border: none;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background: #f8faff; /* soft light blue */
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(13, 110, 253, 0.15);
}

/* Card image */
.card-img-top {
  object-fit: cover;
  height: 200px;
  border-bottom: 1px solid #e0e0e0;
}

/* Card Title & Text */
/* Card Title */
.card-title {
  font-weight: 600;          /* semi-bold */
  color: #0d6efd;            /* bright blue */
  margin-bottom: 0.5rem;
}

/* Card Description */
.card .card-text {
  font-weight: 400 !important;
  color: #000 !important;
  font-size: 0.85rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Buttons */
.btn-modern {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Primary button (Add Product) */
.btn-modern.btn-primary {
  background-color: #0d6efd;
  color: #fff;
  border: none;
}

.btn-modern.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.25);
}

/* Outline buttons (Edit / Delete) */
.btn-modern.btn-outline-primary,
.btn-modern.btn-outline-danger {
  border-width: 2px;
  font-weight: 500;
}

.btn-modern.btn-outline-primary {
  border-color: #0d6efd;
  color: #0d6efd;
}

.btn-modern.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

.btn-modern.btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.btn-modern.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
}

/* Card text spacing */
.card-body p {
  margin-bottom: 0.5rem;
}

/* Responsive spacing */
.row.g-4 {
  justify-content: center;
}
