/* ====== Admin Dashboard Styles ====== */

/* Container centering */
.container {
  text-align: center;
}

/* H1 Title */
h1.display-4 {
  color: #0d6efd; /* Bootstrap blue */
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

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

/* Stats Cards */
.card.hover-shadow {
  background: #f8faff; /* soft light blue */
  border-radius: 16px;
  padding: 2rem 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.card.hover-shadow i {
  font-size: 2.5rem;
  color: #0d6efd;
  margin-bottom: 0.5rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.card.hover-shadow:hover i {
  transform: scale(1.3);
  color: #0b5ed7;
}

.card .card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card .card-text {
  font-size: 1.75rem;
  font-weight: bold;
  color: #0d6efd;
}

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

.btn-modern.btn-primary {
  background-color: #0d6efd;
  color: #fff;
  border: none;
}

.btn-modern.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}

.btn-modern.btn-outline-primary {
  border: 2px solid #0d6efd;
  color: #0d6efd;
  background-color: #fff;
}

.btn-modern.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
}

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

/* Notification Box */
.alert-notifications {
  max-width: 600px;       /* restrict width */
  margin: 0 auto 20px;    /* center it & add spacing below */
  background: #f0f6ff;    /* soft blue background */
  border: 1px solid #d0e3ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.1);
  padding: 1rem 1.25rem;
}

/* Title */
.alert-notifications h5 {
  color: #0d6efd; /* Bootstrap primary blue */
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.alert-notifications h5 i {
  margin-right: 8px;
}

/* Notification Item */
.alert-notifications li {
  background: #fff;
  border: 1px solid #e3ecff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Message text */
.alert-notifications li span {
  color: #333;
}

/* Small date text */
.alert-notifications li small {
  color: #6c757d;
  font-size: 0.8rem;
}

/* Close button */
.alert-notifications .btn-close {
  filter: invert(36%) sepia(88%) saturate(2858%) hue-rotate(209deg) brightness(95%) contrast(97%);
  opacity: 0.7;
}

.alert-notifications .btn-close:hover {
  opacity: 1;
}

h3.order-analytics{
  color: #0d6efd;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

h3.order-analytics::after {
  content: '';
  display: block;
  height: 6px;
  width: 90px;
  background: #0d6efd;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}