/* ===== ESTILOS PARA CLASIFICACIÓN ===== */

#lc-clasificacion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Enriqueta', serif;
  color: #000;
}

/* ===== MODAL DE SELECCIÓN DE CLASE ===== */
.lc-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.lc-modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lc-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  border-radius: 16px 16px 0 0;
  text-align: center;
}

.lc-modal-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
}

.lc-modal-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
}

.lc-modal-body {
  padding: 24px;
}

.lc-clase-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.lc-clase-btn {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Enriqueta', serif;
}

.lc-clase-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.lc-modal-actions {
  text-align: center;
}

.lc-btn.ghost {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #6b7280;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lc-btn.ghost:hover {
  background: #f8fafc;
  border-color: #d1d5db;
}

/* ===== MENSAJES PERSONALIZADOS ===== */
.lc-mensaje-personalizado {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
  animation: mensajeSlideIn 0.5s ease-out;
}

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

.lc-mensaje-content {
  display: flex;
  align-items: center;
  padding: 20px;
  position: relative;
}

.lc-mensaje-icon {
  font-size: 32px;
  margin-right: 16px;
  flex-shrink: 0;
}

.lc-mensaje-text {
  flex: 1;
}

.lc-mensaje-text h4 {
  margin: 0 0 8px 0;
  color: #92400e;
  font-size: 20px;
  font-weight: 700;
}

.lc-mensaje-text p {
  margin: 0;
  color: #92400e;
  font-size: 16px;
  line-height: 1.5;
}

.lc-btn-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: bold;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-btn-close:hover {
  background: rgba(255, 255, 255, 1);
  color: #374151;
  transform: scale(1.1);
}

/* Variantes de mensajes */
.lc-mensaje-personalizado.primero {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
}

.lc-mensaje-personalizado.segundo {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-color: #6b7280;
}

.lc-mensaje-personalizado.tercero {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border-color: #ea580c;
}

.lc-mensaje-personalizado.otro {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #3b82f6;
}

/* ===== CLASIFICACIÓN POR DEPORTES ===== */
.lc-deportes-selector {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.lc-deporte-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.lc-deporte-select {
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Enriqueta', serif;
}

.lc-deporte-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.lc-deportes-loading {
  text-align: center;
  padding: 40px;
}

.lc-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.lc-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.lc-empty-state h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: #374151;
}

.lc-empty-state p {
  margin: 0;
  font-size: 16px;
}

/* Loading */
.lc-loading {
  text-align: center;
  padding: 40px;
}

.lc-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px; 
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Título */
.lc-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  letter-spacing: 1px;
  color: white;
}

/* Tabs */
.lc-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #e5e7eb;
}

.lc-tab {
  background: none;
  border: none;
  padding: 12px 24px;
  margin: 0 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.lc-tab:hover {
  color: #3b82f6;
  background: #f8fafc;
}

.lc-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  background: #f8fafc;
}

/* Tab Content */
.lc-tab-content {
  display: none;
}

.lc-tab-content.active {
  display: block;
}

/* Tabla */
.lc-table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background: white;
}

.lc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.lc-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lc-table th.lc-total {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.lc-table td {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 600;
  vertical-align: middle;
}

.lc-table tbody tr:hover {
  background: #f8fafc;
}

/* Posiciones */
.lc-table tbody tr:nth-child(1) {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.lc-table tbody tr:nth-child(2) {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.lc-table tbody tr:nth-child(3) {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

/* Posición */
.lc-table td:first-child {
  font-weight: 800;
  font-size: 20px;
  color: #1f2937;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}


/* Clase */
.lc-table td:nth-child(2) {
  font-weight: 700;
  color: #1f2937;
  font-size: 18px;
}

/* Puntos */
.lc-table td:nth-child(n+3) {
  font-weight: 800;
  font-size: 18px;
  color: #1f2937;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  min-width: 60px;
}

.lc-table td.lc-total {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #059669;
  font-weight: 900;
  font-size: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  border: 2px solid #bbf7d0;
  border-radius: 8px;
}

/* Footer */
.lc-footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  color: #6b7280;
  font-size: 14px;
}

/* Error */
.lc-error {
  text-align: center;
  padding: 40px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  margin: 20px 0;
}

/* Estilos específicos para números */
.lc-table td:not(:first-child):not(:nth-child(2)) {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: 18px;
  color: #1f2937;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin: 2px;
  min-width: 50px;
}

/* Responsive */
@media (max-width: 1024px) {
  #lc-clasificacion-container {
    padding: 10px;
  }
  
  .lc-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  /* Modal responsive */
  .lc-modal-content {
    width: 95%;
    max-width: 400px;
  }
  
  .lc-clase-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .lc-clase-btn {
    padding: 12px 8px;
    font-size: 14px;
  }
  
  .lc-modal-header h3 {
    font-size: 20px;
  }
  
  .lc-modal-header p {
    font-size: 14px;
  }
  
  .lc-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .lc-tab {
    padding: 8px 12px;
    font-size: 14px;
    margin: 0 2px;
    position: relative;
  }
  
  /* Ocultar texto y mostrar emojis en pantallas pequeñas */
  .lc-tab[data-tab="general"] {
    font-size: 0;
  }
  
  .lc-tab[data-tab="general"]::before {
    content: "🏆";
    font-size: 18px;
    display: block;
  }
  
  .lc-tab[data-tab="semaforo"] {
    font-size: 0;
  }
  
  .lc-tab[data-tab="semaforo"]::before {
    content: "🚦";
    font-size: 18px;
    display: block;
  }
  
  .lc-tab[data-tab="deportes"] {
    font-size: 0;
  }
  
  .lc-tab[data-tab="deportes"]::before {
    content: "⚽";
    font-size: 18px;
    display: block;
  }
  
  .lc-tab[data-tab="partes"] {
    font-size: 0;
  }
  
  .lc-tab[data-tab="partes"]::before {
    content: "📋";
    font-size: 18px;
    display: block;
  }
  
  .lc-tab[data-tab="biblioteca"] {
    font-size: 0;
  }
  
  .lc-tab[data-tab="biblioteca"]::before {
    content: "📚";
    font-size: 18px;
    display: block;
  }
  
  .lc-tab[data-tab="extraordinarias"] {
    font-size: 0;
  }
  
  .lc-tab[data-tab="extraordinarias"]::before {
    content: "⭐";
    font-size: 18px;
    display: block;
  }
  
  .lc-table {
    font-size: 14px;
  }
  
  .lc-table th,
  .lc-table td {
    padding: 12px 8px;
  }
  
  .lc-table td:not(:first-child):not(:nth-child(2)) {
    font-size: 16px;
    min-width: 40px;
  }
  
  .lc-table th {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .lc-table th,
  .lc-table td {
    padding: 8px 4px;
  }
  
  .lc-table td:not(:first-child):not(:nth-child(2)) {
    font-size: 14px;
    min-width: 35px;
  }
  
  .lc-table {
    font-size: 12px;
  }
  
  .lc-table th {
    font-size: 10px;
  }
  
  .lc-tab {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  /* Pestañas de biblioteca responsivas */
  .lc-biblioteca-tabs .lc-tab-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .lc-biblioteca-tabs .lc-tab-btn {
    padding: 8px 12px;
    font-size: 14px;
    margin: 0 2px;
  }

  .lc-calendario-content {
    color: #000;
  }
  
  .lc-calendario-controls {
    flex-direction: column;
    gap: 16px;
  }
  
  .lc-calendario-control {
    min-width: 100%;
  }
}

/* ===== CLASIFICACIÓN POR ACTIVIDADES DE BIBLIOTECA ===== */
.lc-biblioteca-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  border: 1px solid #f59e0b;
}

.lc-biblioteca-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #92400e;
}

.lc-biblioteca-header p {
  margin: 0;
  font-size: 16px;
  color: #d97706;
}

.lc-biblioteca-selector {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.lc-biblioteca-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 12px;
}

.lc-biblioteca-select {
  background: white;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #92400e;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lc-biblioteca-select:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.lc-ajedrez-tipo-selector {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border: 1px solid #6366f1;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.lc-ajedrez-tipo-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #4338ca;
  margin-bottom: 12px;
}

.lc-ajedrez-tipo-select {
  background: white;
  border: 2px solid #6366f1;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #4338ca;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lc-ajedrez-tipo-select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.lc-actividad-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 12px;
}

.lc-actividad-select {
  background: white;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Enriqueta', serif;
}

.lc-actividad-select:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.lc-biblioteca-loading {
  text-align: center;
  padding: 40px;
}

.lc-biblioteca-loading .lc-spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.lc-biblioteca-loading p {
  color: #92400e;
  font-weight: 600;
}

/* ===== PESTAÑAS DE BIBLIOTECA ===== */
.lc-biblioteca-tabs {
  margin-bottom: 24px;
}

.lc-biblioteca-tabs .lc-tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #f59e0b;
}

.lc-biblioteca-tabs .lc-tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  margin: 0 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.lc-biblioteca-tabs .lc-tab-btn:hover {
  color: #d97706;
  background: #fef3c7;
}

.lc-biblioteca-tabs .lc-tab-btn.active {
  color: #d97706;
  border-bottom-color: #d97706;
  background: #fef3c7;
}

.lc-biblioteca-tab-content {
  display: none;
}

.lc-biblioteca-tab-content.active {
  display: block;
}

/* ===== CALENDARIO DE BIBLIOTECA ===== */
.lc-calendario-selector {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.lc-calendario-controls {
  display: flex;
  gap: 20px;
  align-items: end;
  flex-wrap: wrap;
}

.lc-calendario-control {
  flex: 1;
  min-width: 200px;
}

.lc-calendario-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 8px;
}

.lc-calendario-actividad-select,
.lc-semana-select {
  background: white;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #92400e;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lc-calendario-actividad-select:focus,
.lc-semana-select:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.lc-calendario-loading {
  text-align: center;
  padding: 40px;
}

.lc-calendario-loading .lc-spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.lc-calendario-loading p {
  color: #92400e;
  font-weight: 600;
}

.lc-calendario-container {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lc-calendario-container .lc-calendario-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f59e0b;
}

.lc-calendario-container .lc-calendario-header h4 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: #92400e;
}

.lc-calendario-container .lc-calendario-header p {
  margin: 0;
  font-size: 16px;
  color: #d97706;
}

.lc-calendario-item {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.lc-calendario-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.3);
}

.lc-calendario-item .lc-calendario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  text-align: left;
  padding-bottom: 0;
  border-bottom: none;
}

.lc-calendario-item .lc-calendario-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #92400e;
}

.lc-calendario-puntos {
  background: #d97706;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.lc-calendario-details {
  color: #92400e;
  font-size: 14px;
}

.lc-calendario-details p {
  margin: 4px 0;
}

.lc-calendario-details strong {
  font-weight: 600;
}

/* ===== CLASIFICACIÓN COMPLETA DE SEMÁFORO ===== */
.lc-semaforo-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border: 1px solid #0ea5e9;
}

.lc-semaforo-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #0c4a6e;
}

.lc-semaforo-header p {
  margin: 0;
  font-size: 16px;
  color: #0369a1;
}

.lc-semaforo-table {
  margin-bottom: 24px;
}

.lc-gomets-header {
  text-align: center;
  font-weight: 600;
  color: #374151;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.lc-total-header {
  text-align: center;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.lc-semaforo-table td:nth-child(3) {
  text-align: center;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.lc-semaforo-table td:nth-child(4) {
  text-align: center;
  font-weight: 600;
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}

.lc-semaforo-table td:nth-child(5) {
  text-align: center;
  font-weight: 600;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

.lc-semaforo-table td:nth-child(6) {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
}

.lc-semaforo-summary {
  margin-top: 24px;
}

.lc-summary-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.lc-summary-card h4 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}

.lc-summary-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.lc-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-width: 150px;
}

.lc-stat-icon {
  font-size: 20px;
}

.lc-stat-label {
  font-weight: 600;
  color: #374151;
}

.lc-stat-value {
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
  margin-left: auto;
}

/* Responsive para Semáforo */
@media (max-width: 768px) {
  .lc-semaforo-header h3 {
    font-size: 20px;
  }
  
  .lc-semaforo-header p {
    font-size: 14px;
  }
  
  .lc-summary-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .lc-stat-item {
    min-width: 200px;
  }
  
  .lc-semaforo-table th,
  .lc-semaforo-table td {
    padding: 8px 4px;
    font-size: 12px;
  }
}

/* ===== CLASIFICACIÓN COMPLETA DE PARTES ===== */
.lc-partes-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 12px;
  border: 1px solid #22c55e;
}

.lc-partes-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #14532d;
}

.lc-partes-header p {
  margin: 0;
  font-size: 16px;
  color: #166534;
}

.lc-partes-table {
  margin-bottom: 24px;
}

.lc-partes-table .lc-partes-header {
  text-align: center;
  font-weight: 600;
  color: #374151;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.lc-partes-table .lc-total-header {
  text-align: center;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.lc-partes-table td:nth-child(3) {
  text-align: center;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.lc-partes-table td:nth-child(4) {
  text-align: center;
  font-weight: 600;
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}

.lc-partes-table td:nth-child(5) {
  text-align: center;
  font-weight: 600;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

.lc-partes-table td:nth-child(6) {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
}

.lc-partes-summary {
  margin-top: 24px;
}

.lc-partes-summary .lc-summary-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #22c55e;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.lc-partes-summary .lc-summary-card h4 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #14532d;
}

.lc-partes-summary .lc-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-width: 150px;
}

.lc-partes-summary .lc-stat-icon {
  font-size: 20px;
}

.lc-partes-summary .lc-stat-label {
  font-weight: 600;
  color: #374151;
}

.lc-partes-summary .lc-stat-value {
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
  margin-left: auto;
}

/* Responsive para Partes */
@media (max-width: 768px) {
  .lc-partes-header h3 {
    font-size: 20px;
  }
  
  .lc-partes-header p {
    font-size: 14px;
  }
  
  .lc-partes-summary .lc-summary-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .lc-partes-summary .lc-stat-item {
    min-width: 200px;
  }
  
  .lc-partes-table th,
  .lc-partes-table td {
    padding: 8px 4px;
    font-size: 12px;
  }
}

/* Panel de Campeones */
.lc-campeones-panel {
  margin: 20px 0;
  padding: 0;
}

.lc-campeones-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.lc-campeon-item {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.lc-campeon-actual {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.lc-campeon-mensual {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.lc-campeon-mes-selector {
  margin: 8px 0;
}

.lc-campeon-mes-select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  background: white;
  color: #1e40af;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lc-campeon-mes-select:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.lc-campeon-mes-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.lc-campeon-trimestral {
  border-color: #10b981;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.lc-campeon-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.lc-campeon-titulo {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.lc-campeon-clase {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.lc-campeon-puntos {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

/* Responsive para Panel de Campeones */
@media (max-width: 768px) {
  .lc-campeones-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .lc-campeon-item {
    padding: 12px;
  }
  
  .lc-campeon-icon {
    font-size: 24px;
  }
  
  .lc-campeon-clase {
    font-size: 16px;
  }
  
  .lc-campeon-puntos {
    font-size: 12px;
  }
}
