/* Barre de progression */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    counter-reset: step;
}

.step {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #ccc;
    text-align: center;
    line-height: 25px;
    color: white;
    font-weight: bold;
    position: relative;
    transition: transform 0.3s ease-in-out, background-color 0.3s;
}

.step.active {
    background-color: #4CAF50;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.step.completed {
    background-color: #27ae60;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sections de formulaire */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Labels et inputs */
form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    font-size: 1.4rem;
    color: #333;
}

form input[type="text"],
form input[type="email"],
form input[type="date"],
form input[type="tel"],
form input[type="time"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Conteneur de boutons */
.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

/* Boutons */
.next-btn,
.prev-btn,
.submit-btn,
.add-week {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.next-btn,
.add-week {
    background-color: #007BFF;
    color: white;
}

.prev-btn {
    background-color: #6c757d;
    color: white;
}

.submit-btn {
    background-color: #28a745;
    color: white;
}

.next-btn:hover,
.prev-btn:hover,
.submit-btn:hover,
.add-week:hover {
    opacity: 0.8;
}

/* Wrapper de formulaire */
.form-wrapper {
    max-width: 100%;
    width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}