.form-select {
    font-size: 1em;
}

ul.dropdown-menu {
    background-color: #292c37;
    margin-top: -3px !important;
    border-radius: 0;
}

ul.dropdown-menu li {
    background-color: #292c37;
    color: white;
}

nav ul li {
    margin-right: 10px;
}

.select2 {
    width: 100% !important;
}

/* Disabled Select2 widget styling */
.select2-container .select2-selection.disabled {
    background-color: #e9ecef !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

.select2-container .select2-selection.disabled .select2-selection__rendered {
    color: #6c757d !important;
}

.select2-container .select2-selection.disabled .select2-selection__arrow {
    opacity: 0.5 !important;
}

.gcf-big-text,
.bootstrap5-form label,
.bootstrap5-form input,
.bootstrap5-form select,
.bootstrap5-form textarea,
.bootstrap5-form button {
    font-size: 1.2rem !important;
}

/* 
OVERRIDE PER RIMUOVERE I BORDI VERDI AI CAMPI CHE PASSANO LA VALIDAZIONE LATO CLIENT, 
SENZA PERÒ RIMUOVERE IL BORDO AI CAMPI EVIDENZIATI, CHE SONO NECESSARI 
PER IL COMPLETAMENTO DELLA PROCEDURA.
*/
.form-control.is-valid:not(.border-warning),
.was-validated .form-control:valid:not(.border-warning) {
    border-color: #ced4da !important;
}

/* 
OVERRIDE PER RIMUOVERE LA TICK VERDE DAI CAMPI CHE PASSANO LA VALIDAZIONE LATO CLIENT.
*/
.form-control.is-valid,
.was-validated .form-control:valid {
    background-image: none !important;
}

/* 
Ensure Select2 search input (typed text inside dropdown) is visible.
The default theme was rendering the text as white on a light background.
*/
.select2-container--bootstrap-5 .select2-search__field,
.select2-container--bootstrap-5 .select2-dropdown .select2-search__field {
    color: #000 !important;              /* dark, readable text */
    background-color: #fff !important;   /* keep a light background */
}

/* Also ensure selected tags text is readable */
.select2-container--bootstrap-5 .select2-selection__rendered {
    color: #000 !important;
}

/* Ensure native browser rendering (and icons) for date/time inputs */
input[type="date"].form-control,
input[type="time"].form-control {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
}