
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* Modificato da flex per stare in linea nella cella */
}

.main-navigation ul li {
    display: inline;
    margin-right: 20px;
}

.main-navigation ul li:last-child {
    margin-right: 0;
}

.main-navigation ul:last-child li { /* Stile specifico per l'ultima ul (Contatti/Login) */
    margin-left: 20px;
    margin-right: 0; /* Rimuove il margin-right per l'ultimo elemento */
}

.main-navigation ul:first-child li:last-child { /* Rimuove il margin-right per l'ultimo elemento di Home/Chi Siamo */
    margin-right: 0;
}

.main-navigation ul a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    position: relative;
    /* display: block; Non necessario se gli <li> sono inline */
}

.main-navigation ul a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #000;
    transition: width 0.3s ease-in-out;
}

.main-navigation ul a:hover::before {
    width: 100%;
}

.initial-space{
    padding-top: 20px;
    margin: 0; /* Rimuovi il margine predefinito del body se necessario */
}

.button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

table.table_users{
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #ccc !important; 
}

td.td_users{
    border: 1px solid #ccc !important;
    padding: 8px !important;
}

.centered-div {
    width: 80%; /* Imposta una larghezza */
    margin-left: auto;
    margin-right: auto;
}

.pagination {
display: flex;
align-items: center;
gap: 5px; /* Spazio tra gli elementi */
font-size: 12px;
}

.current-page {
font-weight: bold;
color: #333;
}

.next-page {
text-decoration: none;
color: blue;
}

.next-page:hover {
text-decoration: underline;
}

.next-page.disabled {
color: #999;
pointer-events: none; /* Rende non cliccabile il testo */
text-decoration: none;
}

.clickable-row {
  cursor: pointer;
}
.clickable-row:hover {
  background-color: #f0f0f0;
}

.td-calendar {
    text-align: center;
    vertical-align: middle;
}

.calendar-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* spazio tra icona e data */
}

.calendar-icon {
    width: 32px;
    cursor: pointer;
}

.calendar-date {
    font-weight: 500;
    white-space: nowrap;
}

.td-center {
    text-align: center;      /* centratura orizzontale */
    vertical-align: middle;  /* centratura verticale */
}

.btn-continue {
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    background-color: #2f80ed;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-continue:hover {
    background-color: #1c6dd0;
}

.repeat-row {
    display: flex;
    align-items: center;   /* allineamento verticale */
    gap: 12px;             /* spazio tra label e input */
}

.repeat-label {
    font-size: 1.2rem;
    font-weight: 600;
}

.repeat-input {
    width: 80px;
}

.field {
    width: 100%;             /* label e input stessa larghezza */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* label allineata all’input */
}

.field label {
    margin-bottom: 6px;
    font-weight: 500;
}

.field input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}

.expired-red {
    background-color: #f8d7da;
    color: #721c24;
    font-weight: 600;
}

.expired-green {
    background-color: #d4edda;
    color: #155724;
    font-weight: 600;
}

.expired-neutral {
    font-weight: 600;
}

tr.td_users_disabled td{
    border: 1px solid #ccc !important;
    padding: 8px !important;
    opacity: 0.4;
    pointer-events: none;
    background-color: #e1e1e1;
}

tr.td_users_green td{
    border: 1px solid #ccc !important;
    padding: 8px !important;
    opacity: 0.4;
    pointer-events: none;
    background-color: #b0f78a;
}


.header-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 60px 20px 40px 20px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    /*padding: 40px 10% 80px 10%;*/
}

.left img {
    max-width: 420px;
    width: 300px;
    height: auto;
}

.right {
    max-width: 550px;
}

.metodo {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #84cc16;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 30px;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    /*margin-bottom: 40px;*/
    color: #555;
}

.section {
    /*min-height: 100vh;*/
    padding: 50px 6%;
    /* verde con gradiente come in immagine */
    /*color: #fff;
    background: radial-gradient(circle at 70% 60%, rgba(255,255,255,0.12), rgba(255,255,255,0) 50%),
                linear-gradient(135deg, #2f5f20 0%, #4a7a22 45%, #3a6a1f 100%);
    position: relative;
    overflow: hidden;*/
    color: #222;          /* testo scuro */
    /*padding: 50px 6%;*/
    background: #ffffff;  /* sfondo bianco */
}

.landing .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 10px;
}

.big {
    font-family: "Playfair Display", serif;
    font-size: 88px;
    /*color: #b7ff2a; /* verde fluo numeri */
    color: #84cc16;
    margin-bottom: 18px;
}

.title {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    margin-bottom: 16px;
}

.desc {
    font-size: 20px;
    line-height: 1.55;
    opacity: 0.95;
    max-width: 420px;
    margin: 0 auto;
}

.bottom_home {
    margin-top: 60px;
    font-size: 22px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 1250px;
}

.landing .wrap{
    max-width: 1400px;
    margin: 0 auto;
}

.grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px 56px;
    padding: 10px 0;
}

.step{
    padding-top: 10px;
}

.step .num{
    font-size: 22px;
    opacity:.95;
    margin-bottom: 10px;
}

.step .line{
    height: 2px;
    width: 100%;
    background: rgba(0, 95, 110, .55); /* linea blu/verde come in screenshot */
    margin-bottom: 18px;
}

.step h3{
    font-family: "Playfair Display", serif;
    font-weight:700;
    font-size: 38px;
    line-height:1.1;
    margin-bottom: 14px;
}

.step p{
    font-size: 22px;
    line-height: 1.6;
    opacity:.95;
    max-width: 640px;
}

.cta{
    margin-left:40px;
    display:inline-block;
    margin-bottom:18px;
    padding:12px 22px;
    border-radius:8px;
    background:#41f0c2; /* verde acqua bottone */
    color:#0b2b1d;
    font-weight:700;
    border:none;
    cursor:pointer;
}

.quote-box{
    margin-top:12px;
    border:2px solid rgba(255,255,255,.55);
    border-radius:12px;
    padding:28px 34px;
    position:relative;
    background:rgba(0,0,0,.10);
}

.quote-mark{
    position:absolute;
    font-family:"Playfair Display",serif;
    font-size:60px;
    color:rgba(0,90,110,.75); /* virgolette blu/verde */
    font-weight:700;
}
.quote-mark.left{left:-10px;top:-22px}
.quote-mark.right{right:-10px;bottom:-28px}

.quote-text{
    font-size:18px;
    line-height:1.7;
    max-width:920px;
    opacity:.95;
    margin-bottom:12px;
}

.quote-author{
    font-size:18px;
    opacity:.95;
    font-style:italic;
    font-weight:600;
}

.center{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:42px 0 0;
    gap:14px;
}

.ring{
    width:320px;height:320px;
    display:grid;
    place-items:center;
    position:relative;
}

.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring .value{
    position:absolute;
    font-family:"Playfair Display",serif;
    font-size:54px;
    font-weight:700;
}

.label{
    font-family:"Playfair Display",serif;
    font-size:28px;
    font-weight:700;
    margin-top:4px;
}

.sub{
    font-size:18px;
    opacity:.95;
}

.bottom_about{
    margin-top:26px;
    font-size:18px;
    opacity:.95;
}

.landing .top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:30px;
    margin-bottom:34px;
}

.landing .top h1{
    font-family:"Playfair Display",serif;
    font-size:64px;
    line-height:1.05;
    font-weight:700;
    max-width:760px;
}

.landing .logo{
    width:220px;
    height:auto;
    margin-top:6px;
    opacity:.95;
}

.icon{
    width:46px;height:46px;
    border-radius:999px;
    background:#1b6b4a;          /* verde scuro tondo */
    display:grid;
    place-items:center;
    margin-bottom:14px;
}

.icon svg{
    width:24px;height:24px;
    stroke:#fff;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.landing .card h3{
    font-family:"Playfair Display",serif;
    font-size:28px;
    line-height:1.15;
    margin-bottom:10px;
    font-weight:700;
    color:#0b1f15;
}

.landing .card p{
    font-size:18px;
    line-height:1.6;
    color:#123325;
    max-width: 320px;
}

.headline{
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 30px;
}

.headline .top{
    font-size: 52px;
    color: #84cc16; /* lime */
    margin-bottom: 8px;
    display:block;
}

.headline .bottom_about{
    font-size: 46px;
    color: #ffffff;
    display:block;
}

.landing .content {
    display: flex;
    align-items: flex-start;
    gap: 46px;
    margin-top: 10px;
    flex-wrap: wrap; /* importante */
}

.image-card {
    flex: 1 1 450px;  /* cresce ma ha base 450px */
    max-width: 550px;
}

.text {
    flex: 1 1 450px;
}

.text h2{
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 14px;
}

.text p{
    font-size: 18px;
    line-height: 1.75;
    opacity: .95;
    margin-bottom: 14px;
}

.text p strong{
    font-weight: 700;
}

.wrap_center{
    max-width:1200px;
    margin:0 auto;
    position:relative; /* sopra lo sfondo */
    display:flex;
    align-items:center;
    gap:60px;
    padding-top: 60px;
}

.topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 28px 6%;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.title_top{
    font-family:"Playfair Display", serif;
    line-height:1.05;
    font-weight:700;
}

.title_top .lime{
    color:#84cc16; /* verde lime come screenshot */
    font-size:56px;
    display:block;
    margin-bottom:6px;
}

.title_top .white{
    color:#fff;
    font-size:52px;
    display:block;
}

.topbar img{
    width:190px;
    height:auto;
    opacity:.95;
}

.wrap_online{
    max-width:1200px;
    margin: 0 auto;
    padding: 42px 6% 70px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 60px;
}

.science{
    min-height:100vh;
    padding:44px 6% 70px;
    color:#fff;
    background:
    radial-gradient(circle at 70% 25%, rgba(255,255,255,.12), rgba(255,255,255,0) 55%),
    linear-gradient(135deg,#2f5f20 0%, #4a7a22 45%, #3a6a1f 100%);
    overflow:hidden;
}

/* Frecce */
.arrows{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 18px 0 18px;
    align-items:center;
}

.arrow{
    height: 86px;
    background: rgba(210, 240, 232, 0.95); /* verde acqua chiaro */
    position: relative;
    border-radius: 6px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

/* punta a destra */
.arrow::after{
    content:"";
    position:absolute;
    right:-28px;
    top:0;
    width:0;height:0;
    border-top:43px solid transparent;
    border-bottom:43px solid transparent;
    border-left:28px solid rgba(210, 240, 232, 0.95);
}

/* rientro a sinistra (taglio) */
.arrow::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:0;height:0;
    border-top:43px solid transparent;
    border-bottom:43px solid transparent;
    border-left:18px solid rgba(0,0,0,0.18);
    transform: translateX(-18px);
}

/* l’ultima non deve avere punta a destra */
.arrow.last::after{ display:none; }

.arrow svg{
    width:36px;height:36px;
    stroke:#1e1e1e;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.9;
}

/* Testi sotto le frecce */
.texts{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.block h3{
    font-family:"Playfair Display",serif;
    font-size:28px;
    font-weight:700;
    margin-bottom:8px;
}

.block p{
    font-size:18px;
    line-height:1.6;
    opacity:.95;
}

.cols{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 10px;
}

.block h2{
    font-family:"Playfair Display",serif;
    font-size:28px;
    font-weight:700;
    margin-bottom:12px;
}

.block p{
    font-size:18px;
    line-height:1.75;
    opacity:.95;
}

.title-flag{
    display: flex;
    align-items: center;
    gap: 16px;
}

.title-flag h1{
    margin: 0;
}

/* Bandiera */
.flag-it{
    width: 30px;
    height: 25px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        #009246 33%,
        #ffffff 33%,
        #ffffff 66%,
        #ce2b37 66%
    );
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


