/* ==============================================
   dashboard.css - Analytics Charts, Update Banner
   ============================================== */

/* Analytics Charts */
.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  gap: 0.5rem;
  padding: 1rem 0;
}

.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.chart-bar-container {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart-bar {
  width: 80%;
  background: linear-gradient(180deg, #4f46e5, #7c3aed);
  border-radius: 8px 8px 0 0;
  min-height: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.chart-bar:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.chart-bar-value {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.chart-bar-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* Update Banner */
.update-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideDownBanner 0.3s ease-out;
}

@keyframes slideDownBanner {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.update-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 500;
}

.update-banner .btn-light {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: #92400e;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.update-banner .btn-light:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.update-banner .btn-close-white {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.update-banner .btn-close-white:hover {
  opacity: 1;
}
