/* ── MVX Booking ─────────────────────────────────────────────────────────── */

.mvxb-wrapper {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    max-width: 520px;
}

.mvxb-titulo {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #1a1a1a;
}

/* ── Calendario ──────────────────────────────────────────────────────────── */
.mvxb-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mvxb-mes-label {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    text-transform: capitalize;
}

.mvxb-mes-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    color: #444;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mvxb-mes-btn:hover {
    background: #f5f5f5;
}

.mvxb-cal-dias-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
}

.mvxb-cal-dias-semana span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    padding: 4px 0;
}

.mvxb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.mvxb-dia {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border: 1px solid transparent;
}

.mvxb-dia:hover:not(.deshabilitado) {
    background: #f0f0f0;
    border-color: #ddd;
}

.mvxb-dia.deshabilitado {
    color: #ccc;
    cursor: default;
}

.mvxb-dia.vacio {
    cursor: default;
}

.mvxb-dia.seleccionado {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ── Horas ───────────────────────────────────────────────────────────────── */
.mvxb-horas-wrap {
    margin-top: 1.5rem;
}

.mvxb-horas-titulo {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.mvxb-horas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mvxb-hora-slot {
    padding: 8px 4px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
    color: #333;
}

.mvxb-hora-slot:hover:not(.ocupada) {
    border-color: #999;
    background: #f5f5f5;
}

.mvxb-hora-slot.ocupada {
    background: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.mvxb-hora-slot.seleccionada {
    background: #111;
    color: #fff;
    border-color: #111;
}

.mvxb-cargando {
    color: #999;
    font-size: 13px;
}

/* ── Formulario de datos ─────────────────────────────────────────────────── */
.mvxb-datos-wrap {
    margin-top: 1.5rem;
}

.mvxb-datos-titulo {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1a1a1a;
}

.mvxb-resumen {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 1rem;
    color: #333;
}

.mvxb-campo {
    margin-bottom: 12px;
}

.mvxb-campo label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

.mvxb-campo .req {
    color: #e53e3e;
}

.mvxb-campo input,
.mvxb-campo textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.mvxb-campo input:focus,
.mvxb-campo textarea:focus {
    border-color: #999;
}

.mvxb-confirmar-btn {
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 8px;
    font-family: inherit;
}

.mvxb-confirmar-btn:hover {
    background: #333;
}

.mvxb-confirmar-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.mvxb-error {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
    border: 1px solid #fed7d7;
}

/* ── Éxito ───────────────────────────────────────────────────────────────── */
.mvxb-exito {
    text-align: center;
    padding: 2rem 1rem;
}

.mvxb-exito-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.mvxb-exito h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.mvxb-exito p {
    font-size: 14px;
    color: #666;
    margin: 4px 0;
}

/* ── Admin ───────────────────────────────────────────────────────────────── */
.mvxb-estado {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.mvxb-pendiente  { background: #FEF3C7; color: #92400E; }
.mvxb-confirmado { background: #D1FAE5; color: #065F46; }
.mvxb-cancelado  { background: #FEE2E2; color: #991B1B; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .mvxb-wrapper {
        padding: 1rem;
    }
    .mvxb-horas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mvxb-dia {
        font-size: 12px;
    }
}
