.brand-link {
    background: #000000;
    color: #000000 !important;
}

.small-box {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

/* Glass effect for Today's Summary */
.small-box {
  border-radius: 17px !important;
  cursor: pointer;
  transition: all 0.4s ease;

  box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  color: #000 !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* BASE COLORS – normal state */
.small-box.bg-success {
  background: rgba(40, 167, 69, 0.25) !important; /* green */
  border-color: rgba(40, 167, 69, 0.25) !important;
}

.small-box.bg-warning {
  background: rgba(255, 193, 7, 0.25) !important; /* yellow */
  border-color: rgba(255, 193, 7, 0.25) !important;
}

.small-box.bg-danger {
  background: rgba(220, 53, 69, 0.25) !important; /* red */
  border-color: rgba(220, 53, 69, 0.25) !important;
}

.small-box.bg-info {
  background: rgba(121, 184, 185, 0.25) !important; /* teal / #79b8b9 */
  border-color: rgba(121, 184, 185, 0.25) !important;
}

/* TEXT & ICONS */
.small-box .inner h3,
.small-box .inner p {
  color: #000 !important;
  font-weight: bold;
}

.small-box .icon i {
  color: #000 !important;
  opacity: 0.5;
}

/* HOVER – stronger color (same base color, higher opacity) */
.small-box.bg-success:hover {
  background: rgba(40, 167, 69, 0.85) !important;
  border-color: rgba(40, 167, 69, 1) !important;
}

.small-box.bg-warning:hover {
  background: rgba(255, 193, 7, 0.85) !important;
  border-color: rgba(255, 193, 7, 1) !important;
}

.small-box.bg-danger:hover {
  background: rgba(220, 53, 69, 0.85) !important;
  border-color: rgba(220, 53, 69, 1) !important;
}

.small-box.bg-info:hover {
  background: rgba(121, 184, 185, 0.85) !important; /* teal hover */
  border-color: rgba(121, 184, 185, 1) !important;
}

/* HOVER MOTION */
.small-box:hover {
  transform: scale(1.03);
  transition: all 0.4s ease;
}

/* Keep text/icons fully visible on hover */
.small-box:hover .inner h3,
.small-box:hover .inner p,
.small-box:hover .icon i {
  opacity: 1;
  color: #000 !important;
}

/* Icons */
.small-box .icon i {
  color: #000 !important;
  opacity: 0.4;
}

.small-box.bg-info:hover {
  background: rgba(121, 184, 185, 0.85) !important; /* #79b8b9 with 85% opacity */
  border-color: rgba(121, 184, 185, 1) !important;  /* solid #79b8b9 */
}

/* GREEN hover – Stock In Today */
.small-box.bg-success:hover {
  background: rgba(40, 167, 69, 0.85) !important;
  border-color: rgba(40, 167, 69, 1) !important;
}

/* YELLOW hover – Stock Out Today */
.small-box.bg-warning:hover {
  background: rgba(255, 193, 7, 0.85) !important;
  border-color: rgba(255, 193, 7, 1) !important;
}

/* RED hover – Low Stock Alerts */
.small-box.bg-danger:hover {
  background: rgba(220, 53, 69, 0.85) !important;
  border-color: rgba(220, 53, 69, 1) !important;
}

/* Keep text readable on color hover */
.small-box:hover .inner h3,
.small-box:hover .inner p,
.small-box:hover .icon i {
  color: #000 !important;
  opacity: 1;
}

/* Click effect */
.small-box:active {
  transform: scale(0.95) rotateZ(1.5deg);
}


.card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.card-header {
    background: #79b8b9;
    color: #000000;
    border-bottom: 1px solid #dee2e6;
}

/* Chart colors to match screenshot */
#weeklyChart {
    background: #ffffff;
}
/* Modern Notification Dropdown */
.modern-notif-dropdown {
  width: 360px !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
  border: none !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: dropdownFade 0.3s ease-out;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.notif-scroll::-webkit-scrollbar {
  width: 6px;
}
.notif-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.notif-item {
  transition: all 0.2s ease;
}
.notif-item:hover {
  background: rgba(0,0,0,0.03);
  transform: translateX(4px);
}

.notif-icon {
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Dashboard background with image */
.content-wrapper {
  position: relative;
  background: url('../img/main_bg.png') no-repeat center center !important; /* force image */
  background-size: cover !important;   /* cover entire area */
  overflow: hidden;
  min-height: 100vh;        /* full viewport height */
}

/* Soft blur layer over image */
.content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6); /* semi-transparent white overlay */
  filter: blur(50px);
  z-index: 0;
}

/* Keep the content on top of overlay */
.content-wrapper > * {
  position: relative;
  z-index: 1;
}

/* Force same height as weekly chart */
.recent-activity-card {
  height: 430px;   /* match chart card total height */
  display: flex;
  flex-direction: column;
}

.recent-activity-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Smooth scrollbar */
.recent-activity-body::-webkit-scrollbar {
  width: 6px;
}

.recent-activity-body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

/* Recent Activity header color */
.recent-activity-card .card-header {
  background-color: #79b8b9 !important;
  color: #ffffff !important;
  border-bottom: none;
}

.recent-activity-card .card-title {
  color: #000000 !important;
  font-weight: bold;
}

/* View Reports button color */
.btn-primary {
  background-color: #6ca5a6 !important;
  border-color: #6ca5a6 !important;
  color: #000000 !important;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* Hover effect */
.btn-primary:hover {
  background-color: #548081 !important; /* slightly darker teal */
  border-color: #548081 !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}