/* Layout Específico do Dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.chart-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-container {
  position: relative;
  height: 260px;
  width: 100%;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.widget-header {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.alert-item:last-child {
  border-bottom: none;
}

.alert-info .title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.alert-info .subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stock-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ====== Greeting Banner ====== */
.greeting-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--accent-teal), #0d9488);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  animation: greetingSlideIn 0.5s ease-out;
}

.greeting-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.greeting-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: 15%;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.greeting-content {
  position: relative;
  z-index: 1;
}

.greeting-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.greeting-title span {
  color: #ccfbf1;
}

.greeting-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0.4rem 0 0;
  opacity: 0.85;
}

.greeting-icon {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  opacity: 0.35;
}

.greeting-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

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

@media (max-width: 640px) {
  .greeting-banner {
    padding: 1.25rem 1.5rem;
  }
  .greeting-title {
    font-size: 1.4rem;
  }
  .greeting-icon {
    display: none;
  }
}
