﻿.welfare-color {
    color: #AA3337 !important;
}

.welfare-bgcolor {
    background-color: #AA3337 !important;
}

/* Label attiva (focus) */
.input-field input:focus + label,
.input-field textarea:focus + label {
    color: #AA3337 !important;
}

/* Label già attiva (valore presente / autofill / programmatico) */
.input-field label.active {
    color: #AA3337 !important;
}


/* Linea sotto input */
.input-field input:focus,
.input-field textarea:focus {
    border-bottom: 1px solid #AA3337 !important;
    box-shadow: 0 1px 0 0 #AA3337 !important;
}




/* larghezza comune banner + testo */
.page-width {
    max-width: 1280px;
    margin: 0 auto;
    background: #fff;
    padding-left: 24px;
    padding-right: 24px;
}


/* wrapper pagina con bande bianche */
.hero-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 0;
}

/* banner */
.hero-banner {
    position: relative;
}

    /* immagine reale */
    .hero-banner img {
        width: 100%;
        height: auto; /* niente zoom */
        display: block;
    }

/* contenuto sovrapposto */
.hero-content {
    position: absolute;
    left: 40px;
    bottom: 40px;
    color: #fff;
}

    .hero-content h1 {
        font-size: 2.4rem;
        font-weight: 400;
        margin-bottom: 16px;
        color: unset !important;
    }





html, body {
    background-color: #ffffff !important;
}


main,
.page,
.content-article {
    background-color: #ffffff;
}

.container {
    background-color: #ffffff;
}


/* TESTO */
.content-article {
    padding: 32px; /* padding “giusto”, non invasivo */
    line-height: 1.65;
    color: #444;
}


    .content-article strong,
    .content-article b {
        font-weight: 700;
    }



    /* RIPRISTINO LISTE */
    /* Ripristino liste per contenuto legacy (ViewBag.Raw) */
    .content-article ul,
    .content-article ol {
        list-style: revert !important; /* annulla i reset tipo list-style:none */
        list-style-position: outside;
        padding-left: 1.6rem; /* spazio per marker */
        margin: 1.2rem 0 1.6rem 0;
    }

    .content-article ul {
        list-style-type: disc !important;
    }

    .content-article ol {
        list-style-type: decimal !important;
    }

    .content-article li {
        margin: 0.5rem 0;
    }

    /* Se il marker è tagliato da qualche wrapper */
    .content-article,
    .content-article * {
        overflow: visible;
    }

        .content-article ul:not(.browser-default) > li {
            list-style-type: disc;
        }

        .content-article ol:not(.browser-default) > li {
            list-style-type: decimal;
        }

       
 

        /* FORZA SPAZIATURA LISTE – OVERRIDE TOTALE MATERIALIZE */
        .content-article ul.browser-default > li,
        .content-article ol.browser-default > li {
            margin-bottom: 12px !important;
            line-height: 1.6 !important;
        }

        .content-article ul.browser-default,
        .content-article ol.browser-default {
            margin-top: 20px !important;
            margin-bottom: 24px !important;
        }


        .content-article li {
            margin: 1.5rem 25px;
        }

            .content-article li:last-child {
                margin-bottom: 0;
            }


        .content-article a {
            color: #AA3337;
        }


/* Sezione */
.welfare-section {
    margin-top: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-intro {
    /*max-width: 900px;*/
    margin-bottom: 3rem;
    color: #555;
}

/* Card */
.welfare-card {
    height: 100%;
}

    .welfare-card .card-image {
        height: 180px;
        overflow: hidden;
    }

        .welfare-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            mix-blend-mode: multiply;
        }

    /* Titolo card */
    .welfare-card .card-title {
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 0.6rem;
    }

/* Overlay colore (come screenshot) */
/*.color-blue {
    background: #00cfe8;
}

.color-green {
    background: #9be000;
}

.color-yellow {
    background: #ffd400;
}

.color-purple {
    background: #c66ad7;
}

.color-lightgreen {
    background: #3ad65c;
}

.color-red {
    background: #ff005c;
}*/



.welfare-card .card-title {
    font-weight: 600; /* oppure 700 se lo vuoi un pelo più deciso */
}






.welfare-card {
    background-color: #f5f5f5; /* grigio chiaro */
}


.welfare-section .row {
    display: flex;
    flex-wrap: wrap;
}

.welfare-section .col {
    display: flex;
}

.welfare-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .welfare-card .card-content {
        flex-grow: 1;
    }
.faq-collapsible {
    border: none;
    box-shadow: none;
}

    .faq-collapsible .collapsible-header {
        font-weight: 600;
        font-size: 1.05rem;
        padding: 1.6rem;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .faq-collapsible .collapsible-body {
        padding: 1.6rem;
        color: #555;
        border-bottom: 1px solid #eee;
    }

    /* freccia a destra */
    .faq-collapsible .collapsible-header::after {
        content: '›';
        position: absolute;
        right: 24px;
        font-size: 1.6rem;
        transition: transform 0.2s ease;
    }

    .faq-collapsible li.active .collapsible-header::after {
        transform: rotate(90deg);
    }


/* Disattiva i pallini SOLO nelle FAQ */
.content-article .faq-collapsible > li {
    list-style: none !important;
}

    /* sicurezza extra: anche ::marker */
    .content-article .faq-collapsible > li::marker {
        content: none;
    }


    /* Header FAQ */
    .faq-collapsible .collapsible-header {
        background-color: #f5f5f5;
        font-weight: 600;
        padding: 1.2rem 1.6rem;
        border-bottom: 1px solid #e0e0e0;
    }



.auth-section,
.request-section {
    background: #ffffff;
    padding: 0;
}

.section-title {
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.help-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    padding-top: 1.2rem;
}

.btn-welfare {
    background-color: #aa3337;
    padding: 0 2.5rem;
}

    .btn-welfare:hover {
        background-color: #8f2a2d;
    }

/* Sfondo sezione */
/*.request-section {
    background: #f5f5f5;
    padding: 4rem 0;
}*/

/* Card centrale */
.request-card {
    background: #f3f3f3;
    padding: 3rem 3.5rem;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

    /* Input SEMPRE bianchi */
    .request-card .input-field input {
        background: #ffffff !important;
        padding: 0 10px;
        box-sizing: border-box;
    }

        /* Linea input più sobria */
        .request-card .input-field input:not(.browser-default) {
            border-bottom: 1px solid #bbb;
            box-shadow: none;
        }

        /* Focus */
        .request-card .input-field input:focus {
            border-bottom: 2px solid #aa3337 !important;
            box-shadow: none !important;
        }

    /* Label */
    .request-card .input-field label {
        color: #777;
    }

/* Testo descrittivo a destra */
.help-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    padding-top: 1.2rem;
}

.input-field input {
    background-color: #ffffff;
}

.input-field input {
    background-color: #ffffff !important;
}

.request-section .container {
    max-width: 1100px; /* prima era troppo stretto */
    width: 90%;
}

.request-card {
    padding: 2.5rem 3rem; /* prima probabilmente avevi 4rem */
}




.request-card {
    /*background: #ffffff;*/
    padding: 2.5rem 3rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-radius: 14px;
}


    .request-card h3::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: #aa3337;
        margin-top: 0.75rem;
    }

.input-field input {
    background: #fff;
    padding: 0 0.75rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

    .input-field input:focus {
        background: #ffffff !important;
        box-shadow: none !important;
    }


.form-help {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.4;
}

.btn-submit {
    background: #aa3337;
    padding: 0 2.5rem;
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
    font-weight: 500;
}


    .btn-submit:hover {
        background: #922b2f;
    }

.input-field {
    margin-bottom: 2rem;
}


.request-card h3::after {
    content: "";
    display: block;
    width: 100%; /* aumenta la lunghezza */
    height: 3px; /* aumenta lo spessore */
    background: #AA3337;
    margin-top: 12px;
}

.request-card h2 {
    margin-bottom: 2rem;
}


#company-id:focus {
    border-bottom: 1px solid #AA3337 !important;
    box-shadow: 0 1px 0 0 #AA3337 !important;
}


input.input-validation-error {
    border-bottom: 1px solid #d32f2f !important;
    box-shadow: 0 1px 0 0 #d32f2f !important;
}

.field-validation-error {
    font-size: 0.85rem;
    color: #d32f2f;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
}
