.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Styles pour les champs de date personnalisés */
.date-input-wrapper {
    position: relative;
}

.date-input-custom {
    position: relative;
}

/* Masquer le placeholder natif du navigateur pour les champs date */
.date-input-custom::-webkit-datetime-edit-text,
.date-input-custom::-webkit-datetime-edit-month-field,
.date-input-custom::-webkit-datetime-edit-day-field,
.date-input-custom::-webkit-datetime-edit-year-field {
    color: transparent;
}

.date-input-custom::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Quand le champ est vide et en focus, masquer complètement le texte natif */
.date-input-custom:not([value]):focus::-webkit-datetime-edit-text,
.date-input-custom:not([value]):focus::-webkit-datetime-edit-month-field,
.date-input-custom:not([value]):focus::-webkit-datetime-edit-day-field,
.date-input-custom:not([value]):focus::-webkit-datetime-edit-year-field {
    color: transparent;
    background: transparent;
}

/* Pour Firefox */
.date-input-custom::-moz-placeholder {
    color: transparent;
}

/* Pour les autres navigateurs */
.date-input-custom::placeholder {
    color: transparent;
}