/* ========================================
   FORMULAIRE DE RENDEZ-VOUS - Design Luxe Raffiné
   ======================================== */

/* Page formulaire */
.form-page {
    background: var(--primary-dark);
    min-height: 100vh;
    padding-top: 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

.form-page .navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
}

.nav-logo a {
    text-decoration: none;
}

.back-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.back-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201, 167, 106, 0.3);
}

/* Container principal */
.form-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
    min-height: calc(100vh - 100px);
    padding-bottom: 2rem;
}

.form-container {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1rem;
    width: 100%;
}

/* Header du formulaire */
.form-header {
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

#form-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

#form-subtitle {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

/* Barre de progression */
.form-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 0;
    width: 50%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    display: block;
    letter-spacing: 0.5px;
}

/* Étapes du formulaire */
.form-step {
    display: none;
}

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

.form-step h2 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    text-align: center;
    letter-spacing: 1px;
}

/* Groupes de champs */
.form-group {
    margin-bottom: 1rem;
}

#step-2,
#step-3,
#step-4 {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

/* Champs de saisie */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    font-weight: 300;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(201, 167, 106, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Options des select */
.form-group select option {
    background: var(--primary-dark);
    color: var(--text-primary);
    padding: 0.75rem;
}

.form-group select option:checked {
    background: rgba(201, 167, 106, 0.2);
    color: var(--accent-gold);
}

/* Erreurs de validation */
.field-error {
    color: #ff6b6b;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}

.field-error.show {
    display: block;
}

/* Note de confidentialité */
.privacy-note {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
    padding: 0.4rem;
    background: rgba(201, 167, 106, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    font-size: 0.65rem;
}

.privacy-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.privacy-note span {
    color: var(--text-muted);
    line-height: 1.3;
    font-weight: 300;
}

/* Cases à cocher */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.8rem;
}

.checkbox-item:hover {
    border-color: rgba(201, 167, 106, 0.3);
    background: var(--bg-card-hover);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-dark);
    font-weight: bold;
    font-size: 10px;
}

.checkbox-item.consent {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    grid-column: 1 / -1;
}

/* Navigation du formulaire */
.form-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 1rem;
}

.form-navigation .btn-prev {
    margin-right: auto;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 2px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-prev {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-prev:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201, 167, 106, 0.3);
}

.btn-next,
.btn-submit {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-next:hover,
.btn-submit:hover {
    background: rgba(201, 167, 106, 0.1);
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loader */
.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(201, 167, 106, 0.3);
    border-top: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   CALENDRIER DANS LE FORMULAIRE
   ======================================== */

.calendar-wrapper {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.calendar-title {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-primary);
    text-transform: capitalize;
    min-width: 130px;
    text-align: center;
    letter-spacing: 0.5px;
}

.calendar-nav-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.calendar-nav-btn:hover:not(:disabled) {
    background: var(--bg-card-hover);
    border-color: rgba(201, 167, 106, 0.3);
}

.calendar-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 300;
    font-size: 0.75rem;
    min-height: 35px;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: default;
}

.calendar-day.today {
    background: rgba(201, 167, 106, 0.1);
    border-color: rgba(201, 167, 106, 0.3);
    color: var(--accent-gold);
    font-weight: 400;
}

.calendar-day.available {
    background: rgba(201, 167, 106, 0.05);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.calendar-day.available:hover {
    background: rgba(201, 167, 106, 0.1);
    border-color: rgba(201, 167, 106, 0.4);
}

.calendar-day.selected {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    font-weight: 400;
}

.calendar-day.unavailable {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.5;
}

.calendar-day.friday-blocked {
    background: rgba(255, 100, 50, 0.15);
    border-color: rgba(255, 100, 50, 0.3);
    position: relative;
}

.calendar-day.friday-blocked::after {
    content: '⚠️';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.6rem;
    opacity: 0.8;
}

.calendar-day.weekend-blocked {
    background: rgba(100, 100, 100, 0.15);
    border-color: rgba(150, 150, 150, 0.3);
    position: relative;
}

.calendar-day.weekend-blocked::after {
    content: '🔒';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.6rem;
    opacity: 0.7;
}

.calendar-day.reserved {
    background: rgba(220, 80, 80, 0.15);
    color: rgba(255, 100, 100, 0.8);
    cursor: not-allowed;
    border-color: rgba(220, 80, 80, 0.3);
    position: relative;
}

.calendar-day.reserved::after {
    content: '🔒';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.6rem;
    opacity: 0.7;
}

.calendar-day.weekend {
    color: var(--text-muted);
}

.selected-date-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    margin-top: 1.25rem;
    padding: 0.75rem;
    background: rgba(201, 167, 106, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
}

.selected-date-display span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.selected-date-display strong {
    color: var(--accent-gold);
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* ========================================
   ÉTAPE VERIFICATION PAR CODE
   ======================================== */

.verification-info,
.validation-info {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(201, 167, 106, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
}

.verification-info p,
.validation-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.verification-info strong,
.validation-info strong {
    color: var(--accent-gold);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.validation-note {
    text-align: center;
    margin-top: 0.75rem;
}

.validation-note p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0.25rem 0;
}

#verification-code {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
}

.code-info {
    margin-top: 0.5rem;
    text-align: center;
}

.code-info span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
}

.resend-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-resend {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 300;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-resend:hover:not(:disabled) {
    background: var(--bg-card-hover);
    border-color: rgba(201, 167, 106, 0.3);
}

.btn-resend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#resend-timer {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-page {
        padding-top: 70px;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .form-main {
        padding: 0.75rem;
        min-height: auto;
    }

    .form-container {
        padding: 1rem;
    }

    .form-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .form-header h1 {
        font-size: 1.3rem;
    }

    .form-header p {
        font-size: 0.75rem;
    }

    .form-step h2 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    #step-1 .columns-wrapper {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .prestations-column,
    .calendar-column,
    .time-slots-column {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        padding-left: 0;
    }
    
    .calendar-wrapper {
        padding: 0.75rem;
    }
    
    .calendar-day {
        min-height: 40px;
        font-size: 0.8rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.5rem;
    }
    
    .time-slot {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 16px; /* Évite le zoom automatique sur iOS */
        min-height: 44px; /* Taille minimale recommandée pour mobile */
    }

    .form-navigation {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0.5rem;
    }

    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px; /* Taille minimale pour faciliter le clic */
    }
    
    .toast-container {
        top: 80px;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
        padding: 1rem;
    }
    
    #multi-day-info {
        top: 80px;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .form-page {
        padding-top: 65px;
    }

    .form-main {
        padding: 0.5rem;
    }

    .form-container {
        padding: 0.75rem;
    }

    .form-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .form-header h1 {
        font-size: 1.1rem;
    }

    .form-header p {
        font-size: 0.7rem;
    }
    
    .form-step h2 {
        font-size: 0.9rem;
    }
    
    .prestation-item {
        padding: 0.6rem 0.5rem;
    }
    
    .prestation-name {
        font-size: 0.75rem;
    }
    
    .prestation-details {
        font-size: 0.65rem;
    }
    
    .calendar-day {
        min-height: 38px;
        font-size: 0.75rem;
    }
    
    .time-slot {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
        min-height: 42px;
    }

    .checkbox-item {
        padding: 0.6rem;
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 16px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        padding: 0.8rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   NOTIFICATIONS TOAST
   ======================================== */

.toast-container {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 3.7s;
    min-width: 300px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast.success {
    border-left: 3px solid #4CAF50;
}

.toast.success .toast-title {
    color: #4CAF50;
}

.toast.error {
    border-left: 3px solid #ff6b6b;
}

.toast.error .toast-title {
    color: #ff6b6b;
}

.toast.warning {
    border-left: 3px solid var(--accent-gold);
}

.toast.warning .toast-title {
    color: var(--accent-gold);
}

.toast.info {
    border-left: 3px solid #2196F3;
}

.toast.info .toast-title {
    color: #2196F3;
}

/* ========================================
   LAYOUT EN 3 COLONNES POUR ÉTAPE 1
   ======================================== */

#step-1 h2 {
    margin-bottom: 0.75rem;
}

#step-1 .columns-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    #step-1 .columns-wrapper {
        grid-template-columns: 280px 1fr 280px;
        gap: 0.75rem;
    }
}

@media (max-width: 1024px) {
    #step-1 .columns-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .prestations-column,
    .calendar-column,
    .time-slots-column {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        padding-left: 0;
    }
}

.prestations-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: calc(100vh - 380px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Scrollbar personnalisée */
.prestations-column::-webkit-scrollbar {
    width: 6px;
}

.prestations-column::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.prestations-column::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.prestations-column::-webkit-scrollbar-thumb:hover {
    background: var(--accent-bronze);
}

.calendar-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: calc(100vh - 380px);
    overflow-y: auto;
}

.time-slots-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: calc(100vh - 380px);
    overflow-y: auto;
    padding-left: 0.5rem;
}

.calendar-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-subtle);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

/* ========================================
   GRILLE DE PRESTATIONS
   ======================================== */

.prestations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.prestation-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 0.5rem;
}

.category-title {
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.prestation-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    margin: 0.25rem 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px; /* Taille minimale pour faciliter le clic sur mobile */
}

.prestation-item:hover {
    background: rgba(201, 167, 106, 0.08);
    border-color: var(--border-subtle);
}

.prestation-item input[type="checkbox"] {
    display: none;
}

.prestation-item .checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.prestation-item input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.prestation-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

.prestation-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prestation-name {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.8rem;
}

.prestation-details {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 300;
}

.duration-summary {
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: rgba(201, 167, 106, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    text-align: center;
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.duration-summary strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.multi-day-warning {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.4);
    border-left: 3px solid rgba(255, 165, 0, 0.8);
    border-radius: 4px;
    color: rgba(255, 200, 100, 0.95);
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: left;
}

.multi-day-warning strong {
    color: rgba(255, 165, 0, 1);
    font-weight: 600;
}

/* Indicateur de remplissage des jours du calendrier */
.calendar-day {
    position: relative;
    overflow: hidden;
}

.day-number {
    position: relative;
    z-index: 2;
}

.day-fill-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(201, 48, 44, 0.3) 0%, 
        rgba(201, 48, 44, 0.15) 100%);
    transition: height 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.calendar-day.partially-booked {
    border-color: rgba(255, 107, 107, 0.4);
}

.calendar-day.fully-booked {
    background: rgba(201, 48, 44, 0.2);
    border-color: rgba(201, 48, 44, 0.5);
    color: #ff6b6b;
}

.calendar-day.fully-booked .day-fill-indicator {
    background: linear-gradient(to top, 
        rgba(201, 48, 44, 0.4) 0%, 
        rgba(201, 48, 44, 0.25) 100%);
}

/* ========================================
   CRÉNEAUX HORAIRES
   ======================================== */

.time-slots-section {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.selected-date-header {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
}

.time-slot {
    padding: 0.6rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px; /* Taille minimale pour faciliter le clic sur mobile */
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot:hover {
    background: rgba(201, 167, 106, 0.1);
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.time-slot.selected {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: 600;
}

.time-slot.reserved {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    color: rgba(255, 107, 107, 0.5);
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slot.reserved:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    color: rgba(255, 107, 107, 0.5);
}

@media (max-width: 1400px) {
    #step-1 {
        grid-template-columns: 300px 1fr 300px;
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    #step-1 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prestations-column,
    .time-slots-column {
        max-height: none;
        overflow-y: visible;
    }

    .calendar-column {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .toast-container {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
    }

    #step-1 {
        grid-template-columns: 1fr;
    }

    .prestations-column {
        max-height: none;
    }

    .prestations-grid {
        gap: 0.75rem;
    }

    .prestation-category {
        padding: 0.6rem;
    }

    .prestation-item {
        padding: 0.5rem;
    }

    .prestation-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }

    .time-slot {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
    }
}
