 body {
  font-family: 'Poppins', sans-serif !important;
  background-image: url('../img.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.container { max-width:1100px; margin:40px auto; background:#fff; padding:20px; border-radius:20px;  border-style: solid;
 border-color: rgba(105, 106, 107, 0.355);}

.stepper { display:flex; margin-bottom:20px; }
.step { flex:1; text-align:center; padding:10px; border-bottom:4px solid #ccc; }
.step.active { border-color:#007bff; font-weight:bold; }

.hidden { display:none; }
.card { border:1px solid #ddd; padding:15px; margin-top:15px; border-radius:6px; }
.discipline { margin-top:10px; }

.primary { background:#007bff; color:white; border:none; padding:10px 16px; cursor:pointer; margin-top:15px; }

.slot {
  border:1px solid #ccc;
  padding:10px;
  border-radius:6px;
  cursor:pointer;
  text-align:center;
}
.slot.selected {
  background:#d4edda;
  border-color:#28a745;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.result { background:#f7f7f7; padding:15px; border-radius:6px; }


/* ================= MODAL ================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Mostrar modal con :target */
.modal:target {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 25px;
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  text-decoration: none;
  font-size: 22px;
  color: #333;
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 0.8s ease forwards;
  animation-delay: 1.2s;
}

.loader-content {
  text-align: center;
  color: white;
  animation: popIn 0.6s ease;
}

.loader-content img {
  width: 80px;
  margin-bottom: 15px;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes popIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.card-title {
  font-size: 16px;
}

.card small {
  color: #666;
}


@keyframes urgencyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    transform: scale(1.04);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    transform: scale(1);
  }
}

.btn-urgente {
  animation: urgencyPulse 1.8s infinite;
}
/* RESPONSIVO  */

@media (max-width: 768px) and (orientation: portrait) {

    .container {
      margin: 10px;
      padding: 15px;
      border-radius: 12px;
    }

    /* HEADER */
    .position-relative img {
      position: static !important;
      display: block;
      margin: 0 auto 10px auto;
      transform: none !important;
      height: 70px !important;
    }

    h3 {
      font-size: 18px;
    }

    /* STEPPER */
  .stepper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .step {
    flex: none;
    width: 100%;
    border: none;
    background: #eee;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    text-align: center;
  }

  .step.active {
    background: #007bff;
    color: white;
  }

    /* HORARIOS */
    .slots {
      grid-template-columns: repeat(2, 1fr);
    }

    .slot {
      font-size: 12px;
      padding: 8px;
    }

    /* BOTONES */
    .primary {
      width: 100%;
    }

    /* RESUMEN */
    .row > div {
      flex: 0 0 100%;
      max-width: 100%;
    }

  }

  .card {
  background: rgba(214, 212, 212, 0.75); /* menos blanco */
  backdrop-filter: blur(10px);           /* efecto vidrio */
  -webkit-backdrop-filter: blur(10px);   /* soporte Safari */

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;

  padding: 15px;
  margin-top: 15px;

  box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* sombra suave */
  transition: all 0.3s ease;
}


/*animacion steeps fijo*/

.step-anim {
  animation: fadeSlide 0.35s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*estilo del input steep 1 */

#peopleCount {
  width: 70px;
  height: 50px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;

  border-radius: 12px;
  border: none;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
