/* Animations et styles pour les transitions de booking room */
:root {
    --primary-color: #b39134;
    --secondary-color: #f0f5ff;
    --accent-color: #f0b000;
    --dark-color: #141414;
    --light-color: #f9f6ff;
    --transition-duration: 0.8s;
}

/* Transition fluide pour les étapes */
.wizard>.steps ul li, .wizard>.steps ul li.current {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wizard>.steps ul li.current {
    transform: scale(1.05);
}

.wizard>.steps ul li.done {
    transform: scale(1);
}

/* Animation de la barre de progression */
.wizard>.content {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.wizard>.content>.body {
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animations pour les transitions entre étapes */
.slide-out-left {
    animation: slideOutLeft 0.5s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.slide-in-right {
    animation: slideInRight 0.5s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.slide-out-right {
    animation: slideOutRight 0.5s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.slide-in-left {
    animation: slideInLeft 0.5s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.zoom-in {
    animation: zoomIn 0.5s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in-up {
    animation: fadeInUp 0.7s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Classe pour l'état initial de zoom out */
.zoom-out-initial {
    transform: scale(0.5);
    opacity: 0;
}

/* Classe pour le fallback si l'animation échoue */
.animation-fallback {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animation pour le ripple effect sur les boutons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-40px); opacity: 0; }
}

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

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

@keyframes slideInLeft {
    from { transform: translateX(-60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

/* Animations pour le calendrier et les créneaux */
.day.bookDate {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.day.bookDate:hover {
    transform: scale(1.1);
}

.time-slot-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(20px);
    opacity: 0;
}

.time-slot-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.time-slot-card:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 15px rgba(179, 145, 52, 0.2);
}

/* Animations pour la confirmation */
.booking_recap_text {
    animation: fadeInUp 0.7s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

#btnConfirmBookingRoom {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#btnConfirmBookingRoom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(179, 145, 52, 0.3);
}

/* Animation confetti pour la confirmation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    z-index: 1000;
}

@keyframes confetti-fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(200px) rotate(360deg); opacity: 0; }
}

/* Animation de validation pour le modal de confirmation */
.confirmation-animation {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 20px auto;
}

.confirmation-animation .circle {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: circle-draw 1s ease forwards 0.5s;
}

.confirmation-animation .check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: check-draw 1s ease forwards 1.5s;
}

@keyframes circle-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes check-draw {
    to { stroke-dashoffset: 0; }
}

/* Animation pour les produits du shop */
.option-card {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.option-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Style moderne pour jQuery Steps - Version purement visuelle */

.validation-wizard .steps ul[role="tablist"] li a:hover {
    color: #fff;
}

/* Numéro d'étape */
.validation-wizard .steps ul[role="tablist"] li a .step {
    border-radius: 50%;
    background: #1c1c1c;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Animation au survol */
.validation-wizard .steps ul[role="tablist"] li a:hover .step {
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-color: rgba(240, 176, 0, 0.5);
}

.wizard-content .wizard>.steps>ul>li a {
    position: relative;
    padding-top: 77px;
    margin-top: 5px;
    margin-bottom: 20px;
    display: block;
}

.validation-wizard .steps ul[role="tablist"] li a .step {
    margin-top: 20px;
}

/* Étape active */
.validation-wizard .steps ul[role="tablist"] li.current a {
    color: #f0b000;
}

.validation-wizard .steps ul[role="tablist"] li.current a .step {
    background: linear-gradient(135deg, #b39134, #f0b000);
    color: #000;
    border-color: #f0b000;
    box-shadow: 0 10px 25px rgba(240, 176, 0, 0.4);
}

/* Étape complétée */
.validation-wizard .steps ul[role="tablist"] li.done a {
    color: #5daf50;
}

.validation-wizard .steps ul[role="tablist"] li.done a .step {
    background: linear-gradient(135deg, #5daf50, #75c068);
    color: #fff;
    border-color: #5daf50;
}

/* Étiquette de l'étape */
.validation-wizard .steps ul[role="tablist"] li a span:not(.step) {
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.validation-wizard .steps ul[role="tablist"] li.current a span:not(.step) {
    font-weight: 700;
}

/* Animation de pulsation pour l'étape actuelle */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 176, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(240, 176, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 176, 0, 0);
    }
}

.validation-wizard .steps ul[role="tablist"] li.current a .step {
    animation: pulse-animation 2s infinite;
}

/* Style des boutons */
.validation-wizard .actions ul li a {
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

/* Effet de vague sur les boutons */
.validation-wizard .actions ul li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform-origin: 50% 50%;
}

.validation-wizard .actions ul li a:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        opacity: 0.5;
    }
    20% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

/* Style du bouton Précédent */
.validation-wizard .actions ul li:first-child a {
    background: rgba(255, 255, 255, 0.1);
    color: #f0b000;
    border: 1px solid #f0b000;
}

.validation-wizard .actions ul li:first-child a:hover {
    background: rgba(240, 176, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Style du bouton Suivant */
.validation-wizard .actions ul li:nth-child(2) a {
    background: linear-gradient(135deg, #b39134, #f0b000);
    color: #000;
}

.validation-wizard .actions ul li:nth-child(2) a:hover {
    box-shadow: 0 8px 25px rgba(240, 176, 0, 0.5);
}

/* Style du bouton Terminer */
.validation-wizard .actions ul li:last-child a {
    background: linear-gradient(135deg, #5daf50, #75c068);
    color: #fff;
}

.validation-wizard .actions ul li:last-child a:hover {
    box-shadow: 0 8px 25px rgba(93, 175, 80, 0.5);
}

/* Animation pour la fin de l'étape */
@keyframes stepComplete {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Animation d'apparition */ 
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.validation-wizard section {
    animation: fadeIn 0.8s ease;
}