/* myescape_manager_booking.css - Formulario publico de reserva. Mobile-first. */

.myesc-bk { max-width: 600px; margin: 0 auto; padding: 16px 12px; font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; font-size: 14px !important; line-height: 1.5 !important; color: #2d2240 !important; }
.myesc-bk *, .myesc-bk input, .myesc-bk select, .myesc-bk textarea, .myesc-bk button, .myesc-bk label { box-sizing: border-box; font-family: inherit !important; }
.myesc-bk a { color: #6b3fa0; }

/* Titulo */
.bk-titulo { font-size: 1.2rem; font-weight: 700; margin: 0 0 12px; text-align: center; }

/* Back */
.bk-back { background: none; border: none; color: #64748b; cursor: pointer; font-size: 13px; padding: 0; margin-bottom: 8px; }
.bk-back:hover { color: #0f172a; }

/* Calendario compacto */
.bk-cal-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.bk-cal-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
.bk-cal-nav span { font-size: 14px; font-weight: 700; min-width: 130px; text-align: center; }
.bk-cal-nav button { background: #f1f5f9; border: 1px solid #e2e8f0; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1; }
.bk-cal-head { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; margin-bottom: 2px; }
.bk-cal-head > div { text-align: center; font-size: 10px; font-weight: 600; color: #94a3b8; padding: 2px 0; }
.bk-cal-body { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.bk-cd {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 12px; font-weight: 600; cursor: default;
    transition: all .12s; border: 1.5px solid transparent;
}
.bk-cd.libre { background: #d1fae5; color: #065f46; cursor: pointer; }
.bk-cd.libre:hover { background: #a7f3d0; transform: scale(1.1); }
.bk-cd.completo { background: #e2e8f0; color: #94a3b8; }
.bk-cd.past, .bk-cd.off { background: #f1f5f9; color: #cbd5e1; }
.bk-leyenda { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; font-size: 11px; color: #64748b; }
.bk-leyenda span { display: inline-flex; align-items: center; gap: 4px; }
.bk-d { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.bk-d-libre { background: #6ee7b7; }
.bk-d-completo { background: #e2e8f0; }
.bk-d-ok { background: #6ee7b7; }
.bk-d-pend { background: #fcd34d; }
.bk-d-off { background: #cbd5e1; }
.bk-leyenda-slots { padding: 4px 10px 10px; }

/* Aviso orden / texto */
.bk-aviso-orden { display: flex; gap: 6px; background: #fff8e1; border: 1px solid #ffc107; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; font-size: 12px; color: #664d03; line-height: 1.4; }
.bk-aviso-ico { font-size: 16px; flex-shrink: 0; }

/* Sala */
.bk-sala { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.bk-sala-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.bk-sala-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.bk-sala-img-ph { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; }
.bk-sala-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk-sala-line { display: flex; align-items: center; gap: 6px; }
.bk-sig { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 18px; padding: 0 5px; color: #fff; font-weight: 700; font-size: 10px; border-radius: 4px; }
.bk-sala-nom { font-weight: 700; font-size: 14px; }
.bk-sala-desc { font-size: 12px; color: #64748b; line-height: 1.35; }
.bk-sala-off { padding: 6px 12px; color: #94a3b8; font-size: 12px; font-style: italic; }
.bk-mas { align-self: flex-start; margin-top: 2px; background: none; border: none; color: #6b3fa0; cursor: pointer; font: 600 11px/1 inherit; padding: 2px 0; }
.bk-mas:hover { text-decoration: underline; }
.bk-sala-info { padding: 10px 12px 4px; border-top: 1px solid #f1f5f9; background: #f8fafc; }
.bk-sala-info[hidden] { display: none; }
.bk-sala-larga { margin: 0 0 8px; font-size: 12px; color: #334155; line-height: 1.5; }
.bk-trailer-wrap { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; background: #000; margin-bottom: 6px; }
.bk-trailer-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.bk-trailer-link { display: inline-flex; align-items: center; gap: 4px; color: #dc2626; font-weight: 600; font-size: 12px; text-decoration: none; }
.bk-trailer-link:hover { text-decoration: underline; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px 10px 10px; }
.bk-sl { padding: 5px 10px; border: 1px solid #cbd5e1; background: #fff; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; transition: all .1s; line-height: 1.2; }
.bk-sl:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.bk-sl.ok { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.bk-sl.ok:hover { background: #a7f3d0; }
.bk-sl.pend { background: #fef3c7; border-color: #fcd34d; color: #78350f; }
.bk-sl.pend:hover { background: #fde68a; }
.bk-sl.off { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; border-color: #e2e8f0; }
@media (min-width: 768px) {
    .bk-slots { gap: 8px; padding: 6px 12px 12px; }
    .bk-sl { padding: 9px 16px; font-size: 15px; border-radius: 8px; min-width: 72px; }
}

/* Carrito */
.bk-carrito { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; font-size: 12px; }
.bk-carrito ul { list-style: none; padding: 0; margin: 4px 0; }
.bk-carrito li { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.bk-cdel { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 14px; padding: 0 2px; }
.bk-cart-tot { text-align: right; font-weight: 700; font-size: 14px; padding-top: 4px; border-top: 1px solid #e2e8f0; }

/* OK / errores / toast */
.bk-ok { text-align: center; padding: 30px 10px; }
.bk-ok-ico { width: 48px; height: 48px; margin: 0 auto 12px; background: #d1fae5; color: #065f46; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.bk-ok h2 { font-size: 1.2rem; color: #065f46; margin: 0 0 8px; }
.bk-ok p { color: #475569; font-size: 13px; margin: 0 0 8px; }
.bk-btn-lg { display: block; width: 100%; padding: 12px; background: #6b3fa0; color: #fff; border: none; border-radius: 8px; cursor: pointer; font: 600 15px/1.4 inherit; text-align: center; transition: background .15s; }
.bk-btn-lg:hover { background: #7c52b0; }
.bk-toast { position: fixed; top: 12px; left: 12px; right: 12px; padding: 10px 14px; border-radius: 8px; font-size: 13px; z-index: 10000; animation: bk-sin .2s ease-out; box-shadow: 0 4px 12px rgba(0,0,0,.15); text-align: center; }
.bk-toast-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.bk-toast-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.bk-toast.out { animation: bk-sout .2s ease-in forwards; }
@keyframes bk-sin { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
@keyframes bk-sout { to { opacity:0; transform:translateY(-8px); } }
.bk-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: 12px; border-radius: 8px; text-align: center; }
.bk-cargando { text-align: center; color: #94a3b8; padding: 16px; font-size: 13px; }
.myesc-bk-loader { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; z-index: 9999; color: #fff; font-size: 13px; }
.myesc-bk-loader[hidden] { display: none !important; }
.myesc-bk-spinner { width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: bk-spin .7s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }

/* ============================================================
   FORMULARIO ESTILO MYESCAPE (clon del plugin CEM)
   ============================================================ */
.bk-mye-form { max-width: 560px; margin: 0 auto; color: #2d2240; text-align: left; }
.bk-mye-form-inner { background: transparent; padding: 0; }

/* Barra mision seleccionada */
.bk-mye-dt {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    background: #f3eefa; border: 1px solid #e0d6eb; border-radius: 8px;
    padding: 10px 16px; margin-bottom: 16px;
}
.bk-mye-dt-info { display: flex; align-items: center; gap: 6px; font-size: 14px; flex-wrap: wrap; }
.bk-mye-dt-label { font-size: 12px; color: #8678a0; font-weight: 400; }
.bk-mye-dt-date, .bk-mye-dt-time { font-weight: 700; }
.bk-mye-dt-game { font-weight: 600; font-style: italic; }
.bk-mye-dt-sep { color: #8678a0; font-size: 13px; }
.bk-mye-dt-change {
    background: #fff; border: 1px solid #e0d6eb; border-radius: 8px;
    padding: 6px 14px; font-size: 13px; color: #6b3fa0; cursor: pointer;
    font-weight: 600; transition: all .12s ease;
}
.bk-mye-dt-change:hover { background: #6b3fa0; color: #fff; border-color: #6b3fa0; }
.bk-mye-dt-pend { width: 100%; margin-top: 6px; padding: 7px 12px; background: #7f1d1d; color: #fff; border-radius: 4px; font-size: 13px; font-weight: 700; text-align: center; }

/* Alerta ultima hora */
.bk-mye-lm-alert {
    margin: 0 0 16px; text-align: left;
    background: #fef2f2; border: 2px solid #e63946; border-radius: 8px;
    padding: 16px 20px; font-size: 14px; color: #991b1b; line-height: 1.5;
}
.bk-mye-lm-alert strong { font-weight: 700; }
.bk-mye-lm-alert a { color: #991b1b; font-weight: 700; text-decoration: underline; }

/* Sections */
.bk-mye-section { margin-bottom: 24px; }
.bk-mye-section[hidden] { display: none; }
.bk-mye-label {
    font-size: 13px; color: #6b3fa0; margin-bottom: 8px;
    font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.bk-mye-label-datos { font-size: 15px; margin-top: 8px; margin-bottom: 12px; }
.bk-mye-divider { border: none; border-top: 1px solid #eee; margin: 14px 0; height: 0; }

/* Botones generales */
.bk-mye-lbtn, .bk-mye-mbtn, .bk-mye-jbtn, .bk-mye-pbtn, .bk-mye-ebtn, .bk-mye-lcbtn {
    background: #fff; border: 1px solid #e0d6eb; border-radius: 8px;
    cursor: pointer; font-family: inherit; color: #2d2240;
    transition: all .12s ease; outline: none;
    -webkit-tap-highlight-color: transparent;
}
.bk-mye-lbtn:hover, .bk-mye-mbtn:hover, .bk-mye-jbtn:hover, .bk-mye-pbtn:hover, .bk-mye-ebtn:hover, .bk-mye-lcbtn:hover {
    border-color: #6b3fa0; color: #6b3fa0; background: #f3eefa;
}
.bk-mye-lbtn.act, .bk-mye-mbtn.act, .bk-mye-jbtn.act, .bk-mye-pbtn.act, .bk-mye-ebtn.act, .bk-mye-lcbtn.act {
    background: #6b3fa0; color: #fff; border-color: #6b3fa0;
}

/* NIVEL: vertical full-width */
.bk-mye-level-row { display: flex; flex-direction: column; gap: 6px; margin-left: 12px; }
.bk-mye-lbtn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    text-align: left; padding: 12px 14px; width: 100%;
}
.bk-mye-lbtn-t { font-weight: 700; font-size: 14px; }
.bk-mye-lbtn-s { color: #8678a0; font-size: 12px; line-height: 1.45; white-space: normal; }
.bk-mye-lbtn-s a { color: #6b3fa0; text-decoration: underline; word-break: break-all; }
.bk-mye-lbtn.act .bk-mye-lbtn-s { color: rgba(255,255,255,.85); }
.bk-mye-lbtn.act .bk-mye-lbtn-s a { color: #fff; }
.bk-mye-lbtn-link {
    font-size: 11px; color: #6b3fa0; text-decoration: underline;
    margin-top: 2px;
}
.bk-mye-lbtn.act .bk-mye-lbtn-link { color: #fff; }
.bk-mye-lbtn-regalo { border-style: dashed !important; border-color: #6b3fa0 !important; color: #6b3fa0 !important; }
.bk-mye-lbtn-regalo.act { background: #6b3fa0 !important; color: #fff !important; border-style: solid !important; }
.bk-mye-inline-info {
    width: calc(100% - 24px); margin-left: 24px; text-align: left; padding: 10px 14px;
    background: #f0f7ff; border: 1px solid #b3d4fc; border-radius: 0 0 8px 8px;
    font-size: 12.5px; color: #1a5276; margin-top: -2px; border-top: none;
    line-height: 1.55;
}
.bk-mye-inline-info[hidden] { display: none; }
.bk-mye-inline-info a { color: #1a5276; font-weight: 700; text-decoration: underline; word-break: break-all; }

/* Caja regalo */
.bk-mye-gift-box {
    margin: 10px 0 0 12px; text-align: center;
    background: #fff; border: 1px solid #e0d6eb; border-radius: 8px;
    overflow: hidden; padding: 12px;
}
.bk-mye-gift-box[hidden] { display: none; }
.bk-mye-gift-cta {
    display: block; padding: 14px 24px; text-align: center;
    background: #6b3fa0; color: #fff !important; font-size: 16px; font-weight: 700;
    border-radius: 8px; text-decoration: none !important;
    transition: background .15s ease; letter-spacing: .3px;
}
.bk-mye-gift-cta:hover { background: #7c52b0; }
.bk-mye-gift-img-link { display: block; text-decoration: none; }
.bk-mye-gift-img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 6px; }

/* JUGADORES */
.bk-mye-jrow { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 12px; }
.bk-mye-jbtn { padding: 10px 4px; font-weight: 700; font-size: 14px; flex: 1; min-width: 42px; max-width: 70px; text-align: center; }
.bk-mye-jbtn-kids { min-width: 110px; max-width: 170px; padding: 8px 6px; display: flex; flex-direction: column; gap: 2px; }
.bk-mye-jbtn-kids .bk-mye-jbtn-t { font-weight: 700; font-size: 14px; }
.bk-mye-jbtn-kids .bk-mye-jbtn-s { font-size: 11px; color: #8678a0; }
.bk-mye-jbtn-kids.act .bk-mye-jbtn-s { color: rgba(255,255,255,.7); }
.bk-mye-warning {
    color: #991b1b; font-size: 13px; margin-top: 10px;
    background: #fef2f2; border: 1px solid #e63946; border-radius: 8px;
    padding: 10px 14px; line-height: 1.5; margin-left: 12px;
}
.bk-mye-warning[hidden] { display: none; }
.bk-mye-info { color: #8678a0; font-size: 11px; margin-top: 6px; margin-left: 12px; }
.bk-mye-info[hidden] { display: none; }

/* MODO PARTIDA */
.bk-mye-mrow { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 12px; }
.bk-mye-mbtn {
    flex: 1; min-width: 140px; padding: 12px 8px; text-align: center;
    position: relative; display: flex; flex-direction: column; gap: 2px;
}
.bk-mye-mbtn-t { font-weight: 700; font-size: 14px; }
.bk-mye-mbtn-s { font-size: 11px; color: #8678a0; }
.bk-mye-mbtn-s2 { font-size: 10px; color: #8678a0; font-style: italic; margin-top: 1px; }
.bk-mye-mbtn.act .bk-mye-mbtn-s, .bk-mye-mbtn.act .bk-mye-mbtn-s2 { color: rgba(255,255,255,.7); }
.bk-mye-mbtn-ns { overflow: visible; }
.bk-mye-mbtn-badge {
    position: absolute; top: -8px; right: -8px;
    background: #2e7d32; color: #fff; font-size: 11px; font-weight: 700;
    padding: 2px 7px; border-radius: 10px; line-height: 1.3;
    white-space: nowrap; z-index: 1;
}
.bk-mye-mlink { margin: 4px 0 0 12px; }
.bk-mye-mlink a { color: #8678a0; font-size: 11px; text-decoration: underline; font-weight: 400; }
.bk-mye-mlink a:hover { color: #2d2240; }

/* Nonstop flow */
#bk-ns-flow[hidden] { display: none; }
.bk-mye-ns-alert {
    background: #fff8e1; border: 1px solid #ffc107; border-radius: 8px;
    padding: 12px 16px; font-size: 13px; color: #664d03; line-height: 1.5;
    margin-top: 10px; margin-left: 12px;
}
.bk-mye-ns-slots-wrap {
    margin: 8px 0 0 12px;
    background: #fff; border: 1px solid #e0d6eb; border-radius: 8px;
    padding: 12px;
    max-height: 380px; overflow-y: auto;
}
.bk-mye-ns-loading, .bk-mye-ns-empty {
    text-align: center; padding: 14px; color: #8678a0; font-size: 13px; font-style: italic;
}
.bk-mye-ns-game { margin-bottom: 12px; }
.bk-mye-ns-game:last-child { margin-bottom: 0; }
.bk-mye-ns-game-h {
    padding: 6px 10px; font-size: 13px; font-weight: 700; color: #2d2240;
    background: #f7f4fc; border-radius: 4px; margin-bottom: 6px;
}
.bk-mye-ns-game-slots {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    gap: 6px;
}
.bk-mye-ns-slot {
    padding: 8px 4px; background: #fff; border: 1px solid #e0d6eb;
    border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer;
    color: #2d2240; transition: all .15s ease;
}
.bk-mye-ns-slot:hover { border-color: #6b3fa0; color: #6b3fa0; background: #f3eefa; }
.bk-mye-ns-slot.act { background: #6b3fa0; color: #fff; border-color: #6b3fa0; }
.bk-mye-ns-resumen {
    margin: 10px 0 0 12px; padding: 10px 14px;
    background: #e8f5e9; border: 1px solid #81c784; border-radius: 8px;
    font-size: 13px; color: #1b5e20; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.bk-mye-ns-resumen[hidden] { display: none; }
.bk-mye-ns-resumen-l { font-weight: 700; }
.bk-mye-ns-resumen-game { font-weight: 700; }
.bk-mye-ns-resumen-clear {
    margin-left: auto; padding: 4px 10px; background: #fff; border: 1px solid #81c784;
    color: #1b5e20; border-radius: 4px; font-size: 12px; cursor: pointer;
}
.bk-mye-ns-resumen-clear:hover { background: #c8e6c9; }

/* CUPON */
.bk-mye-coupon-row { display: flex; gap: 8px; align-items: stretch; margin-left: 12px; }
.bk-mye-coupon-field {
    flex: 1; min-width: 0; border: 1px solid #e0d6eb; border-radius: 8px;
    padding: 20px 16px; font-size: 22px; outline: none;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-weight: 700; letter-spacing: 2px;
    color: #2d2240; background: #fff;
}
.bk-mye-coupon-field::placeholder { color: #aaa; font-style: italic; font-weight: 400; letter-spacing: 0; font-family: inherit; font-size: 15px; }
.bk-mye-coupon-field:focus { border-color: #6b3fa0; }
.bk-mye-coupon-btn {
    background: #6b3fa0; color: #fff; border: none; border-radius: 8px;
    padding: 0 22px; font-size: 15px; cursor: pointer; font-weight: 700;
    font-family: inherit; white-space: nowrap;
}
.bk-mye-coupon-btn:hover { background: #7c52b0; }
.bk-mye-coupon-msg { margin-top: 6px; margin-left: 12px; font-size: 12px; }
.bk-mye-coupon-msg.ok { color: #2e7d32; }
.bk-mye-coupon-msg.err { color: #c00; }

/* Tarjeta precio compacta */
.bk-mye-price-card { background: #f3eefa; border: 1px solid #e0d6eb; border-radius: 8px; padding: 12px 16px; margin-left: 12px; }
.bk-mye-pr { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; }
.bk-mye-pr-disc { color: #2e7d32; }
.bk-mye-pr-warn { color: #991b1b; font-weight: 700; }
.bk-mye-pr-info { color: #8678a0; font-size: 11px; font-style: italic; border-top: 1px solid #e0d6eb; padding-top: 8px; margin-top: 4px; }
.bk-mye-price-total {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #e0d6eb; margin-top: 6px; padding-top: 8px;
    font-size: 14px; font-weight: 700;
}
.bk-mye-tprice { font-size: 22px; font-weight: 800; color: #d4380d; }

/* Resumen final completo */
.bk-mye-summary-card { background: #f3eefa; border: 1px solid #e0d6eb; border-radius: 8px; padding: 14px 18px; }
.bk-mye-summary-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #8678a0; margin-bottom: 10px; }
.bk-mye-summary-detail { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #e0d6eb; }
.bk-mye-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.bk-mye-detail-item { display: flex; flex-direction: column; gap: 1px; }
.bk-mye-detail-label { font-size: 11px; color: #8678a0; text-transform: uppercase; letter-spacing: .5px; }
.bk-mye-detail-val { font-size: 14px; font-weight: 600; color: #2d2240; }
.bk-mye-summary-total {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #e0d6eb; margin-top: 8px; padding-top: 10px;
    font-size: 15px; font-weight: 700;
}

/* Aviso ultima hora antes del boton */
.bk-mye-lm-confirm {
    margin: 12px 0; padding: 14px 16px;
    background: #fef2f2; border: 2px solid #e63946; border-radius: 8px;
    font-size: 14px; color: #991b1b; line-height: 1.55; text-align: left;
}
.bk-mye-lm-confirm strong { font-weight: 700; }
.bk-mye-lm-confirm p { margin: 8px 0 0 0; }
.bk-mye-lm-confirm a { color: #991b1b; font-weight: 700; text-decoration: none; }

/* TUS DATOS - inputs (grid 2 columnas, max 420px de ancho total) */
.bk-mye-fields {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
    max-width: 600px;
}
.bk-mye-field { width: 100%; min-width: 0; }
.bk-mye-field-wide { grid-column: 1 / -1; }
.bk-mye-input {
    width: 100%; padding: 20px 16px; border: 1px solid #e0d6eb; border-radius: 4px;
    font-size: 16px; background: #fff; color: #2d2240; outline: none; font-family: inherit;
    box-sizing: border-box;
}
.bk-mye-input::placeholder { color: #aaa; }
.bk-mye-input:focus { border-color: #6b3fa0; }
.bk-mye-input-err { border-color: #e63946 !important; background-color: #fff5f5 !important; }
.bk-mye-field-err { color: #991b1b; font-size: 11px; margin-top: 3px; padding: 3px 6px; background: #fef2f2; border: 1px solid #fca5a5; border-radius: 4px; }
@media (max-width: 480px) { .bk-mye-fields { grid-template-columns: 1fr; } }

/* EXPERIENCIA */
.bk-mye-exp-row { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 12px; }
.bk-mye-ebtn { padding: 10px 4px; font-weight: 700; font-size: 14px; min-width: 52px; max-width: 60px; flex: 1; text-align: center; }

/* RESIDENCIA */
.bk-mye-loc-row { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 12px; }
.bk-mye-lcbtn { flex: 1; min-width: 100px; padding: 10px 8px; font-size: 13px; font-weight: 600; text-align: center; }

/* Comentarios cliente (textarea opcional) */
.bk-mye-lbl { display: block; font-size: 13px; font-weight: 600; color: #2d2240; margin: 0 0 6px 12px; }
.bk-mye-textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #e0d6eb; border-radius: 4px;
    font-size: 14px; background: #fff; color: #2d2240; outline: none; font-family: inherit;
    box-sizing: border-box; resize: vertical; min-height: 70px; line-height: 1.4;
}
.bk-mye-textarea::placeholder { color: #aaa; }
.bk-mye-textarea:focus { border-color: #6b3fa0; }

/* Checkboxes RGPD/marketing */
.bk-mye-ckbox-wrap { display: flex; flex-direction: column; gap: 8px; margin-left: 12px; }
.bk-mye-ck { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; cursor: pointer; line-height: 1.4; }
.bk-mye-ck input { margin-top: 3px; accent-color: #6b3fa0; }
.bk-mye-rgpd { font-size: 11px; color: #888; line-height: 1.5; padding: 8px 10px; background: #f8f8f8; border-left: 3px solid #ddd; border-radius: 0 3px 3px 0; }

/* Forma de pago */
.bk-radios { display: flex; gap: 14px; flex-wrap: wrap; margin-left: 12px; }
.bk-radios label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; }

/* Boton confirmar */
.bk-mye-submit {
    display: block; width: 100%; max-width: 320px; margin: 16px auto 0;
    background: #6b3fa0; color: #fff; border: none; border-radius: 8px;
    padding: 14px 28px; font-size: 16px; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: background .15s ease;
}
.bk-mye-submit:hover { background: #7c52b0; }
.bk-mye-submit:disabled { opacity: .6; cursor: not-allowed; }
.bk-mye-submit-errors {
    margin: 12px auto 0; max-width: 480px; padding: 12px 16px;
    background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px;
}
.bk-mye-submit-errors[hidden] { display: none; }
.bk-mye-err-i { color: #991b1b; font-size: 13px; line-height: 1.8; }

/* Responsive */
@media (max-width: 480px) {
    .bk-mye-form { padding: 0 4px; }
    .bk-mye-jbtn { min-width: 36px; max-width: 56px; padding: 8px 4px; font-size: 13px; }
    .bk-mye-jbtn-kids { min-width: 85px; max-width: 120px; }
    .bk-mye-mbtn { min-width: 100px; font-size: 13px; }
    .bk-mye-lbtn { padding: 8px 10px; }
    .bk-mye-lbtn-t { font-size: 13px; }
    .bk-mye-lbtn-s { font-size: 10px; }
    .bk-mye-tprice { font-size: 20px; }
    .bk-mye-label { font-size: 11px; }
    .bk-mye-lcbtn { font-size: 11px; min-width: 0; flex: 1; padding: 8px 4px; }
    .bk-mye-dt { padding: 8px 12px; }
    .bk-mye-dt-info { font-size: 13px; gap: 4px; }
    .bk-mye-ns-alert { font-size: 12px; padding: 10px 12px; }
    .bk-mye-coupon-field { font-size: 20px; padding: 16px 14px; letter-spacing: 1.5px; }
    .bk-mye-coupon-btn { font-size: 14px; padding: 0 16px; }
}

/* ===== Pantalla post-reserva (vistaOK) ===== */
.bk-ok2 { padding: 8px 4px 24px; max-width: 560px; margin: 0 auto; }
.bk-ok2-hero { text-align: center; padding: 22px 14px 18px; border-radius: 12px; margin-bottom: 14px; }
.bk-ok2-hero-ok { background: #ecfdf5; border: 1px solid #a7f3d0; }
.bk-ok2-hero-uh { background: #fffbeb; border: 1px solid #fcd34d; }
.bk-ok2-ico { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.bk-ok2-hero-ok .bk-ok2-ico { background: #10b981; color: #fff; }
.bk-ok2-hero-uh .bk-ok2-ico { background: #f59e0b; color: #fff; }
.bk-ok2-hero h2 { font-size: 1.25rem; margin: 0 0 6px; }
.bk-ok2-hero-ok h2 { color: #065f46; }
.bk-ok2-hero-uh h2 { color: #78350f; }
.bk-ok2-hero p { font-size: 13.5px; margin: 0; color: #475569; line-height: 1.45; }

.bk-ok2-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.bk-ok2-card-tit { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #64748b; margin-bottom: 4px; }
.bk-ok2-fecha { font-size: 14px; color: #334155; margin-bottom: 10px; font-weight: 500; }
.bk-ok2-rooms { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.bk-ok2-room { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #e2e8f0; }
.bk-ok2-room:last-child { border-bottom: none; }
.bk-ok2-sig { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 3px 6px; border-radius: 5px; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .5px; }
.bk-ok2-nom { flex: 1; font-size: 14px; color: #1e293b; font-weight: 500; }
.bk-ok2-hora { font-size: 13px; color: #475569; font-variant-numeric: tabular-nums; font-weight: 600; }
.bk-ok2-jug { font-size: 12px; color: #64748b; background: #f1f5f9; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.bk-ok2-descs { padding-top: 8px; border-top: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 3px; }
.bk-ok2-desc { display: flex; justify-content: space-between; font-size: 13px; color: #15803d; }
.bk-ok2-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 8px; border-top: 2px solid #1e293b; }
.bk-ok2-total span { font-size: 13px; color: #64748b; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.bk-ok2-total strong { font-size: 1.4rem; color: #1e293b; font-variant-numeric: tabular-nums; }

.bk-ok2-promo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; margin-bottom: 10px; border: 1px solid transparent; transition: transform .12s, box-shadow .12s; }
.bk-ok2-promo:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bk-ok2-promo-ns { background: linear-gradient(135deg, #fef3c7, #fde68a); border-color: #fcd34d; color: #78350f; }
.bk-ok2-promo-gift { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); border-color: #d8b4fe; color: #581c87; }
.bk-ok2-promo-badge { background: #b45309; color: #fff; font-weight: 700; padding: 6px 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.bk-ok2-promo-body { flex: 1; min-width: 0; }
.bk-ok2-promo-tit { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.bk-ok2-promo-txt { font-size: 12.5px; line-height: 1.4; opacity: .85; }
.bk-ok2-promo-arr { font-size: 22px; font-weight: 300; opacity: .55; }
.bk-ok2-promo-gift-img { padding: 0; border: 1px solid #e2e8f0; overflow: hidden; position: relative; display: block; }
.bk-ok2-promo-gift-img img { display: block; width: 100%; height: auto; }
.bk-ok2-promo-overlay { position: absolute; left: 12px; bottom: 12px; background: rgba(88,28,135,.92); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 13px; }

.bk-ok2-acts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.bk-ok2-again { flex: 1; min-width: 180px; padding: 12px; background: #6b3fa0; color: #fff; border: none; border-radius: 8px; cursor: pointer; font: 600 14px/1.4 inherit; transition: background .15s; }
.bk-ok2-again:hover { background: #7c52b0; }
.bk-ok2-tel { padding: 12px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: #1e293b; font: 600 14px/1.4 inherit; white-space: nowrap; }
.bk-ok2-tel:hover { background: #f8fafc; }
@media (max-width: 480px) {
    .bk-ok2-hero h2 { font-size: 1.1rem; }
    .bk-ok2-room { flex-wrap: wrap; }
    .bk-ok2-nom { flex-basis: 100%; order: 3; font-size: 13px; }
    .bk-ok2-acts { flex-direction: column; }
    .bk-ok2-tel { text-align: center; }
}

/* Pantalla UH: foco unico llamada */
.bk-ok2-uh-only .bk-ok2-hero-uh p { font-size: 14.5px; color: #78350f; }
.bk-ok2-uh-call { background: #fff; border: 2px solid #f59e0b; border-radius: 14px; padding: 20px 16px; margin-bottom: 14px; text-align: center; box-shadow: 0 2px 8px rgba(245,158,11,.15); }
.bk-ok2-uh-call-tit { font-size: 14px; font-weight: 700; color: #78350f; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.bk-ok2-uh-tel { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; text-decoration: none; border-radius: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(245,158,11,.35); transition: transform .15s; }
.bk-ok2-uh-tel:hover { transform: scale(1.03); }
.bk-ok2-uh-tel-ico { font-size: 22px; }
.bk-ok2-uh-tel-num { font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.bk-ok2-uh-help { margin: 14px 0 0; font-size: 12.5px; color: #92400e; line-height: 1.4; }
.bk-ok2-again-soft { background: #fff; color: #64748b; border: 1px solid #e2e8f0; }
.bk-ok2-again-soft:hover { background: #f8fafc; color: #1e293b; }

/* Bloque ayuda (bot + FAQ) en flujo normal */
.bk-ok2-help { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.bk-ok2-help-tit { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; text-align: center; }
.bk-ok2-help-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-ok2-help-row:has(.bk-ok2-help-btn:only-child) { grid-template-columns: 1fr; }
.bk-ok2-help-btn { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #1e293b; cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, transform .12s; }
.bk-ok2-help-btn:hover { border-color: #6b3fa0; transform: translateY(-1px); }
.bk-ok2-help-ico { font-size: 20px; flex-shrink: 0; }
.bk-ok2-help-lbl { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.bk-ok2-help-lbl strong { font-size: 13.5px; font-weight: 600; }
.bk-ok2-help-lbl small { font-size: 11.5px; color: #64748b; }
@media (max-width: 480px) {
    .bk-ok2-help-row { grid-template-columns: 1fr; }
    .bk-ok2-uh-tel-num { font-size: 1.3rem; }
}

/* ===== Overlay pantalla completa para confirmacion de reserva ===== */
body.bk-ok-fs-lock { overflow: hidden !important; }
.bk-ok-fs {
    position: fixed; inset: 0; z-index: 99999;
    background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.bk-ok-fs-inner { max-width: 720px; margin: 0 auto; padding: 32px 16px 48px; }
@media (max-width: 480px) { .bk-ok-fs-inner { padding: 16px 12px 32px; } }

/* Movil estrecho: menos padding anidado y cajas mas planas, para ganar ancho util. */
@media (max-width: 560px) {
    .myesc-bk { padding: 8px 0; }
    .bk-titulo { font-size: 1.05rem; margin-bottom: 8px; }
    .bk-cal-box { padding: 8px; border-radius: 8px; margin-bottom: 10px; }
    .bk-aviso-orden { padding: 6px 8px; font-size: 11.5px; border-radius: 6px; margin-bottom: 8px; }
    .bk-leyenda { gap: 4px 8px; margin-top: 6px; }
    .bk-leyenda-slots { padding: 2px 8px 8px; }
    .bk-sala { border-radius: 8px; margin-bottom: 8px; }
    .bk-sala-head { padding: 6px 8px; gap: 8px; }
    .bk-sala-img { width: 40px; height: 40px; border-radius: 6px; }
    .bk-sala-desc { font-size: 11.5px; }
    .bk-sala-info { padding: 8px 8px 4px; }
    .bk-slots { padding: 4px 8px 8px; gap: 4px; }
    .bk-carrito { padding: 8px; }
}

/* ===== Consentimiento de fotos y novedades: interruptor rojo/verde ===== */
.bk-mkt{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid #fecaca;background:#fef2f2;margin-bottom:10px;transition:background .15s,border-color .15s}
.bk-mkt.bk-mkt-on{border-color:#a7f3d0;background:#ecfdf5}
.bk-mkt-cb{position:absolute;opacity:0;width:0;height:0}
.bk-mkt-sw{position:relative;flex:none;width:46px;height:26px;border-radius:999px;background:#ef4444;cursor:pointer;transition:background .15s}
.bk-mkt-sw span{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.bk-mkt.bk-mkt-on .bk-mkt-sw{background:#10b981}
.bk-mkt.bk-mkt-on .bk-mkt-sw span{transform:translateX(20px)}
.bk-mkt-cb:focus-visible + .bk-mkt-sw{outline:2px solid #0f172a;outline-offset:2px}
.bk-mkt-txt{font-size:13.5px;line-height:1.35;color:#7f1d1d;cursor:pointer}
.bk-mkt.bk-mkt-on .bk-mkt-txt{color:#065f46}

.bk-mkt-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.55);padding:16px}
.bk-mkt-modal-box{background:#fff;border-radius:14px;padding:20px;max-width:420px;width:100%;box-shadow:0 20px 40px rgba(0,0,0,.25)}
.bk-mkt-modal-txt{margin:0 0 16px;font-size:16px;line-height:1.4;color:#0f172a}
.bk-mkt-modal-btns{display:flex;flex-direction:column;gap:8px}
.bk-mkt-modal-btns button{padding:11px 14px;border-radius:10px;font-size:14.5px;font-weight:600;cursor:pointer;border:1px solid transparent}
.bk-mkt-si{background:#10b981;color:#fff}
.bk-mkt-si:hover{background:#059669}
.bk-mkt-no{background:#fff;color:#64748b;border-color:#cbd5e1;font-weight:500}
.bk-mkt-no:hover{background:#f8fafc}

