/*
.download-lead-form {
    max-width: 760px;
}

.download-intro {
    font-size: 16px;
    font-weight: 700;
    color: #002f6c;
    margin-bottom: 30px;
}

.download-choice-title {
    margin: 20px 0 15px;
    font-weight: 700;
}

.download-options .wpcf7-form-control-wrap {
    display: block;
}

.download-options .wpcf7-list-item {
    display: inline-block;
    margin: 0 20px 20px 0;
}

.download-options .wpcf7-list-item label {
    display: block;
    width: 220px;
    min-height: 320px;
    padding: 15px;
    border: 2px solid #d9d9d9;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.download-options .wpcf7-list-item label:hover {
    border-color: #7db928;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.download-options input[type="radio"] {
    display: none;
}

.download-options .wpcf7-list-item-label {
    display: block;
    padding-top: 240px;
    font-size: 22px;
    font-weight: 700;
    color: #003b7a;
}*/

/* Manuale 
.download-options .wpcf7-list-item.first .wpcf7-list-item-label {
    background: url('https://edizioni.simone.it/wp-content/uploads/2026/04/copertina-manuale.jpg') top center / 180px auto no-repeat;
}


.download-options .wpcf7-list-item.last .wpcf7-list-item-label {
    background: url('https://edizioni.simone.it/wp-content/uploads/2026/04/copertina-compendio.jpg') top center / 180px auto no-repeat;
}

.download-options input[type="radio"]:checked + .wpcf7-list-item-label {
    color: #7db928;
}

.download-options .wpcf7-list-item label:has(input[type="radio"]:checked) {
    border-color: #7db928;
    box-shadow: 0 0 0 3px rgba(125,185,40,0.15);
}

.privacy-check {
    display: block;
    margin: 10px 0 20px;
}

.download-lead-form input[type="submit"] {
    background: #9ac43c;
    color: #fff;
    border: 0;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

*/

.download-lead-form {
    max-width: 920px;
    background: #ffffff;
    padding: 32px 32px 32px 0;
}

.download-intro {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    color: #003b7a;
    margin-bottom: 24px;
}

.download-lead-form label {
    font-weight: 600;
    color: #003b7a;
}

.download-lead-form input[type="email"] {
    width: 100%;
    height: 58px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 18px;
    background: #fcfcfc;
    margin-top: 8px;
    margin-bottom: 22px;
}

.download-lead-form input[type="email"]:focus {
    border-color: #7db928;
    outline: none;
    box-shadow: 0 0 0 4px rgba(125, 185, 40, 0.12);
}

.download-choice-title {
    margin: 8px 0 18px;
    font-size: 22px;
    font-weight: 800;
    color: #1f1f1f;
}

.download-options .wpcf7-form-control-wrap {
    display: block;
}

.download-options .wpcf7-list-item {
    display: inline-block;
    margin: 0 18px 18px 0;
}

.download-options .wpcf7-list-item label {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 240px;
    height: 340px;
    padding: 22px 18px 24px;
    border: 2px solid #e2e2e2;
    border-radius: 18px;
    background-color: #ffffff;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.download-options .wpcf7-list-item label:hover {
    transform: translateY(-4px);
    border-color: #7db928;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.download-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.download-options .wpcf7-list-item-label {
    display: block;
    width: 100%;
    padding-top: 215px;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    color: #003b7a;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 170px auto;
}

/* Copertina Manuale */
.download-options .wpcf7-list-item.first .wpcf7-list-item-label {
    background-image: url('https://edizioni.simone.it/wp-content/uploads/2026/04/copertina-manuale.jpg');
}

/* Copertina Compendio */
.download-options .wpcf7-list-item.last .wpcf7-list-item-label {
    background-image: url('https://edizioni.simone.it/wp-content/uploads/2026/04/copertina-compendio.jpg');
}

/* stato selezionato */
.download-options .wpcf7-list-item label:has(input[type="radio"]:checked) {
    border-color: #7db928;
    box-shadow: 0 0 0 4px rgba(125,185,40,0.14), 0 16px 30px rgba(0,0,0,0.10);
    background: linear-gradient(180deg, #ffffff 0%, #f8fff0 100%);
}

.download-options .wpcf7-list-item label:has(input[type="radio"]:checked)::after {
    content: "Selezionato";
    position: absolute;
    top: 14px;
    right: 14px;
    background: #7db928;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.download-options .wpcf7-list-item label:has(input[type="radio"]:checked) .wpcf7-list-item-label {
    color: #5e9f14;
}

.privacy-check {
    display: block;
    margin: 12px 0 24px;
    font-weight: 400;
    color: #1f1f1f;
}

.privacy-check a {
    color: #003b7a;
    text-decoration: underline;
}

.download-lead-form input[type="submit"] {
    background: linear-gradient(180deg, #a7cf45 0%, #84b72b 100%);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 16px 34px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(132,183,43,0);
    transition: all 0.2s ease;
}

.download-lead-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(132,183,43,0.32);
}

.download-lead-form input[type="submit"]:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .download-lead-form {
        padding: 22px;
        border-radius: 14px;
    }

    .download-options .wpcf7-list-item {
        display: block;
        margin: 0 0 16px 0;
    }

    .download-options .wpcf7-list-item label {
        width: 100%;
        height: 290px;
    }

    .download-options .wpcf7-list-item-label {
        padding-top: 180px;
        background-size: 145px auto;
    }

    .download-choice-title {
        font-size: 20px;
    }
}