/* Portage Booking — formulaire de réservation (carte claire, identité site) */

.pbk {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
    max-width: 560px;
    padding: 28px;
}

.pbk *,
.pbk *::before,
.pbk *::after {
    box-sizing: border-box;
}

.pbk-field {
    margin-bottom: 16px;
}

.pbk-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.pbk-label span {
    color: #c0392b;
}

.pbk input[type="text"],
.pbk input[type="tel"],
.pbk input[type="email"],
.pbk input[type="date"],
.pbk select,
.pbk textarea {
    background: #fbfcfd;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
    font-size: 15px;
    min-height: 44px;
    padding: 8px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.pbk textarea {
    min-height: 0;
    resize: vertical;
}

.pbk input:focus,
.pbk select:focus,
.pbk textarea:focus {
    border-color: #e0a937;
    box-shadow: 0 0 0 3px rgba(224, 169, 55, 0.28);
    outline: none;
}

.pbk-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

/* Créneaux horaires */

.pbk-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 44px;
}

.pbk-slots-hint {
    color: #647282;
    font-size: 0.9rem;
    margin: 8px 0 0;
}

.pbk-slot {
    background: #f6f8fb;
    border: 1px solid #d9e0e7;
    border-radius: 999px;
    color: #17202a;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 700;
    min-height: 38px;
    padding: 0 16px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pbk-slot:hover,
.pbk-slot:focus {
    border-color: #781f0c;
}

.pbk-slot.is-selected {
    background: #781f0c;
    border-color: #781f0c;
    color: #ffffff;
}

/* Bouton & messages */

.pbk-actions {
    margin-top: 6px;
}

.pbk-button {
    background: #c8332b;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    min-height: 46px;
    padding: 8px 26px;
    transition: background 0.15s ease;
}

.pbk-button:hover,
.pbk-button:focus {
    background: #a02822;
}

.pbk-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b32d2e;
    margin-bottom: 16px;
    padding: 12px 16px;
}

.pbk-errors ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.pbk-success {
    text-align: center;
    padding: 12px 0;
}

.pbk-success strong {
    color: #15803d;
    display: block;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.pbk-hp {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
}

@media (max-width: 640px) {
    .pbk {
        padding: 20px;
    }

    .pbk-grid {
        grid-template-columns: 1fr;
    }
}
