/* Radar de Clases - Estilos Personalizados y Componentes */

:root {
  --primary: #2563eb; /* Blue 600 */
  --primary-hover: #1d4ed8; /* Blue 700 */
  --primary-light: #eff6ff; /* Blue 50 */
  --accent: #f59e0b; /* Amber 500 */
  --accent-purple: #7c3aed; /* Violet 600 */
  --dark-bg: #0b1329;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Hero Banner 100% Full-Width (A tamaño completo de ancho a ancho sin deformación) */
.hero-banner-container {
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  display: block !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.hero-banner-image {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.class-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.12), 0 8px 10px -6px rgba(37, 99, 235, 0.08);
  border-color: #93c5fd;
}

/* Badges */
.badge-verified {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.badge-format {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-1on1 {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-workshop {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-course {
  background-color: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

/* Quota / Cupos Alerts */
.badge-quota-urgent {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  animation: pulseQuota 2s infinite;
}

@keyframes pulseQuota {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.badge-quota-ok {
  background-color: #ecfdf5;
  color: #065f46;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

/* Modales */
.modal-backdrop {
  background-color: rgba(11, 19, 41, 0.78);
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease-out;
}

/* Scrollbar moderno */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
}
