﻿body {
    font-family: Segoe UI, sans-serif;
    background-color: #f2f2f2;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
}

.input-group {
    margin-bottom: 15px;
}

.label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.info-label{
    text-align:left;
}
.button {
    background-color: #16b9c5;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
}

.result {
    white-space: pre-wrap;
    background-color: #16b9c5;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 20px;
    height: 250px;
    overflow-y: scroll;
}
.hidden-file {
    display: none;
}

.file-upload-group {
    margin-bottom: 20px;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #16b9c5;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

    .custom-file-upload:hover {
        background-color: #16b9c5;
    }

.file-name-label {
    font-style: italic;
    color: #333;
    vertical-align: middle;
}

.navbar {
    background-color: #16b9c5;
    /*background-image: url('Immagini/bannersenato.jpg');*/
    padding: 2px 0px;
    display: flex;
    justify-content: space-between; /* contenitore barra di navigazione*/
    align-items: center;
    width: 100%;
    height: fit-content;
}

    .navbar h4 {
        margin: unset;
        color: white;
    }

.menu {
    display: flex;
    list-style: none;
    padding: 0; /*lista della nav bar*/
    margin: unset;
    text-align: right;
}

    .menu li img {
        height: 30px; /* Imposta un'altezza uniforme */
        vertical-align: middle; /* Allinea verticalmente con il testo */
    }

    .menu li {
        margin: 0 15px;
        display: flex; /*elementi della lista nella navbar*/
        align-items: center;
    }

        .menu li a {
            color: white; /*link dell elemento della lista della navbar*/
            text-decoration: none;
        }

    .menu .active {
        background-color: #9b1818;
        padding: 10px 20px;
        border-radius: 5px; /*elemento della navbar selezioanto*/
        color: white;
    }

.login-form {
    background-color: white;
    width: 50%;
    border-radius: 20px;
    padding: 20px; /*div che contiene il form di login*/
    margin: 0 auto;
    text-align: left;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px; /*div che contiene gli input*/
}

    .input-group label {
        display: block;
        margin-bottom: 5px;
    }

input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd; /*textbox utente del login*/
    border-radius: 5px;
    font-size: 1rem;
}

input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd; /*textbox password del login*/
    border-radius: 5px;
    font-size: 1rem;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #16b9c5;
    color: white; /*bottone di accesso login*/
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

    .login-button:hover {
        background-color: #16b9c5;
    }

.footer {
    padding: 10px, 0, 0, 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: space-between; /*footer con attributi per immagine e lista contatti*/
    align-items: center;
    bottom: 0;
}

    .footer img {
        height: 55px; /*immagine del footer */
        text-align: left;
        margin-top: 5px;
    }

.listfooter {
    list-style: none; /*lista a destra con i contatti nel footer*/
}

.headermenu {
    background-color: #656565; /*header utente*/
    height: fit-content;
    text-align: right;
    opacity: .8;
}

    .headermenu h5 {
        margin: unset; /*colore del header, margin uset perche va in confilitto con lo user agent*/
        color: white;
    }

.headlogout {
    display: inline-flex;
    text-align: right; /*buttonimage per il logout sul header*/
    margin-right: 20px;
    align-items: flex-end;
}

.centerdiv {
    text-align: left; /*allinea la div dei testi*/
}

.imgcenter {
    text-align: center;
}

navbarlogin { /*navbar della pagina di login*/
    /*background-color: #9b1818;*/
    background-image: url('Immagini/banner.jfif');
    padding: 1px 0px;
    justify-content: space-between; /* contenitore barra di navigazione*/
    align-items: center;
    width: 100%;
    height: 120px;
}

.navbarlogin h4 {
    margin: unset;
    color: white;
}

.staccofooter {
    background-color: #16b9c5;
    height: 3px; /*linea rossa sul footer*/
    margin: unset;
}

.containerimageheader {
    background-image: url('immagini/logo-header.png');
    background-repeat: no-repeat;
    background-size: contain;
    /*contenitore dell immagine di header*/
    background-position: center;
    display: flex;
    height: 125px;
}

.confronto{
    text-align:center;
}
.select {
    border-radius: 5px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px; /*fa diventare le combobox tonde*/
    font-size: 1rem;
    width:150px;
}
