/* Stili generali per il form */
.form-section {
    background-color: #f9f5f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.table-custom {
    background-color: #cfc4c4;
    border: 3px solid #c3b7b7;
    border-radius: 2px;
    overflow: hidden;
}

.table-custom th{
    padding: 12px;
    border-bottom: 1px solid #b7b1b1;
}

.table-custom td {
    padding: 12px;
    border-bottom: 1px solid #928c8c;
}
/* colore parte sinistra */
.table-custom th {
    background-color: #e9e4e4;
    color: #565555;
}

.toggle-row {
    background-color: #5b5959;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-row:hover {
    background-color: #fda9a9;
}

.license-section {
    margin-top: 20px;
}

.contract-body {
    display: none;
}

.contract-body a {
    text-decoration: none;
    color: #000000;
}

.contract-body a:hover {
    text-decoration: underline;
}

/* Per eventuali effetti di transizione */
.contract-body {
    transition: display 0.5s ease;
}



/* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


*{

    margin: 0;
    padding: 0;
    font-family: sans-serif;

}
.banner{
    width: 100%;
    height: 100vh;
     background-image: linear-gradient(rgba(0,0,0,0,75),rgba(0,0,0,0.75)); 
    background-size: cover;
    background-position: center;

}

.logo{
    width: 400px;
    cursor: pointer;
    float: right;
  
}

.button213{

width: 200px;
padding: 15px 0;
text-align: center;
margin: 20px 10px;
border-radius: 25px;
font-weight: bold;
border: 2px solid #dcd7e0;
background: transparent;
color: #fff;
cursor: pointer;
position: relative;
overflow: hidden;

}

.span2{
    background: #549ac9;
    height: 100%;
    width: 0%;
    border-radius: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;


}

.button213:hover .span2{
    width: 100%;


}

.button213:hover{
    border: none;


}

.buttonforms{

    width: 50px;
    padding: 4px 5px;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #6b8d7d;
    background: transparent;
    color: #004e27;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    
    }


    .circle-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }
    
    .circle {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: inline-block;
        background-color: rgb(156, 151, 151);
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .circle-green {
        background-color: green;
        animation: pulseGreen 1s infinite; /* Animazione pulsante verde */
        box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.7); /* Ombra verde luminosa */
        transform: scale(1.1) rotate(5deg); /* Effetto di ingrandimento e rotazione */
    }
    
    .circle-red {
        background-color: red;
        animation: pulseRed 1s infinite; /* Animazione pulsante rossa */
        box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.7); /* Ombra rossa luminosa */
        transform: scale(1.1) rotate(-5deg); /* Effetto di ingrandimento e rotazione */
    }
    
  
    .circle:active {
        transform: scale(1); /* Ritorna alla dimensione normale al click */
    }
    
    /* Animazioni di pulsazione */
    @keyframes pulseGreen {
        0% {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.7);
        }
        50% {
            transform: scale(1.2) rotate(5deg);
            box-shadow: 0 0 25px 10px rgba(0, 255, 0, 0.5);
        }
        100% {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.7);
        }
    }
    
    @keyframes pulseRed {
        0% {
            transform: scale(1.1) rotate(-5deg);
            box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.7);
        }
        50% {
            transform: scale(1.2) rotate(-5deg);
            box-shadow: 0 0 25px 10px rgba(255, 0, 0, 0.5);
        }
        100% {
            transform: scale(1.1) rotate(-5deg);
            box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.7);
        }
    }
    
    @keyframes pulseGray {
        0% {
            transform: scale(1.1) rotate(0deg);

        }
        50% {
            transform: scale(1.2) rotate(0deg);

        }
        100% {
            transform: scale(1.1) rotate(0deg);

        }
    }



    .circle-view-only {
        pointer-events: none; /* Disabilita ogni interazione con il mouse */
        cursor: default; /* Cambia il cursore per mostrare che non è cliccabile */
        animation: none; /* Rimuove qualsiasi animazione */
        transform: none; /* Rimuove trasformazioni dinamiche */
        box-shadow: none; /* Nessuna ombra pulsante */
    }
    
    

    .circle-container2 {
        display: flex;
        align-items: left;
        justify-content: left;
        margin-top: 40px;
        pointer-events: none; /* Disabilita tutti gli eventi di puntatore */
         /* (Facoltativo) Aggiunge un effetto visivo per indicare che è disabilitato */
        cursor: not-allowed; /* (Facoltativo) Cambia il cursore per indicare che non è cliccabile */
    }


    .circle {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: inline-block;
    }
    
    .circle-green {
        background-color: green;
    }
    
    .circle-red {
        background-color: red;
    }
    
    .circle-neutral {
        background-color: gray;
    }


/* Animazione per la navbar */
.navbar-nav li {
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.navbar-nav li a {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav li a:hover {
    color: #ffc107 !important;
    transform: scale(1.1);
}

/* Animazione di evidenziazione */
.navbar-nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffc107;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-nav li:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animazione per il toggle */
.navbar-toggler {
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

/* Miglioramento estetico su mobile */
.navbar-nav.flex-column li {
    text-align: center;
    margin-bottom: 10px;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    /* CSS */
.payment-status-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.table-custom {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
    width: 80%;
    text-align: center;
}

.table-custom thead {
    background: linear-gradient(135deg, #4caf50, #81c784);
    color: white;
    font-size: 18px;
}

.table-custom th, .table-custom td {
    padding: 15px;
}

#payment-status {
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;
    position: relative;
}

/* Animations for status */
.status-late {
    color: #ff5252;
    animation: pulseLate 2s infinite;
}

.status-ok {
    color: #4caf50;
    animation: pulseOk 2s infinite;
}

/* Keyframes for animations */
@keyframes pulseLate {
    0%, 100% {
        color: #ff5252;
    }
    50% {
        color: #ff8a80;
    }
}

@keyframes pulseOk {
    0%, 100% {
        color: #4caf50;
    }
    50% {
        color: #66bb6a;
    }
}

.form-rowa {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.col-md-61a {
    flex: 0 0 48%; /* Imposta una larghezza di circa il 48% per le colonne */
}

.card-body a{
    padding: 1rem;
}


.payment-status-containera {
    padding-right: 20px;
}

.notes-containera {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.note-sectiona {
    margin-bottom: 15px;
}

.label-top1a {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.nav-pills .nav-link {
    padding: 5px 10px; /* Riduce lo spazio interno */
    font-size: 14px; /* Riduce la dimensione del testo */
    height: 30px; /* Altezza fissa per uniformare */
    line-height: 20px; /* Centratura verticale */
    white-space: nowrap; /* Evita che il testo vada a capo */
    overflow: hidden;
    text-overflow: ellipsis; /* Testo con "..." se troppo lungo */
    border-radius: 4px; /* Angoli leggermente arrotondati */
    margin-bottom: 5px; /* Distanza tra i tab */
}

.nav-pills .nav-link.active {
    background-color: #007bff;
    color: white;
}


.tab-small {
    padding: 2px !important; /* Riduce lo spazio interno */
    text-align: center;
}
.tab-small a {
    font-size: 12px !important; /* Riduce la dimensione del testo */
    padding: 4px 8px !important; /* Riduce il padding */
    display: inline-block;
}