/**
 * Styles CSS pour le formulaire de réservation
 */

.wptotem-cplx-booking-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Styles du formulaire multi-étapes */
.booking-form-step {
    display: none;
}

.booking-form-step.active {
    display: block;
}

.booking-form-progress {
    display: flex;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.booking-form-progress li {
    flex: 1;
    padding: 10px;
    text-align: center;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    position: relative;
}

.booking-form-progress li:last-child {
    border-right: none;
}

.booking-form-progress li.active {
    background-color: #0073aa;
    color: white;
}

.booking-form-progress li.completed {
    background-color: #4caf50;
    color: white;
}

/* Styles du calendrier */
.booking-calendar-container {
    margin-bottom: 1.5rem;
}

.fc .fc-toolbar-title {
    font-size: 1.5rem;
    margin: 0;
}

.fc .fc-button {
    background-color: #20376C !important;
    border-color: #20376C !important;
}

.fc .fc-button:hover {
    background-color: #20376C !important;
    border-color: #20376C !important;
}

.fc .fc-event {
    cursor: pointer;
    padding: 5px;
    font-size: 0.9em;
}

.fc .slot-available {
    background-color: #4caf50;
    border-color: #4caf50;
}

.fc .slot-full {
    background-color: #f44336;
    border-color: #f44336;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Styles des champs du formulaire */
.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-field .error-message {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Styles des boutons */
.booking-form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #20376C !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #20376C !important;
}

.btn-secondary {
    background-color: #f0f0f0 !important;
    color: #333 !important;
}

.btn-secondary:hover {
    background-color: #ddd !important;
}

.btn-disabled {
    background-color: #ddd !important;
    color: #888 !important;
    cursor: not-allowed !important;
}

/* Ru00e9sumu00e9 de la ru00e9servation */
.booking-summary {
    background-color: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.booking-summary h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.booking-summary dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin: 0;
}

.booking-summary dt {
    font-weight: 600;
}

.booking-summary dd {
    margin-left: 0;
}

/* Messages */
.booking-message {
    padding: 15px !important;
    margin-bottom: 1.5rem !important;
    border-radius: 4px !important;
}

.booking-message.error {
    background-color: #ffebee !important;
    border: 1px solid #ffcdd2 !important;
    color: #b71c1c !important;
}

.booking-message.info {
    background-color: #e3f2fd !important;
    border: 1px solid #bbdefb !important;
    color: #0d47a1 !important;
}

.booking-message.success {
    background-color: #e8f5e9 !important;
    border: 1px solid #c8e6c9 !important;
    color: #1b5e20 !important;
}

/* Loader */
.booking-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.booking-loader-spinner {
    border: 5px solid #f3f3f3 !important;
    border-top: 5px solid #20376C !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
