
:root {
    --primary-color: #0f3f6a;
    --primary-light: #1a5a8a;
    --background-light: #f8f9fa;
}

.header {
    margin-bottom: 50px;
}

.firstbanner {
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 15vh;
}

.firstbanner.backend {
    margin-bottom: 15px;
}

.firstbanner .login_name {
    /*background-color: white;*/
    color: black;
    padding: 5px;
    position: absolute;
    right: 5%;
}

.fa-sign-in {
    opacity: 30%;
}

.footer {
    background-color: #dfdfdf;
    color: white;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;            /* Footer height */
    padding-top: 0.7rem;
}

#principal_container {
    margin: 0 5vw 1em 5vw;
    padding-bottom: 5rem;    /* Footer height che però ho scelto di fare doppio per evitare che le cose si appiccichino*/
}

/* body {
    position: relative;
    min-height: 100vh;
  } */

  #logo {
    max-width: 70vw; 
    height: auto;
    width: auto;
    max-height: 15vh;
  }

  /* Stile del messaggio */
  #success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #4CAF50;
    color: white !important;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
#error-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: red;
    color: white !important;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.notification-badge {
    background-color: red;    /* Colore dello sfondo del badge */
    color: white;             /* Colore del testo */
    padding: 3px 6px;         /* Spaziatura interna */
    width: 20px;              /* Larghezza del badge */
    height: 20px; 
    font-size: 12px;          /* Dimensione del testo */
    border-radius: 50%;       /* Rende il badge circolare */
    position: absolute;       /* Posizionamento assoluto */
    top: -12px;                /* Sposta il badge verso l'alto rispetto al bordo del bottone */
    right: -10px;              /* Sposta il badge verso destra rispetto al bordo del bottone */
    box-shadow: 0 0 3px #333; /* Aggiunge un'ombra per migliorare la visibilità sul bordo del bottone */
}
