/* Fichas Clínicas: Stats Cards */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-right: 1.2rem;
  flex-shrink: 0;
}

.stat-icon.primary {
  background: rgba(85, 110, 230, 0.1);
  color: #556ee6;
}

.stat-icon.success {
  background: rgba(52, 195, 143, 0.1);
  color: #34c38f;
}

.stat-icon.warning {
  background: rgba(241, 180, 76, 0.1);
  color: #f1b44c;
}

.stat-icon.info {
  background: rgba(80, 165, 241, 0.1);
  color: #50a5f1;
}

.stat-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  color: #495057;
}

.stat-details p {
  font-size: 0.85rem;
  margin: 0;
  color: #74788d;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}
