/* Styles globaux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
    color: #333;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 20px;
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
}

.form-container {
    background-color: #f2f4ff;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.dropdown select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fef3c7;
    cursor: pointer;
    appearance: none; /* Supprimer les styles natifs */
}

.dropdown select:hover {
    border-color: #facc15;
}

.confirm-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #f87171;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
   
}

.confirm-btn:hover {
    background-color: #ef4444;
}

.footer-text {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.back-button {
    background-color: #ef4444;
    color: white;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    bottom: 10%;
    left: 5%;
    position: relative;
   top: 70px;

}

.back-button::before {
    content: "←";
}

/* Styles responsives */
@media (max-width: 768px) {
    .form-container {
        padding: 15px 20px;
    }

    h1 {
        font-size: 20px;
    }

    .back-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
/* 
POP UP */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

.popup.hidden {
    display: none;
}

.close-popup-btn {
    background-color: #f87171;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.close-popup-btn:hover {
    background-color: #ef4444;
}
