
a:disabled, button:disabled {
       /* background-color: #cccccc;*/
        color: #666666;
        cursor: not-allowed; 
        opacity: 0.3; 
    }
.mail {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #555;
}

.dir-container {
    display: flex;
    gap: 20px; 
    
}
.btndir {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #555;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btndir:hover {
    border: 2px solid #555;
}
.btndirsmall {
    padding: 0.4rem 0.2rem !important;
    margin: 0.1rem 0.2rem !important;
    min-width: 35px !important;
    font-size: 13px;

}
.link {
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #555;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0.4rem 0.2rem;
    margin: 0.1rem 0.2rem;
    min-width: 35px;
    font-size: 13px;

}
.btnselected {
   /* border: 2px solid #c2004e;*/
}


.arrow-left::before {
    content: "\2190";
}
.arrow-right::after {
    content: "\2192";
}
.container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
           

}

h1 {
    text-align: center;
    color: #333;
}

.quiz-box {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 900px;
}

.quiz-box p {
    font-size: 18px;
    color: #555;
}

.quiz-box button {
    padding: 10px 10px;
    font-size: 16px;
    color: #555;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.quiz-box button:hover {
    background-color: #e0dbc1;
    box-shadow: inset 0 0 0 5px black;
}

@media (max-width: 700px) {
    .quiz-box {
        flex-direction: column;
    }
}


.wrong-answer {
    background-color: #ff4c4c !important;
    border-color: #ff4c4c;
    color: white;
}



.error-message {
    font-size: 18px;
    text-align: center;
    font-weight: 700;
}

.selected {
    border: 3px solid #c2004e;
}

button {
    font-weight: 700;
}

.redCl {
    color: #c2004e;
}

.greenCl {
    color: #006400;
}


input {
    width: 50%;
    font-size: 15px;
    margin: 0 auto;
}

.no-hover {
    pointer-events: none;
}

.btn1 {
    font-size: 1.2rem;
}

.btnseries {
    display: flex;
    justify-content: space-around;
    gap: 10px;
   
    
}
.even:nth-child(even), tr:nth-child(even) {
    background-color: #f9f9f9;
}

.even:hover, tr:hover {
    background-color: #ddd;
}


.cqc > div:nth-of-type(1), .cqc > div:nth-of-type(2) {
    border-bottom: 1px solid #ddd;
    background-color: white;
}  
.cqc > div:nth-of-type(1) span, .cqc > div:nth-of-type(2) span {
    opacity: 0.2;
    cursor: pointer;
}  
.cqc > div:nth-of-type(1) span:hover, .cqc > div:nth-of-type(2) span:hover {
    opacity: 1;
}
.cqc > div:nth-of-type(3) {
    border-top:2px solid #ddd;
    border-left:2px solid #ddd;   
}


.patC > div:nth-of-type(2) {
    border-top:2px solid #ddd;
    border-right:2px solid #ddd;  
    border-left:2px solid #ddd;  
}
.patC > div:nth-of-type(1), .patC > div:nth-of-type(3) {
    border-bottom:1px solid #ddd;
    background-color: white;
}  
.patC > div:nth-of-type(1) span, .patC > div:nth-of-type(3) span {
    opacity: 0.2;
    cursor: pointer;
}
.patC > div:nth-of-type(1) span:hover, .patC > div:nth-of-type(3) span:hover {
    opacity: 1;
}

.patB > div:nth-of-type(1) {
    border-top:2px solid #ddd;
    border-right:2px solid #ddd;   
}
.patB > div:nth-of-type(2), .patB > div:nth-of-type(3) {
    border-bottom:1px solid #ddd;
    background-color: white;
}  
.patB > div:nth-of-type(2) span, .patB > div:nth-of-type(3) span {
    opacity: 0.2;
    cursor: pointer;
}
.patB > div:nth-of-type(2) span:hover, .patB > div:nth-of-type(3) span:hover {
    opacity: 1;
}


.slt > div {
    width: 33%;
    font-size: 1rem;
    font-weight: 900;
    padding: 20px 0;
}
.slt a {
    color:#343434;
}

.icon {
    width: 24px;
    height: 24px;
    transition: stroke 0.3s;
}

.selected-icon {
    stroke: #D4C200;
    fill: #D4C200;
}

.iconSelected {
    stroke: darkgreen;
    stroke-width: 7;
}
.grid-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 4px; 
    margin: 3rem 0.5rem 1rem 0.5rem;
}

.grid-header {
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: #f6faed;
    color: #343434;
    font-weight: 900;
    padding: 5px;
    text-align: center;
}

.grid-item {
    padding: 5px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 0.9rem;
    color: #6C6464;
    font-weight: 700;
    white-space: nowrap;
}

.grid-cnt {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    align-items: center; 
    padding: 2rem 0;    
}

.grid-cnt > :nth-child(2n-1) {
    text-align: right;
}

.r {
    transform: rotate(180deg);
}
textarea {
    resize: none; 
    border: 2px solid #ccc; 
    outline: none; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}
textarea:focus {
    border-color: #007bff; 
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); 
}

.redButton {
    background-color: #e57373 !important;
    color:white !important;
}

.button {
    position: relative;
    display: block;
}
.button > div {
    display: flex; 
    justify-content: center;
    align-items: center; 
}

.badge {
    position: absolute;
    top: 0; 
    right: 0; 
    background-color: grey;
    color: white;
    border-radius: 50%;
    padding: 3px;
    font-size: 10px;
    border: 1px solid grey;
    transform: translate(20%, -60%);
}

._icons {
    border: 1px solid transparent;
}
._icons:hover {
    border: 1px solid black;
}

.brt {
    border: 1px solid black;
}

input {
    width: 100%;
}
input:focus {
    border: 2px solid #4A90E2; 
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5); 
    outline: none; 
}



/* Contenitore per la select e la label */
.custom-select-wrapper {
    position: relative;
    width: 250px;
    padding: 20px 0;

  }

/* Label fluttuante */
.floating-label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #999;
        font-weight: 900;

    pointer-events: none; /* Non interagisce con il cursore */
    transition: all 0.2s ease;
    line-height: 1;
    background-color: white;
}

/* Stile della select */
.custom-select {
    width: 100%;
    padding: 12px 36px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #333;
    background-color: #f9f9f9;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
}

/* Personalizzazione della freccia */
.custom-select-wrapper::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    pointer-events: none;
}

/* Hover e focus */
.custom-select:hover {
    border-color: #bbb;
    background-color: #f1f1f1;
}

.custom-select:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}
.popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background-color: white;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 70%;
    overflow-y: auto;
}
.close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}
.incassato {
    margin-top: 2rem;
    border: none;               /* Rimuove il bordo di default */
    height: 24px;                /* Altezza della linea */
    background-color: #e0e0e0;  /* Colore di base della linea */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); /* Ombreggiatura interna */
}
         
