/* Styling de base */
/* .form {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    max-height: 80%;
    overflow-y: auto;

} */

body{
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
}
a {
    text-decoration: none;
}
/* .form {
    
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
} */
/* Styling du formulaire */
form {
    background-color: #ffffff;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 15px; /* Espacement entre les éléments */
    margin-bottom: 15px;
}
.plus-icon {
    width: 40px;
    height: 40px;
    position: relative;
  }
  .plusimg{
    width: 100%;
    max-width: 100%;
  }
  
  .plus-icon::before,
  .plus-icon::after {
    content: "";
    position: absolute;
    background: black;
  }
  
  .plus-icon::before {
    width: 100%;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .plus-icon::after {
    height: 100%;
    width: 3px;
    left: 50%;
    transform: translateX(-50%);
  }
  .plus-container {
    width: 60px;  /* Taille du carré */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;  /* Bordure du carré */
    border-radius: 8px; /* Coins arrondis */
  }

/* Styling des champs de texte */
.input-is-large {
    width: 100%;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

/* Effet de focus pour les champs de texte */
.input-is-large:focus {
    border-color: #3b82f6;
    box-shadow: 0px 0px 5px rgba(59, 130, 246, 0.2);
}

/* Styling du bouton */
.input-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 18px;
    color: #ffffff;
    background-color: #3b82f6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Effet de survol pour le bouton */
.input-btn:hover {
    background-color: #2563eb;
}

/* Animation au clic */
.input-btn:active {
    background-color: #1d4ed8;
    transform: scale(0.98);
}
#cameraContainer, #previewContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#cameraContainer video, #previewContainer img {
    width: 100%;
    height: auto;
    max-height: 80%;
}

#captureButton, #validateButton, #retakeButton {
    position: absolute;
    bottom: 50px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: #ff5722;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#validateButton, #retakeButton {
    bottom: 100px;
    width: 120px;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    margin: 10px;
}

#validateButton {
    background-color: #4caf50;
}

#retakeButton {
    background-color: #f44336;
}

#formContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
}
label {
    margin: 10px 0 5px;
}

input {
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#video {
    max-width: 80%;
}

#canvas {
    max-width: 80%;
    display: none;
}


/* Style pour le fond du modal */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Style de l'image dans la pop-up */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
    border-radius: 10px;
}

/* Bouton pour fermer la pop-up */
.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-element{
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

input[type=file] {
    display: none;
}

label span {
padding: 8px 12px;
background: #084cdf;
color: #fff;
cursor: pointer;
}

label span:hover {
background: #0d45a5;
}

.profile-container {
    position: relative;
    margin-bottom: 20px;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #ccc;
}

.photo-menu {
    top: 120px;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    width: 30%;
    min-width: 200px;
}

.menu-item {
    display: flex;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    color: black;
    border-bottom: 1px solid rgb(145, 145, 145);
    border-radius: initial;
    height: 5%;
    align-items: center;
    padding-left: 10px;
}

.menu-item:hover {
    background: #f0f0f0;
}

.menu-item:active {
    background: #e0e0e0;
}

.menu-label-for{
    margin-top:0;
    margin-bottom: 0;
    width: auto;
}