/* ============================================================
   reservation.css — formulaire de réservation UBulle
   ============================================================ */
   

body { font-family: 'Segoe UI', system-ui, sans-serif; background: #f0f4f8; color: #1a1a2e; }

.resa-container {
    max-width: 720px;
    margin: 80px auto 3rem;
    padding: 0 1rem;
}
.resa-header { text-align: center; margin-bottom: 2.5rem; }
.resa-header h1 { font-size: 2rem; font-weight: 900; color: #0a3d62; }
.resa-header p { color: #555; font-size: 1rem; margin-top: .4rem; }

/* Étapes */
.steps-bar {
    display: flex; gap: .5rem; margin-bottom: 2.5rem;
}
.step {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: #dde3ea;
    transition: background .3s;
}
.step.active { background: #48cae4; }
.step.done   { background: #0a3d62; }

/* Carte du formulaire */
.form-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(10,61,98,.10);
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
}
.form-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0a3d62;
    margin-bottom: 1.5rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid #f0f4f8;
}

/* Labels & inputs */
label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: #333;
    margin-bottom: .35rem;
}
input[type=text], input[type=email], input[type=tel],
input[type=date], input[type=number], select {
    width: 100%;
    padding: .7rem 1rem;
    border: 2px solid #dde3ea;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #fafbfc;
    transition: border-color .2s;
    margin-bottom: 1.2rem;
}
input:focus, select:focus {
    outline: none;
    border-color: #48cae4;
    background: #fff;
}

/* Options checkboxes */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}
.option-label {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    background: #f0f4f8;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: .9rem 1rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.option-label:has(input:checked) {
    border-color: #48cae4;
    background: #eaf9fc;
}
.option-label input[type=checkbox] {
    width: auto; margin: 0; padding: 0;
    accent-color: #1a6fa8;
    margin-top: 3px;
    flex-shrink: 0;
}
.option-label .opt-info { flex: 1; margin-bottom: 0; }
.option-label .opt-nom  { font-weight: 700; font-size: .92rem; color: #0a3d62; }
.option-label .opt-prix { font-size: .85rem; color: #1a6fa8; font-weight: 600; }
.opt-date-wrap { margin-top: .5rem; display: none; }
.opt-date-wrap.visible { display: block; }
.opt-date-wrap input { margin-bottom: 0; font-size: .88rem; padding: .5rem .7rem; }

/* Bulle sélectionnée */
.bulle-info-box {
    display: flex; align-items: center; gap: 1.2rem;
    background: linear-gradient(135deg, #eaf9fc, #f0f4f8);
    border: 2px solid #48cae4;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.bulle-badge {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fa8, #48cae4);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bulle-info-box .bl-name  { font-weight: 800; font-size: 1.05rem; color: #0a3d62; }
.bulle-info-box .bl-capa  { font-size: .88rem; color: #555; }
.bulle-info-box .bl-prix  { margin-left: auto; font-size: 1.3rem; font-weight: 900; color: #1a6fa8; }

/* Récapitulatif */
.recap-table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.recap-table tr td { padding: .55rem .2rem; font-size: .95rem; }
.recap-table tr td:last-child { text-align: right; font-weight: 600; }
.recap-table tr.total-row td {
    padding-top: .8rem;
    border-top: 2px solid #dde3ea;
    font-size: 1.1rem;
    font-weight: 900;
    color: #0a3d62;
}
.recap-section { font-size: .8rem; font-weight: 700; color: #1a6fa8; text-transform: uppercase; letter-spacing: .07em; }

/* Boutons navigation */
.btn-next, .btn-back, .btn-submit {
    display: inline-block;
    border: none; cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: .8rem 2rem;
    border-radius: 99px;
    transition: transform .2s, box-shadow .2s;
}
.btn-next, .btn-submit {
    background: #0a3d62;
    color: #fff;
    box-shadow: 0 4px 16px rgba(10,61,98,.25);
}
.btn-next:hover, .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,61,98,.3); }
.btn-back { background: #f0f4f8; color: #555; }
.btn-back:hover { background: #dde3ea; }
.btn-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 1rem; }

/* Confirmation */
.confirm-box {
    background: linear-gradient(135deg, #eaf9fc, #f5fffe);
    border: 2px solid #48cae4;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
}
.confirm-box .icon-ok { font-size: 3rem; display: block; margin-bottom: .8rem; }
.confirm-box h2 { color: #0a3d62; font-size: 1.5rem; margin-bottom: .6rem; }
.confirm-box p  { color: #444; font-size: 1rem; }

/* Erreur */
.alert-error {
    background: #fff0f0;
    border: 1.5px solid #f5a5a5;
    color: #c0392b;
    border-radius: 8px;
    padding: .8rem 1.1rem;
    font-size: .93rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 500px) {
    .form-card { padding: 1.5rem 1rem; }
    .options-grid { grid-template-columns: 1fr; }
}
