body {
    font-family:'Google Sans';
}

/* Valeur affichée dans le select */
.select2-container--default .select2-selection__rendered {
    font-family: 'Google Sans';
    font-size: 1rem;
}

/* Options dans le menu déroulant */
.select2-container--default .select2-results__option {
    font-family: 'Google Sans';
    font-size: 1rem;
}


h1 {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Conteneur des aperçus */
#photoPreviewRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Wrapper d'une photo */
.photo-preview-wrapper {
    position: relative;
    width: 150px;
    height: 100px;
}

/* Aperçu d'une photo */
.photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Bouton pour choisir un fichier */
.photo-btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    margin-right: 5px;
}

.photo-btn:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* Bouton de suppression sur chaque photo */
.photo-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-weight: bold;
    color: red;
    line-height: 16px;
    text-align: center;
    padding: 0;
}

/* Overlay plein écran pour agrandir les images */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.photo-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}





.select2-container .select2-selection--single {
    height: 38px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    display: flex;
    align-items: center;
}

.select2-selection__arrow {
    height: 38px !important;
}

.select2-container--default .select2-selection--single
.select2-selection__rendered {
    line-height: 26px;
    padding-left: 0;
}

.select2-dropdown {
    border-radius: 6px;
}

/* Couleur du texte des listes asso - sous asso - conducteur */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #3f4347; 
}




/* LOGO DE LA VILLE DE BOLBEC DANS LE FORMULAIRE */

.logo {
    max-height: 28px;      /* téléphone */
}

@media (min-width: 576px) {
    .logo {
        max-height: 36px;  /* grands téléphones */
    }
}

@media (min-width: 768px) {
    .logo {
        max-height: 60px;  /* tablette / laptop */
    }
}

@media (min-width: 1200px) {
    .logo {
        max-height: 80px;  /* grands écrans */
    }
}
