/*====================================================
                  Estilos HOME PAGE                
=====================================================*/
  /* -------------------- BASE -------------------- */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }

    body {
        background: #1f1f1f;
        color: #fff;
        min-height: 100vh;
    }
  

  /* 🔧 VARIABLE GLOBAL PARA EL HEADER */
:root {
  --header-height: 80px;
}

/* 🌟 HEADER SUPERIOR FIJO */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #000000;
  color: #fff;
  padding: clamp(0.6rem, 1vw, 1rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

/* LOGO */
.main-header .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.main-header .logo img {
  width: clamp(40px, 5vw, 60px);
  height: clamp(40px, 5vw, 60px);
  border-radius: 14px;
  object-fit: cover;
}

.main-header .logo span {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 600;
  color: #f9fe02;
}

/* BOTONES AUTH (SIN POSITION ABSOLUTE 🔥) */
.main-header .auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.auth-buttons button {
  background: #f9fe02;
  color: #000;
  border: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-buttons button:hover {
  background: #fff93a;
}

/* MENÚ MÓVIL */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}


/* HERO HEADER */
.dance-hero {
  min-height: calc(50vh + var(--header-height));
  padding-top: var(--header-height);
  position: relative;
  height: 50vh;
  background: url("https://humbertosanchezmendoza.es/wp-content/uploads/2025/09/image000013-e1758605701285.jpeg") center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.dance-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.dance-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.dance-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.dance-hero-content p {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: #ddd;
  margin-bottom: 2rem;
}

/* BARRA DE BÚSQUEDA */
.search-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-container input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.5rem;
  border-radius: 50px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-container input::placeholder {
  color: #ccc;
}

.search-container input:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(249, 254, 2, 0.4);
}

.search-container button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff93a;
  border: none;
  color: #000;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(249, 254, 2, 0.4);
}

.search-container button:hover {
  transform: translateY(-50%) scale(1.05);
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {

  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-header {
    flex-wrap: wrap;
  }

  .auth-buttons {
    width: 100%;
    justify-content: flex-end;
    margin-top: -45px;
  }
}

  /* 🕺 SECCIÓN DE CLASES */
  .classes-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
  }

  .class-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    width: 100%;
    max-width: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .class-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
  }

  .class-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.8rem;
    z-index: 2;
  }

  .class-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .class-content h3 i {
    color: #f9fe02;
    font-size: 1.4rem;
  }

  .class-content p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 0.8rem;
  }

  .class-meta {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .class-meta i {
    color: #f9fe02;
    margin-right: 0.3rem;
  }

  .class-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }

  .btn-reservar {
    background: #f9fe02;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
  }

  .btn-reservar:hover {
    background: #fff93a;
  }

  @media (max-width: 1024px) {
    .classes-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .classes-grid {
      grid-template-columns: 1fr;
    }
  }


/* ================= ESTILOS MODAL MEJORADO ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
  transition: opacity 0.3s ease;
}
.modal.show { display: flex; animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.modal-content {
  background: #1c1c1c;
  color: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: slideUp 0.4s ease forwards;
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.close {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 1.8rem;
  color: #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
}
.close:hover { transform: scale(1.2); color: #fff; }

.modal-header h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.3rem;
  color: #f9fe02;
}
.modal-header p {
  font-size: 0.95rem;
  text-align: center;
  color: #ccc;
  margin-bottom: 1.5rem;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
}
.tab {
  flex: 1;
  background: #2c2c2c;
  border: none;
  padding: 10px 0;
  font-weight: 600;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab.active {
  background: #f9fe02;
  color: #000;
  box-shadow: inset 0 -3px 0 #d4d400;
}

/* Tab content */
.tab-content { display: none; }
.tab-content.active { display: block; }


/* ===== TEXTOS DE SECCIONES ===== */
.tab-content p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

/* ===== MENSAJES (errores / éxito) ===== */
.mensaje {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 10px;
  line-height: 1.3;
}

#forgot {
  animation: fadeSlide .3s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-back {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-back:hover {
  color: #fff;
}


/* Forms */
form { display: flex; flex-direction: column; gap: 1rem; }
input {
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #2c2c2c;
  color: #fff;
  transition: all 0.3s ease;
}
input:focus {
  background: #3a3a3a;
  border: 2px solid #f9fe02;
}

button[type="submit"] {
  background: #f9fe02;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}
button[type="submit"]:hover {
  background: #fff93a;
  transform: scale(1.03);
}

/* Mensajes */
.mensaje {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

 .politicas {
  margin: 15px 0 20px;
  font-size: 14px;
  color: #ffffff;
}

.politicas input[type="checkbox"] {
  accent-color: #fff93a; 
  cursor: pointer;
}

.politicas a {
  color: #fff93a;
  text-decoration: underline;
}

.politicas a:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 500px) {
  .modal-content { padding: 1.5rem; max-width: 95%; }
  .modal-header h2 { font-size: 1.5rem; }
  .tab { font-size: 0.9rem; padding: 8px 0; }
}


.btn-bloqueada {
  background: #999 !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.class-bloqueada {
  filter: grayscale(0.7);
}

.class-bloqueada::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 1, 1, 0.66);
  border-radius: inherit;
  z-index: 1;
}


/* ================= FOOTER PREMIUM ================= */
.pvb-footer {
  background: #000000;
  color: #ffffff;
  padding-top: 70px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* CONTENEDOR */
.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ================= COLUMNA 1 ================= */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* ================= LOGO FOOTER ================= */
.footer-brand img {
  max-width: 100px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  filter: brightness(1.05);
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover sutil (opcional pero recomendado) */
.footer-brand img:hover {
  transform: scale(1.03);
  filter: brightness(1.15);
}

.footer-logo {
  font-size: 1.7rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none !important;
  transition: all 0.35s ease;
}

.footer-social i {
  font-size: 1.15rem;
}

/* Hover premium */
.footer-social a:hover {
  background: #fff93a;
  color: #000000;
  transform: translateY(-4px) scale(1.08);
}

/* ================= COLUMNA 2 ================= */
.footer-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffff;
  max-width: 480px;
  text-align: center;
}

/* ================= COLUMNA 3 ================= */
.footer-info h4 {
  font-size: 1.15rem;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: center;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-contact i {
  color: #fff93a;
  margin-top: 3px;
}
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: .2s;
}

.footer-contact a:hover {
  color: #fff93a;
}

/* ================= BOTTOM ================= */
.footer-bottom {
  margin-top: 60px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Link sutil en footer bottom */
.footer-bottom a {
  color: inherit;              /* mismo color que el texto */
  text-decoration: none;       /* sin subrayado */
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Indicador solo al hover */
.footer-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #fff93a;
  transition: width 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff93a;
}

.footer-bottom a:hover::after {
  width: 100%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-brand {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-text p {
    margin: auto;
  }

  .footer-contact li {
    justify-content: center;
  }
}


/*====================================================
                  Estilos CHEKOUT                 
=====================================================*/

/* -------------------- RESET -------------------- */

body{
    background: #3b3b3b;
    color:#eee;
}

/* -------------------- CONTENEDOR -------------------- */
.checkout-container{
  max-width:950px;
  margin:2rem auto;
  padding:2rem;
}

/* -------------------- HEADER -------------------- */
.checkout-header{
  text-align:center;
  margin-bottom:2rem;
}

.checkout-header h1{
  font-size:2.4rem;
  font-weight:700;
  color:#fff;
}

.checkout-header p{
  font-size:1rem;
  color:#ccc;
}

/* -------------------- TIMELINE -------------------- */
.timeline{
  display:flex;
  justify-content:space-between;
  margin:2rem 0;
  position:relative;
}

.timeline::before{
  content:"";
  position:absolute;
  width:100%;
  height:4px;
  background:rgba(255,255,255,0.1);
  top:50%;
  transform:translateY(-50%);
  z-index:1;
}

.timeline-step{
  position:relative;
  z-index:2;
  background:rgba(255,255,255,0.1);
  padding:1rem 1.3rem;
  border-radius:50px;
  font-size:0.9rem;
  font-weight:600;
  border:2px solid rgba(255,255,255,0.2);
  color:#aaa;
  transition:0.3s;
  backdrop-filter:blur(8px);
}

.timeline-step.active{
  border-color:#f9fe02;
  background:#f9fe02;
  color:#000;
  box-shadow:0 0 12px rgba(249,254,2,0.6);
}

/* -------------------- CARD -------------------- */
.checkout-card{
  background:rgba(255, 255, 255, 0.2);
  padding:2rem;
  border-radius:25px;
  backdrop-filter:blur(15px);
  box-shadow:0 15px 45px rgba(0,0,0,0.45);
  display:none;
  animation:fadeIn 0.5s ease forwards;
}

.checkout-card.active{
  display:block;
}

@keyframes fadeIn {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}

/* -------------------- RESUMEN -------------------- */
.summary-wrapper{
  text-align:center;
}

.class-summary{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
}

.class-summary img{
  width:180px;
  height:130px;
  border-radius:18px;
  object-fit:cover;
  box-shadow:0 5px 12px rgba(0,0,0,0.4);
}

.class-summary h3{
  font-size:1.8rem;
  color:#fff;
}

.price{
  margin-top:0.5rem;
  font-size:1.5rem;
  font-weight:700;
  color:#f9fe02;
}

/* -------------------- PLANES -------------------- */
.plans-row{
  display:flex;
  justify-content:center;
  gap:1.2rem;
  margin-top:2rem;
  flex-wrap:wrap;
}

.plan-option{
  width:30%;
  min-width:220px;
  background:rgb(0 0 0 / 70%);
  border-radius:18px;
  padding:1.5rem;
  text-align:center;
  border:2px solid rgba(255,255,255,0.12);
  cursor:pointer;
  transition:0.3s;
  backdrop-filter:blur(10px);
}

.plan-option i{
  font-size:2rem;
  margin-bottom:0.8rem;
}

.plan-option.active{
  border-color:#f9fe02;
  background:rgba(249,254,2,0.18);
  box-shadow:0 0 12px rgba(249,254,2,0.3);
}

.plan-option:hover{
  transform:scale(1.05);
}

/* -------------------- FORMULARIO -------------------- */
.form-wrapper{
  text-align:center;
}

.form-control{
  width:70%;
  padding:1rem;
  border-radius:12px;
  border:2px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.05);
  color:#fff;
  margin-bottom:1rem;
  font-size:1rem;
}

.form-control::placeholder{
  color:#bbb;
}

/* -------------------- BOTONES -------------------- */
.buttons-row{
  display:flex;
  justify-content:center;
  gap:1rem;
  margin-top:1.5rem;
  flex-wrap:wrap;
}

.btn{
  background:#f9fe02;
  border:none;
  padding:1rem 2rem;
  border-radius:50px;
  cursor:pointer;
  font-size:1.1rem;
  font-weight:700;
  transition:0.3s;
  color:#000;
  flex-shrink:0;
}

.btn:hover{
  background:#fff93e;
  box-shadow:0 0 12px rgba(249,254,2,0.4);
  transform:scale(1.03);
}

.cancel-btn{
  padding:1rem 2rem;
  border-radius:50px;
  border:2px solid #f9fe02;
  background:transparent;
  color:#f9fe02;
  font-size:1.1rem;
  cursor:pointer;
  font-weight:700;
  transition:0.3s;
  flex-shrink:0;
}

.cancel-btn:hover{
  background:#f9fe02;
  color:#000;
  box-shadow:0 0 10px rgba(249,254,2,0.4);
}

/* --------- RESPONSIVE --------- */
@media(max-width:768px){
  .plans-row{
    flex-direction:column;
    align-items:center;
  }
  .plan-option{
    width:90%;
  }
  .form-control{
    width:100%;
  }
}

/* ---------- TIMELINE MOBILE (horizontal con títulos debajo SOLO del activo) ----------- */
@media (max-width: 768px) {

  .timeline {
    gap: 0.5rem;
  }

  .timeline-step {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
  }

  /* Oculta texto original dentro del step */
  .timeline-step {
    white-space: nowrap;
    overflow: hidden;
  }

  /* Título debajo, solo visible si el step está activo */
  .timeline-step::after {
    content: attr(data-title);
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80px;
    text-align: center;
  }

  /* Cuando el step está activo, aparece el texto */
  .timeline-step.active::after {
    opacity: 1;
  }
}


  .payment-card-container {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-card {
    width: 160px; /* Más angosto */
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .3s;
    text-align: center;
}

.payment-card:hover {
    border-color: #f9fe02;
    transform: translateY(-3px);
}

.payment-card.selected {
    border-color: #f9fe02;
    background: #2a2a2a;
    box-shadow: 0 0 12px rgba(249, 254, 2, 0.2);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.payment-card-inner h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.payment-card-inner p {
    margin: 0;
    color: #ccc;
    font-size: .85rem;
    margin-top: .3rem;
}

#cardInputs input {
    margin-bottom: .8rem;
}

.card-inputs-hidden {
    display: none !important;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .payment-card {
        width: 100%;
        max-width: 300px;
    }
}

/*====================================================
                  Estilos MI DASHBOARD                 
=====================================================*/

/* -------------------- DASHBOARD -------------------- */
.dashboard {
  padding: 2rem;
}

.dashboard header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* CONTENEDOR DEL USUARIO */
.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-info img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #f9fe02;
  object-fit: cover;
}

.user-info h1 {
  color: #f9fe02;
  font-size: 1.5rem;
}

/* BOTÓN CERRAR SESIÓN */
.logout-btn {
  background: transparent;
  color: #f9fe02;
  border: 2px solid #f9fe02;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.logout-btn:hover {
  background: #f9fe02;
  color: #000;
}

/* -------------------- TARJETAS PRINCIPALES -------------------- */
.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

@media(max-width: 900px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #111;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(249,254,2,0.2);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-3px);
}

/* -------------------- PLAN -------------------- */
.plan h2 {
  color: #f9fe02;
  margin-bottom: 1rem;
}

.plan .detail {
  margin-bottom: 0.5rem;
  color: #ddd;
}

.progress-bar {
  background: #222;
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
  margin-top: 1rem;
}

.progress-bar .progress {
  background: #f9fe02;
  width: 70%;
  height: 100%;
}

/* -------------------- CLASES RESERVADAS -------------------- */
.reservadas h3 {
  color: #f9fe02;
  margin: 1rem 0;
}

.clase-reservada {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clase-reservada span {
  font-size: 0.9rem;
  color: #ccc;
}

.clase-reservada button {
  background: #f9fe02;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.clase-reservada button:hover {
  background: #fffd66;
}

/* -------------------- CLASES DISPONIBLES -------------------- */
.clases h2 {
  color: #f9fe02;
  margin-bottom: 1rem;
}

.clases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.clase-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(249,254,2,0.2);
  transition: transform 0.3s;
}

.clase-card:hover {
  transform: translateY(-5px);
}

.clase-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.clase-card .info {
  padding: 1rem;
}

.clase-card h4 {
  color: #f9fe02;
  margin-bottom: 0.3rem;
}

.clase-card p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.clase-card button {
  background: #f9fe02;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  width: 100%;
}

.clase-card button:hover {
  background: #fffd66;
}

@media(max-width:600px) {
  .dashboard header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .logout-btn {
    width: 100%;
  }
}


/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 100px 20px;
  background: #1f1f1f;
  color: #fff;
}

.legal-page .container {
  max-width: 800px;
  margin: auto;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-page h2 {
  margin-top: 25px;
  font-size: 1.2rem;
  color: #f9fe02;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  text-align: center;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 1.1rem;
  border-left: 3px solid #f9fe02;
  padding-left: 10px;
}

.legal-page ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

.legal-page li {
  margin-bottom: 6px;
}
/* Links dentro de páginas legales */
.legal-page a {
  color: #f9fe02;
  text-decoration: none;
  word-break: break-word;
}

.legal-page a:hover {
  color: #f9fe02;
  text-decoration: underline;
}

/* ===== 404 ===== */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1f1f1f;
  color: #fff;
}

.error-404 h1 {
  font-size: 6rem;
  color: #f9fe02;
}

.error-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.error-404 p {
  color: #aaa;
  margin-bottom: 20px;
}

.btn-volver {
  display: inline-block;
  padding: 10px 20px;
  background: #f9fe02;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  transition: .2s;
}

.btn-volver:hover {
  background: #ced200;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .legal-page h1 {
    font-size: 1.5rem;
  }

  .error-404 h1 {
    font-size: 4rem;
  }
}