/* Dashboard Styles */

.dashboard-section {
  padding: 4rem 2rem;
  background: #ffffff;
  min-height: 60vh;
}

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

.widget {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.widget .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

/* Estilos específicos para títulos h6 en widgets de tipo título */
.widget-title.title-h6 {
  font-weight: 700;
  text-align: left;
}

.chart-container {
  position: relative;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-section {
    padding: 2rem 1rem;
  }
  
  .dashboard-grid {
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .widget {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 480px) {
  .dashboard-section {
    padding: 1.5rem 0.5rem;
  }
  
  .dashboard-grid {
    gap: 0.75rem;
  }
}

/* Hero section for dashboard */
.hero.hero-static .hero-content {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #F8931F 0%, #f8b04d 100%);
  color: #390E12;
  border-radius: 12px;
  margin: 2rem 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero.hero-static .hero-content {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
}

/* Loading states */
.chart-container .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Error states */
.chart-container .fa-exclamation-triangle {
  color: #dc2626;
}

/* Widget content styling */
.widget .card-body {
  padding: 1.5rem;
}

.widget .text-muted {
  color: #6b7280 !important;
}

/* KPI styling */
.widget .fw-bold {
  font-size: 2rem;
  line-height: 1.2;
}

.widget .small {
  font-size: 0.875rem;
}

/* Text widget styling */
.widget .p-2 {
  padding: 1rem !important;
  line-height: 1.6;
}

/* Image widget styling */
.widget img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

