/* ===== Modal general ===== */
.yp-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 80px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.yp-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.3);
  animation: fadeIn .3s ease-in-out;
}

.yp-close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.yp-close:hover {
  color: #000;
}

/* ===== Formularios ===== */
.yp-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
}

.yp-form input, .yp-form select {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.yp-form button {
  display: block;
  margin-top: 15px;
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.yp-form button:hover {
  background: #43a047;
}

/* ===== Paquetes ===== */
.yp-paquetes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.yp-paquete {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.yp-paquete h3 {
  margin-top: 0;
}

/* ===== Botón "Comprar paquete" ===== */
.yp-btn {
  display: inline-block;
  margin-top: 10px;
  background: #8C715C; /* tono coral suave */
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(229, 115, 115, 0.4);
  transition: all 0.25s ease-in-out;
}

.yp-btn:hover {
  background: #8C715C; /* un poco más intenso al pasar el mouse */
  box-shadow: 0 4px 12px rgba(239, 83, 80, 0.6);
  transform: translateY(-2px);
}


@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}


/* =========================
   Vista semanal estilo app
========================= */
#yp-week-strip{
  margin: 10px 0 0 0;
}

#yp-week-nav{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 8px;
}

.yp-week-btn{
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  cursor:pointer;
}

#yp-week-days{
  display:flex;
  gap: 8px;
  overflow-x:auto;
  padding-bottom: 6px;
}

.yp-day{
  width: 44px;
  min-width: 44px;
  text-align:center;
  padding: 8px 0;
  border-radius: 14px;
  border: 1px solid #eee;
  cursor:pointer;
  user-select:none;
}

.yp-day.active{
  border-color: #111;
}

.yp-day-letter{
  font-size: 12px;
  opacity: .7;
  line-height: 1;
}

.yp-day-number{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

#yp-week-classes{
  margin-top: 12px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.yp-class-item{
  display:flex;
  justify-content: space-between;
  align-items:center;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 10px 12px;
}

.yp-class-title{
  font-weight: 700;
}

.yp-class-meta{
  font-size: 13px;
  opacity: .75;
}



/* =========================
   Extras vista semanal
========================= */
.yp-day.is-today{
  border-color: #111;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

.yp-day.is-tomorrow{
  border-style: dashed;
}

.yp-day.is-empty{
  opacity: .5;
}

.yp-day.is-past{
  opacity: .35;
  cursor: not-allowed;
}

.yp-day-tag{
  font-size: 11px;
  margin-top: 4px;
  opacity: .75;
  height: 14px;
}

.yp-open-class.yp-disabled,
.yp-open-class:disabled{
  opacity: .6;
  cursor: not-allowed;
}


/* Botón comprar paquete (whatsapp) */
.yp-buy-paquete{
  width: 100%;
}
