/* ============================================================
   FSP Booking Modal — Modale de prise de rendez-vous
   ============================================================ */

.fsp-booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 44, 77, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fspFadeIn 0.2s ease;
}
.fsp-booking-modal-overlay.is-open { display: flex; }

@keyframes fspFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fsp-booking-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: fspSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fspSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fsp-booking-header {
    background: linear-gradient(135deg, #0F2C4D 0%, #1B6B3A 100%);
    color: #ffffff;
    padding: 24px 28px;
    border-radius: 16px 16px 0 0;
    position: relative;
}
.fsp-booking-header .fsp-eyebrow {
    color: #C9A961;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.fsp-booking-header h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    margin: 0 0 4px;
    color: #ffffff;
}
.fsp-booking-header .fsp-vendor-name {
    font-size: 14px;
    opacity: 0.85;
}
.fsp-booking-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.fsp-booking-close:hover { background: rgba(255, 255, 255, 0.3); }

.fsp-booking-body { padding: 24px 28px; }

.fsp-booking-field { margin-bottom: 16px; }
.fsp-booking-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F2C4D;
    margin-bottom: 6px;
}
.fsp-booking-field label .fsp-required { color: #C1272D; }
.fsp-booking-field input,
.fsp-booking-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #0F2C4D;
    background: #FAF7F0;
    transition: all 0.15s;
    box-sizing: border-box;
}
.fsp-booking-field input:focus,
.fsp-booking-field textarea:focus {
    outline: none;
    border-color: #1B6B3A;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 107, 58, 0.1);
}
.fsp-booking-field textarea { min-height: 80px; resize: vertical; }
.fsp-booking-field .fsp-help {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

.fsp-booking-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .fsp-booking-row-2 { grid-template-columns: 1fr; }
}

.fsp-booking-actions {
    padding: 16px 28px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #F3F4F6;
}
.fsp-booking-btn {
    padding: 11px 22px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.fsp-booking-btn-cancel {
    background: transparent;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}
.fsp-booking-btn-cancel:hover { background: #F9FAFB; }
.fsp-booking-btn-submit {
    background: #1B6B3A;
    color: #ffffff;
}
.fsp-booking-btn-submit:hover { background: #164A2E; }
.fsp-booking-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.fsp-booking-status {
    padding: 12px 28px;
    font-size: 13px;
    border-radius: 8px;
    margin: 0 28px 16px;
}
.fsp-booking-status[hidden] { display: none; }
.fsp-booking-status.is-success {
    background: #E6F4EA;
    color: #1B6B3A;
    border: 1px solid #A8D4B4;
}
.fsp-booking-status.is-error {
    background: #FDECEE;
    color: #C1272D;
    border: 1px solid #F5A7AF;
}
.fsp-booking-status.is-loading {
    background: #F0F4F8;
    color: #0F2C4D;
}

/* Success screen après envoi */
.fsp-booking-success {
    padding: 40px 28px;
    text-align: center;
}
.fsp-booking-success-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
}
.fsp-booking-success h3 {
    font-family: Georgia, serif;
    color: #0F2C4D;
    font-size: 22px;
    margin: 0 0 12px;
}
.fsp-booking-success p {
    color: #4B5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
}
