/* =========================================
   ESTILOS: FORMULARIO PASO 1 (DATOS RESERVA)
========================================= */

.main-container {
    max-width: 750px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

/* Tarjeta superior con título */
.title-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.title-card h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.title-card .subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

/* Tarjeta contenedora del formulario */
.booking-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Grupos y filas */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.req {
    color: #ef4444;
    font-weight: 700;
}

/* Inputs, Selects y Date (Fix iPhone/Safari) */
input[type="text"],
input[type="number"],
input[type="date"],
select {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
    min-width: 100%;
    height: 46px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Ajustes de fecha para iOS */
input[type="date"] {
    display: flex;
    align-items: center;
    text-align: left !important;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left !important;
    margin: 0;
    padding: 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    margin-left: auto;
}

input:focus,
select:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Botón de acción */
.form-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-continue {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 2.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-continue:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

/* Responsive */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .booking-card {
        padding: 1.5rem;
    }
    .btn-continue {
        width: 100%;
        justify-content: center;
    }
}