/* ===== CLASIFICACION BIBLIOTECA ===== */
@media (max-width: 480px) {
  /* 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;
}
