* {
    box-sizing: border-box;
}
#logo {
    text-align: center;
    margin-bottom: 20px;
  }
  
  #logo img {
    max-width: 200px;
    height: auto;
  }
body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.containerlogin {
    width: 400px;
    margin: 50px auto;
    padding: 20px;
  }

.form-columns {
    display: flex;
    justify-content: space-between;
  }
  
  .form-column {
    flex-basis: 45%; /* Imposta la larghezza della colonna */
  }
  
  .form-row {
    margin-bottom: 10px;
  }


.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}
.modal-content .form-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.modal-content .form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-content .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.modal-content .form-row label {
    flex-basis: 40%;
    font-weight: bold;
    margin-right: 10px;
}

.modal-content .form-row input[type="text"] {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.modal-content h2 {
    text-align: center;
    margin-top: 0;
}

.close {
    position: absolute;
    top: -15px;
    right: -15px;
    cursor: pointer;
    font-size: 24px;
    color: #aaa;
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #f9f9f9;
    margin: 15px auto;
    padding: 20px;
    border: 1px solid #ddd;
    max-width: 800px; /* Aumentato la larghezza massima */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    color: #333;
    text-align: center;
}

th {
    background-color: #e54c10;
    color: #fff;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f5f5f5;
}

.asc:after {
    content: ' ▲';
}

.desc:after {
    content: ' ▼';
}

#myInput {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Custom styles for Whatsconnect.it */

#header {
    background-color: #e54c10;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

#header h1 {
    margin: 0;
    font-size: 24px;
}

#content {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button[type="submit"] {
    background-color: #e54c10;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #e0690c;
}

.error-message {
    color: red;
    margin-top: 10px;
}

#footer {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

/* Responsive styles */

@media (max-width: 767px) {
    #header h1 {
        font-size: 20px;
    }

    #content {
        padding: 10px;
    }
}

/* Modern styles */

.status-active {
    color: green;
}

.status-inactive {
    color: red;
}

.fade-in {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn{
from {
opacity: 0;
}
to {
opacity: 1;
}
}