.stb-wizard-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family:inherit;
}

.stb-wizard-step {
    padding: 10px;
}

/* Estilo para los items de local */
#stb-location-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas */
    gap: 15px;
}

.stb-location-item {
    border: 2px solid #eee;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stb-location-item:hover {
    border-color: #007cba;
    background: #f9f9f9;
}

.stb-location-item.selected {
    border-color: #007cba;
    background: #f0f6fa;
    box-shadow: 0 0 10px rgba(0,124,186,0.2);
}

.stb-location-item h3 {
    margin: 0;
    padding: 0;
    text-align: center;
}

.stb-error {
    color: red;
}
/* Estilo para los slots de horario */
#stb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Columnas automáticas */
    gap: 15px;
}

.stb-time-slot {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: bold;
}

.stb-time-slot:hover {
    border-color: #007cba;
    background: #f9f9f9;
}

.stb-time-slot.selected {
    border-color: #007cba;
    background: #f0f6fa;
}
/* Estilo para las mesas */
#stb-table-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.stb-table-item {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.stb-table-item h4 {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 1.1em;
}

.stb-table-item:hover {
    border-color: #007cba;
    background: #f9f9f9;
}

.stb-table-item.selected {
    border-color: #007cba;
    background: #f0f6fa;
}
/* ... (todos tus estilos existentes) ... */

/* Estilo para los botones principales (los que avanzan) */
.stb-button-primary {
    background-color: #007cba;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin-top: 10px;
    width: 100%;
}
.stb-button-primary:hover {
    background-color: #005a87;
}
.stb-button-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Estilo para el botón "Volver" (elegante / secundario) */
.stb-wizard-back {
    background: none;
    border: none;
    color: #555;
    padding: 10px 0; /* Sin padding lateral para que parezca un link */
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 15px;
    text-decoration: none;
    display: block; /* Ocupa su propia línea */
}

.stb-wizard-back:hover {
    color: #000;
    text-decoration: underline;
}

/* Pequeños ajustes de formulario */
.stb-wizard-step label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
.stb-wizard-step input[type="date"],
.stb-wizard-step input[type="number"],
.stb-wizard-step input[type="text"],
.stb-wizard-step input[type="email"],
.stb-wizard-step input[type="tel"],
.stb-wizard-step textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box; /* Importante para que el padding no rompa el ancho */
    margin-top: 5px;
}
/* ... (estilos existentes) ... */

/* ¡NUEVO! Estilo para horarios deshabilitados (sin mesas) */
.stb-time-slot.disabled {
    background-color: #f8f8f8;
    color: #aaa;
    border-color: #eee;
    cursor: not-allowed;
    text-decoration: line-through;
}
.stb-time-slot.disabled:hover {
    background-color: #f8f8f8;
    border-color: #eee;
}
/* --- ESTILOS MODERNOS PARA BOTONES DE ACCIÓN DEL TICKET --- */

/* Contenedor de botones: asegura un espaciado consistente y apilamiento en móvil */
.stb-ticket-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: row; 
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; 
}

.stb-submit-button {
    /* Base de diseño moderna */
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 8px; /* Bordes suaves */
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-grow: 1; /* Permite que los botones crezcan */
    max-width: 250px; /* Limita el ancho en desktop */
}

/* 1. Botón Primario (Imprimir / Guardar PDF) - Éxito/Acción Principal */
.stb-submit-button:not(.secondary):not(.tertiary) {
    background-color: #28a74d; /* Verde fresco */
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(40, 167, 77, 0.2); 
}
.stb-submit-button:not(.secondary):not(.tertiary):hover {
    background-color: #1f8b40;
    transform: translateY(-1px); /* Efecto 3D sutil */
    box-shadow: 0 6px 8px rgba(40, 167, 77, 0.3);
}

/* 2. Botón Terciario (Compartir) - Promocional/Social */
.stb-submit-button.tertiary {
    background-color: #17a2b8; /* Azul turquesa */
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(23, 162, 184, 0.2);
}
.stb-submit-button.tertiary:hover {
    background-color: #138496;
    transform: translateY(-1px);
}

/* 3. Botón Secundario (Nueva Reserva) - Menos prominente */
.stb-submit-button.secondary {
    background-color: #f8f9fa; /* Fondo blanco */
    color: #495057; /* Texto oscuro para contraste */
    border: 1px solid #ced4da; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.stb-submit-button.secondary:hover {
    background-color: #e9ecef;
    color: #343a40;
}

/* Ajuste para dispositivos móviles: forzar a que ocupen el ancho completo */
@media (max-width: 600px) {
    .stb-ticket-actions {
        flex-direction: column; /* Se apilan verticalmente */
    }
    .stb-submit-button {
        max-width: 100%;
    }
}
 /* --- Reglas de Impresión: Imprimir solo el contenedor #stb-booking-wizard --- */

@media print {
   /* 1. Ocultar todos los elementos de la página */

    body * {
        visibility: hidden !important;
        /* El !important asegura que se sobreescriba cualquier estilo de visibilidad */
    }


    /* 2. Mostrar el contenedor principal del wizard */

    #stb-booking-wizard {
        visibility: visible !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        box-shadow: none;
		height: 100vh !important; 
        overflow: hidden !important; 

    }
    /* 3. Asegurar que TODO el contenido dentro del wizard sea visible */

    #stb-booking-wizard * {
        visibility: visible !important;
		color:#000000 !important;
    }

    /* 4. Ocultar los botones de acción (Imprimir/Compartir/Nueva Reserva) */

    #stb-booking-wizard .stb-ticket-actions {
        display: none !important;
    }

} 