/* 
  Stat Box (dashboard-stats-grid, stat-box, stat-box--primary, etc.)
  Açıklama: Var olan tasarımı koruyarak şık, profesyonel ve tam responsive hale getirilmiş stiller.
*/

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 0 2rem 0;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(145, 158, 171, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(145, 158, 171, 0.16);
}

.stat-box__shape-bg {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

.stat-box__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-box__icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.stat-box__content {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.stat-box__value {
  font-family: 'Public Sans', 'Inter', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-box__label {
  font-family: 'Public Sans', 'Inter', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.9;
}

/* Renk Şemaları (Orijinal Tasarım Korundu) */
.stat-box--primary { background: linear-gradient(135deg, #00A76F, #5BE49B); }
.stat-box--warning { background: linear-gradient(135deg, #8E33FF, #C684FF); }
.stat-box--success { background: linear-gradient(135deg, #00B8D9, #61F3F3); }
.stat-box--info { background: linear-gradient(135deg, #FF5630, #FFAC82); }

.stat-box--primary .stat-box__value, 
.stat-box--primary .stat-box__label,
.stat-box--warning .stat-box__value, 
.stat-box--warning .stat-box__label,
.stat-box--success .stat-box__value, 
.stat-box--success .stat-box__label,
.stat-box--info .stat-box__value, 
.stat-box--info .stat-box__label {
  color: #fff;
}


/* === Responsive Tasarım === */

/* Tablet */
@media (max-width: 900px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .stat-box {
    padding: 1.25rem;
}
  .stat-box__value {
    font-size: 1.8rem;
  }
  .stat-box__label {
    font-size: 0.85rem;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-box {
    padding: 1.5rem;
  }
}
