.table-container {
    overflow-x: auto;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

thead th {
    background-color: #343a40;
    color: #ffffff;
    border: none;
    text-align: center;
}

tbody td {
    background-color: #ffffff;
    border: none;
    text-align: center;
}

tbody tr {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn {
    border-radius: 5px;
}



.table-warning {
    transition: background-color 2.5s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #74ebd5, #9face6);
  }
  
  .login-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
  }
  
  .login-container h2 {
    margin-bottom: 1rem;
  }
  
  input[type="text"],
  input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  button {
    width: 70%;
    padding: 0.8rem;
    background-color: #4e54c8;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  button:hover {
    background-color: #565dff;
  }

  .label-effect {
    position: relative;
    color: #007bff; /* Colore dinamico */
    font-weight: bold;
    font-size: 1.1rem; /* Leggermente più grande per risaltare */
    text-transform: uppercase; /* Testo in maiuscolo per maggiore impatto */
    letter-spacing: 1px; /* Distanza tra le lettere per un effetto elegante */
  }
  
  .linea-sfumata {
    width: 100%; /* La linea occupa tutta la larghezza disponibile */
    height: 2px;
    background: linear-gradient(to right, rgba(0, 123, 255, 0), rgba(0, 123, 255, 1), rgba(0, 123, 255, 0)); /* Linea sfumata */
    margin-top: 5px; /* Distanza tra l'input e la linea */
  }
  

  
    #tabella-record {
        border-collapse: separate;
        border-spacing: 0;
        border: 1px solid #ccc;
        border-radius: 12px;
        overflow: hidden;
    }

    #tabella-record thead tr:first-child th:first-child {
        border-top-left-radius: 12px;
    }

    #tabella-record thead tr:first-child th:last-child {
        border-top-right-radius: 12px;
    }

    #tabella-record tbody tr:last-child td:first-child {
        border-bottom-left-radius: 12px;
    }

    #tabella-record tbody tr:last-child td:last-child {
        border-bottom-right-radius: 12px;
    }


  .stato {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: green;
}
.stato.arancione {
  background-color: orange;
}
.stato.rosso {
  background-color: red;
}
