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

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

/* ===== 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;
}

.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); }
}
