:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --accent: rgba(255, 255, 255, 0.9);
    --accent-hover: rgba(255, 255, 255, 0.7);
}

.form-step {
    display: none;
    position: relative;
    width: 100%;
    opacity: 0;
    left: 0;
    right: 0;
}

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

.form-step.slide-in-right {
    animation: slideInRight 0.5s forwards;
}

.form-step.slide-in-left {
    animation: slideInLeft 0.5s forwards;
}

.form-step.slide-out-right {
    animation: slideOutRight 0.5s forwards;
}

.form-step.slide-out-left {
    animation: slideOutLeft 0.5s forwards;
}

form {
    position: relative;
    min-height: auto;
    width: 100%;
    overflow: visible;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--glass-bg);
    border-radius: 2px;
    margin: 20px 0 40px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
}

.progress-bar[data-step="1"]::after {
    width: 25%;
}

.progress-bar[data-step="2"]::after {
    width: 50%;
}

.progress-bar[data-step="3"]::after {
    width: 75%;
}

.progress-bar[data-step="4"]::after {
    width: 100%;
}

.step-indicator {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-bottom: 20px;
}

.info-text {
    font-size: 0.95em;
    line-height: 1.6;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-group {
    display: flex;
    gap: 15px;
    align-items: start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.consent-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.step-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.step-buttons button {
    min-width: 150px;
    margin-top: 0;
}

.next-step {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.next-step a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.next-step a:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}


.horaires-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.horaire-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.horaire-group label:first-child {
    min-width: 100px;
}

.horaire-group label {
    min-width: 20px;
}

.horaire-group input[type="time"] {
    flex: 1;
}

/* Style pour les options du select standard */
select option {
    background: rgba(30, 30, 30, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: white !important;
    padding: 12px !important;
}

/* Ajout des préfixes pour les animations */
@-webkit-keyframes slideInRight {
  from { opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%); }
  to { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}

@-webkit-keyframes slideInLeft {
  from { opacity: 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); }
  to { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}

/* Ajout d'un fallback pour backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  select option {
    background: rgba(30, 30, 30, 0.95) !important;
  }
}