body{
    background:#f4f7fb;
}

/* BACHECA */

.tia-board{
    max-width:1180px;
    margin:40px auto;
    padding:0 18px;
}

.tia-search-hero{
    background:#fff;
    border-radius:28px;
    padding:50px;
    margin-bottom:30px;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
}

.tia-mini{
    display:inline-block;
    padding:8px 16px;
    background:#edf4ff;
    color:#2563eb;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    margin-bottom:18px;
}

.tia-search-hero h2{
    font-size:44px;
    line-height:1.1;
    margin:0 0 14px;
    color:#0f172a;
}

.tia-search-hero p{
    font-size:17px;
    color:#64748b;
    max-width:760px;
}

.tia-search-bar{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:14px;
    margin-top:28px;
}

.tia-search-bar input,
.tia-search-bar select{
    height:58px;
    border:0;
    background:#f8fafc;
    border-radius:16px;
    padding:0 18px;
    font-size:15px;
}

.tia-search-bar button{
    height:58px;
    border:0;
    border-radius:16px;
    background:#2563eb;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

/* CARD */

.tia-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:26px;
}

.tia-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.tia-card-top{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:20px;
}

.tia-avatar-clean{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#eff6ff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.tia-avatar-dot{
    width:16px;
    height:16px;
    border-radius:50%;
    background:#2563eb;
}

.tia-head{
    flex:1;
}

.tia-prof{
    display:inline-block;
    font-size:13px;
    font-weight:700;
    color:#2563eb;
    margin-bottom:6px;
}

.tia-card h3{
    margin:0;
    font-size:24px;
    color:#0f172a;
}

.tia-loc{
    color:#64748b;
    font-size:14px;
    margin-top:5px;
}

.tia-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.tia-meta span{
    background:#f1f5f9;
    padding:8px 12px;
    border-radius:12px;
    font-size:13px;
    font-weight:600;
}

.tia-desc{
    font-size:15px;
    line-height:1.7;
    color:#475569;
    margin-bottom:25px;
}

.tia-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:18px;
    border-top:1px solid #e2e8f0;
}

.tia-mail{
    font-size:14px;
    color:#64748b;
}

.tia-contact-btn{
    border:0;
    background:#2563eb;
    color:#fff;
    padding:12px 18px;
    border-radius:14px;
    font-weight:700;
    cursor:pointer;
}

.tia-empty{
    grid-column:1/-1;
    background:#fff;
    padding:24px;
    border-radius:18px;
    color:#64748b;
}

/* FORM */

.tia-form-wrap{
    max-width:520px;
    margin:40px auto;
    padding:0;
}

.tia-form-box{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    border:1px solid #f0f0f0;
}

.tia-form-box h2{
    text-align:center;
    margin-bottom:25px;
    font-size:26px;
    font-weight:700;
    color:#007aff;
}

.tia-form-grid{
    display:block;
}

.tia-form-grid input,
.tia-form-grid select,
.tia-form-grid textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #d0d0d0;
    border-radius:10px;
    margin-top:5px;
    margin-bottom:14px;
    font-size:15px;
    background:#fafafa;
}

.tia-form-grid textarea{
    height:130px;
    resize:vertical;
}

.tia-check-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    margin:8px 0 14px;
    padding:0;
    background:transparent;
    border:0;
}

.tia-check-wrap label{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    color:#001344;
}

.tia-check-wrap input[type="checkbox"]{
    width:16px;
    height:16px;
    margin:0;
}

.tia-submit{
    margin-top:18px;
    width:100%;
    padding:15px;
    height:auto;
    background:#007aff;
    color:#fff;
    font-size:18px;
    border-radius:12px;
    border:0;
    cursor:pointer;
    font-weight:600;
}

.tia-submit:hover{
    background:#005fcc;
}

.tia-success{
    max-width:520px;
    margin:20px auto;
    background:#dcfce7;
    color:#166534;
    padding:18px;
    border-radius:16px;
    font-weight:700;
}

/* POPUP */

#contattaBox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.65);
    z-index:999999;
    justify-content:center;
    align-items:center;
}

#contattaInner{
    width:430px;
    max-width:92vw;
    background:#fff;
    padding:28px;
    border-radius:22px;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
}

#contattaInner h3{
    margin:0 0 20px;
    color:#0f172a;
    font-size:24px;
}

#contattaInner label{
    display:block;
    margin:12px 0 6px;
    font-size:14px;
    font-weight:600;
    color:#334155;
}

#contattaInner input,
#contattaInner textarea{
    width:100%;
    border:1px solid #d0d7e2;
    border-radius:12px;
    padding:12px;
    background:#f8fafc;
    font-size:15px;
}

#contattaInner textarea{
    height:120px;
    resize:vertical;
}

#contattaInner button{
    width:100%;
    margin-top:18px;
    padding:14px;
    border:0;
    border-radius:14px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

/* MOBILE DEFINITIVO */

@media(max-width:768px){

    body{
        background:#f6f8fb;
    }

    .tia-board{
        max-width:100%;
        margin:18px auto;
        padding:0 14px;
    }

    .tia-search-hero{
        padding:24px 18px;
        border-radius:20px;
        margin-bottom:20px;
    }

    .tia-mini{
        font-size:11px;
        padding:6px 12px;
        margin-bottom:12px;
    }

    .tia-search-hero h2{
        font-size:28px;
        line-height:1.15;
        margin:8px 0 10px;
    }

    .tia-search-hero p{
        font-size:15px;
        line-height:1.55;
    }

    .tia-search-bar{
        grid-template-columns:1fr;
        gap:10px;
        margin-top:20px;
    }

    .tia-search-bar input,
    .tia-search-bar select,
    .tia-search-bar button{
        width:100%;
        height:52px;
        border-radius:14px;
        padding:0 14px;
        font-size:15px;
        box-sizing:border-box;
    }

    .tia-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .tia-card{
        border-radius:20px;
        padding:20px;
    }

    .tia-card-top{
        align-items:flex-start;
        gap:12px;
        margin-bottom:14px;
    }

    .tia-avatar-clean{
        width:38px;
        height:38px;
        min-width:38px;
    }

    .tia-avatar-dot{
        width:12px;
        height:12px;
    }

    .tia-card h3{
        font-size:22px;
        line-height:1.2;
    }

    .tia-prof{
        font-size:12px;
        margin-bottom:4px;
    }

    .tia-loc{
        font-size:13px;
    }

    .tia-meta{
        gap:8px;
        margin:12px 0 14px;
    }

    .tia-meta span{
        padding:7px 10px;
        border-radius:10px;
        font-size:12px;
    }

    .tia-desc{
        font-size:14px;
        line-height:1.6;
        margin-bottom:18px;
    }

    .tia-bottom{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }

    .tia-mail{
        font-size:13px;
    }

    .tia-contact-btn{
        width:100%;
        height:48px;
        border-radius:14px;
        font-size:15px;
    }

    .tia-form-wrap{
        max-width:none;
        margin:24px auto;
        padding:0 14px;
    }

    .tia-form-box{
        padding:22px;
        border-radius:20px;
    }

    .tia-form-box h2{
        font-size:25px;
        margin-bottom:20px;
    }

    .tia-form-grid input,
    .tia-form-grid select,
    .tia-form-grid textarea{
        font-size:15px;
        margin-bottom:12px;
    }

    .tia-form-grid textarea{
        height:120px;
    }

    .tia-check-wrap{
        gap:8px;
        margin-bottom:12px;
    }

    .tia-check-wrap label{
        width:100%;
        padding:8px 0;
        font-size:14px;
    }

    .tia-submit{
        height:52px;
        border-radius:14px;
        font-size:16px;
    }
}
.tia-form-intro{
    font-size:15px;
    line-height:1.6;
    color:#64748b;
    text-align:center;
    margin:-10px 0 24px;
}
/* BOX INTRODUTTIVO BACHECA */

.tia-info-hero{
    background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
    border:1px solid #dbeafe;
    border-radius:28px;
    padding:42px 46px;
    margin-bottom:26px;
    box-shadow:0 12px 38px rgba(37,99,235,.08);
}

.tia-info-content{
    max-width:920px;
}

.tia-info-hero h2{
    font-size:42px;
    line-height:1.12;
    margin:0 0 16px;
    color:#0f172a;
}

.tia-info-hero p{
    font-size:17px;
    line-height:1.7;
    color:#475569;
    max-width:880px;
    margin:0 0 12px;
}

.tia-info-hero strong{
    color:#0f172a;
}

.tia-info-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

.tia-info-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 22px;
    border-radius:16px;
    font-weight:800;
    text-decoration:none;
    line-height:1.2;
}

.tia-info-primary{
    background:#2563eb;
    color:#fff;
    box-shadow:0 10px 25px rgba(37,99,235,.22);
}

.tia-info-primary:hover{
    color:#fff;
    background:#1d4ed8;
}

.tia-info-secondary{
    background:#eef4ff;
    color:#1e40af;
}

.tia-info-secondary:hover{
    color:#1e40af;
    background:#dbeafe;
}

@media(max-width:768px){
    .tia-info-hero{
        padding:24px 18px;
        border-radius:20px;
        margin-bottom:18px;
    }

    .tia-info-hero h2{
        font-size:29px;
        line-height:1.16;
        margin-bottom:12px;
    }

    .tia-info-hero p{
        font-size:15px;
        line-height:1.6;
    }

    .tia-info-actions{
        flex-direction:column;
        gap:10px;
        margin-top:20px;
    }

    .tia-info-actions a{
        width:100%;
        min-height:50px;
        box-sizing:border-box;
    }
}

.tia-privacy-note{
    margin:2px 0 14px;
    padding:12px 14px;
    border-radius:14px;
    background:#eff6ff;
    color:#1e3a8a;
    font-size:13px;
    line-height:1.45;
    font-weight:600;
}

/* =========================================================
   TIASSISTO JOB BOARD - UI PRO 2026
   Migliorie estetiche sicure: non cambia la logica del plugin
========================================================= */

:root{
    --tia-blue:#2563eb;
    --tia-blue-dark:#1e40af;
    --tia-navy:#071543;
    --tia-text:#475569;
    --tia-soft:#f8fbff;
    --tia-border:#dbeafe;
    --tia-green:#16a34a;
    --tia-shadow:0 18px 55px rgba(15,23,42,.08);
}

.tia-board,
.tia-form-wrap,
#contattaInner{
    font-family:inherit;
}

.tia-board{
    margin-top:34px;
}

.tia-info-hero,
.tia-search-hero,
.tia-card,
.tia-form-box,
#contattaInner{
    position:relative;
    overflow:hidden;
}

.tia-info-hero:before,
.tia-search-hero:before,
.tia-form-box:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,var(--tia-blue),#60a5fa,#93c5fd);
}

.tia-info-hero{
    background:
        radial-gradient(circle at top right,rgba(37,99,235,.12),transparent 34%),
        linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
    border:1px solid var(--tia-border);
    box-shadow:var(--tia-shadow);
}

.tia-info-hero h2,
.tia-search-hero h2{
    letter-spacing:-.035em;
    color:var(--tia-navy);
}

.tia-info-hero p,
.tia-search-hero p,
.tia-form-intro{
    color:#53627f;
}

.tia-mini{
    background:linear-gradient(135deg,#eef6ff,#e7f0ff);
    color:var(--tia-blue-dark);
    border:1px solid #d7e7ff;
    box-shadow:0 8px 18px rgba(37,99,235,.08);
    letter-spacing:.01em;
}

.tia-hero-points,
.tia-search-benefits,
.tia-form-trust{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}

.tia-hero-points span,
.tia-search-benefits span,
.tia-form-trust span{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #dbeafe;
    color:#18335f;
    font-size:13px;
    font-weight:800;
    box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.tia-info-actions a,
.tia-search-bar button,
.tia-contact-btn,
.tia-submit,
#contattaInner button{
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tia-info-actions a:hover,
.tia-search-bar button:hover,
.tia-contact-btn:hover,
.tia-submit:hover,
#contattaInner button:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 30px rgba(37,99,235,.22);
}

.tia-info-primary,
.tia-search-bar button,
.tia-contact-btn,
.tia-submit,
#contattaInner button{
    background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;
    color:#fff!important;
}

.tia-info-secondary{
    background:#eef4ff;
    border:1px solid #dbeafe;
}

.tia-search-hero{
    background:
        radial-gradient(circle at top left,rgba(37,99,235,.08),transparent 28%),
        #fff;
    border:1px solid #eef4ff;
    box-shadow:var(--tia-shadow);
}

.tia-search-bar input,
.tia-search-bar select,
.tia-form-grid input,
.tia-form-grid select,
.tia-form-grid textarea,
#contattaInner input,
#contattaInner textarea{
    border:1px solid #dbe5f5!important;
    background:#f8fbff!important;
    color:#071543;
    outline:none;
    transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tia-search-bar input:focus,
.tia-search-bar select:focus,
.tia-form-grid input:focus,
.tia-form-grid select:focus,
.tia-form-grid textarea:focus,
#contattaInner input:focus,
#contattaInner textarea:focus{
    border-color:#93c5fd!important;
    background:#fff!important;
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.tia-grid{
    align-items:stretch;
}

.tia-card{
    border:1px solid #e5eefc;
    box-shadow:0 16px 45px rgba(15,23,42,.06);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tia-card:hover{
    transform:translateY(-3px);
    box-shadow:0 22px 60px rgba(15,23,42,.10);
    border-color:#bfdbfe;
}

.tia-avatar-clean{
    background:linear-gradient(135deg,#eff6ff,#dbeafe);
    border:1px solid #bfdbfe;
    box-shadow:inset 0 0 0 6px rgba(255,255,255,.55);
}

.tia-avatar-dot{
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    box-shadow:0 0 0 6px rgba(37,99,235,.10);
}

.tia-card-badges{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
    margin-bottom:6px;
}

.tia-prof{
    margin-bottom:0;
    text-transform:none;
    letter-spacing:.02em;
}

.tia-badge-hot,
.tia-meta-hot{
    background:#dcfce7!important;
    color:#166534!important;
    border:1px solid #bbf7d0;
}

.tia-badge-hot{
    display:inline-flex;
    align-items:center;
    padding:5px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
}

.tia-card h3{
    color:var(--tia-navy);
    letter-spacing:-.02em;
}

.tia-meta span{
    background:#f3f7fc;
    color:#18335f;
    border:1px solid #e5eefc;
}

.tia-desc{
    color:#53627f;
}

.tia-bottom{
    border-top:1px solid #eaf1fb;
}

.tia-contact-btn{
    width:100%;
    min-height:48px;
}

.tia-empty{
    border:1px dashed #bfdbfe;
    background:linear-gradient(135deg,#fff,#f8fbff);
    text-align:center;
    font-weight:700;
}

.tia-form-wrap{
    max-width:620px;
}

.tia-form-box{
    border:1px solid #dbeafe;
    border-radius:28px;
    padding:36px;
    box-shadow:var(--tia-shadow);
    background:
        radial-gradient(circle at top right,rgba(37,99,235,.09),transparent 30%),
        #fff;
}

.tia-form-box h2{
    color:var(--tia-blue)!important;
    font-size:30px;
    letter-spacing:-.025em;
    margin-bottom:10px;
}

.tia-form-intro{
    max-width:520px;
    margin:0 auto 18px;
}

.tia-form-trust{
    justify-content:center;
    margin:0 0 22px;
}

.tia-section-title{
    margin:18px 0 10px;
    padding-top:8px;
    color:var(--tia-navy);
    font-size:14px;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
}

.tia-privacy-note{
    margin:8px 0 0;
    padding:12px 14px;
    border:1px solid #dbeafe;
    background:#f8fbff;
    color:#40516f;
    border-radius:14px;
    font-size:13px;
    line-height:1.55;
}

.tia-antibot-box{
    padding:14px;
    border-radius:16px;
    background:#f8fbff;
    border:1px solid #dbeafe;
    margin-top:4px;
}

.tia-antibot-box label{
    display:block;
    font-size:13px;
    font-weight:800;
    color:#18335f;
    margin-bottom:6px;
}

.tia-success{
    border:1px solid #bbf7d0;
    box-shadow:0 12px 28px rgba(22,101,52,.08);
}

.tia-error{
    background:#fee2e2!important;
    color:#991b1b!important;
    border-color:#fecaca!important;
}

#contattaBox{
    backdrop-filter:blur(7px);
}

#contattaInner{
    border:1px solid #dbeafe;
    box-shadow:0 30px 80px rgba(15,23,42,.28);
}

#contattaInner h3{
    color:var(--tia-navy);
    letter-spacing:-.02em;
    margin-bottom:6px;
}

.tia-modal-sub{
    margin:0 0 18px;
    color:#64748b;
    line-height:1.55;
    font-size:14px;
}

@media(max-width:768px){
    .tia-hero-points,
    .tia-search-benefits,
    .tia-form-trust{
        gap:8px;
    }

    .tia-hero-points span,
    .tia-search-benefits span,
    .tia-form-trust span{
        font-size:12px;
        min-height:30px;
        padding:6px 10px;
    }

    .tia-info-actions a{
        width:100%;
    }

    .tia-form-box{
        padding:24px 20px;
        border-radius:22px;
    }

    .tia-form-box h2{
        font-size:28px;
    }

    .tia-privacy-note{
        font-size:12px;
    }
}


/* PROFILO COMPLETO ESPANDIBILE - BACHECA LAVORO */
.tia-desc{
    position:relative;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    border:1px solid #e6eefc;
    border-radius:18px;
    padding:16px 16px 14px;
    font-size:15px;
    line-height:1.75;
    color:#475569;
    margin:18px 0 22px;
}

.tia-desc-preview,
.tia-desc-full{
    color:#475569;
}

.tia-desc-full{
    white-space:normal;
}

.tia-profile-more{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin-top:12px;
    padding:9px 13px;
    border:1px solid #bfdbfe;
    border-radius:999px;
    background:#eff6ff;
    color:#1453d9;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    transition:all .18s ease;
}

.tia-profile-more::after{
    content:'↓';
    font-size:13px;
    line-height:1;
}

.tia-profile-more[aria-expanded="true"]::after{
    content:'↑';
}

.tia-profile-more:hover{
    background:#dbeafe;
    border-color:#93c5fd;
    transform:translateY(-1px);
}

.tia-card:has(.tia-profile-more[aria-expanded="true"]){
    box-shadow:0 18px 45px rgba(37,99,235,.10);
}
