/* assets/css/reservar.css */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 800px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .resumen-card { order: -1; /* En celular, el resumen va primero */ }
}

/* COLUMNA IZQUIERDA (DETALLES) */
.cancha-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.tag-deporte {
    background: #f97316; color: white;
    padding: 5px 10px; border-radius: 4px;
    font-weight: bold; text-transform: uppercase; font-size: 0.8rem;
}

.cancha-title { font-size: 2rem; font-weight: 800; color: #0f172a; margin: 10px 0; }

.info-row { display: flex; align-items: center; gap: 10px; color: #64748b; margin-bottom: 5px; }

/* FORMULARIO */
.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.section-title { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin-bottom: 1.5rem; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }

/* COLUMNA DERECHA (RESUMEN DE PAGO) */
.resumen-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 20px;
}

.precio-final {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 1rem 0;
}

.btn-confirmar {
    width: 100%;
    padding: 15px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.btn-confirmar:hover { background: #059669; transform: translateY(-2px); }

/* TARJETAS DE FECHA Y HORA */
.time-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}
.radio-time { display: none; }
.label-time {
    display: block;
    padding: 10px;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
.radio-time:checked + .label-time {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}
.label-time:hover { border-color: #0f172a; }

.guest-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 20px;
}