﻿.container--mid {
    max-width: 80% !important;
    margin: 0 auto;
}

.accesso-servizi {
    color: #12356D;
}

.title-icon,
.access-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eef6ff;
    color: #006ee6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.accesso-servizi h2 {
    font-weight: 800;
    color: #12356D;
}

.info-box {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 32px 40px;
    border: 1px solid #cfe2ff;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
    overflow: hidden;
}

.info-icon {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #006ee6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.info-box p {
    max-width: 720px;
    line-height: 1.8;
    font-weight: 500;
}

.info-bg-icon {
    position: absolute;
    right: 45px;
    bottom: 25px;
    font-size: 110px;
    color: rgba(0,110,230,.10);
}

.access-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.access-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

    .access-item p {
        margin: 0;
        padding-top: 8px;
        max-width: 850px;
        line-height: 1.7;
        font-weight: 600;
    }

@media (max-width: 768px) {
    .info-box {
        padding: 24px;
    }

    .info-bg-icon {
        display: none;
    }

    .access-item {
        gap: 16px;
    }
}


.info-carousel-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(18, 53, 109, 0.12);
    border: 1px solid #dbeafe;
    width: 100%;
    padding: 0;
    height: 420px;
    overflow: hidden;
}


#infoAccessCarousel,
#infoAccessCarousel .carousel-inner,
#infoAccessCarousel .carousel-item {
    width: 100%;
    height: 420px;
}

.carousel-item {
    transition: transform 1s ease;
}

.info-slide {
    width: 100%;
    height: 420px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

#infoAccessCarousel .carousel-item {
    transition: transform .6s ease-in-out;
}


.access-img-big {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-control-prev {
    left: 8px;
}

.carousel-control-next {
    right: 8px;
}

.info-slide p {
    margin: 0;
    font-weight: 700;
    color: #12356D;
    line-height: 1.35;
}

.access-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eef3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .access-icon .icon {
        width: 28px;
        height: 28px;
        fill: #006ee6;
    }

.carousel-side-img {
    max-width: 100%;
    max-height: 260px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 35px;
    color: #006ee6;
    font-size: 38px;
    text-decoration: none;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        color: #004fba;
        text-decoration: none;
    }


.carousel-item > .info-slide {
    margin: 0;
}

.access-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eef3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.access-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.access-icon {
    width: 80px;
    height: 80px;
}

.access-img {
    width: 50px;
    height: 50px;
}

.login-panel {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid #d7e7fb;
    box-shadow: 0 16px 40px rgba(18, 53, 109, 0.12);
    overflow: hidden;
}

    .login-panel .nav-tabs {
        border: 0;
        background: #f3f8ff;
        padding: 10px;
        display: flex;
        gap: 10px;
    }

        .login-panel .nav-tabs .nav-item {
            flex: 1;
        }

        .login-panel .nav-tabs .nav-link {
            width: 100%;
            border: 0;
            border-radius: 14px;
            color: #12356D;
            font-weight: 700;
            text-align: center;
            padding: 13px 20px;
        }

            .login-panel .nav-tabs .nav-link.active {
                background: #0072E5;
                color: #ffffff;
                box-shadow: 0 8px 18px rgba(0, 114, 229, 0.28);
            }

    .login-panel .tab-content {
        padding: 35px 45px;
        min-height: 390px;
    }

.tab-centered-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}



/*Gestione dei bottoni SPID e CIE*/

.spid-disabled {
    pointer-events: none;
    opacity: .5;
    cursor: not-allowed;
}

.cie-disabled {
    pointer-events: none;
    opacity: .5;
    cursor: not-allowed;
}





/*SPID*/

.spid-consenso {
    width: 183px;
    margin: 10px auto 0;
    text-align: left;
}

.spid-link {
    display: block;
    margin-bottom: 10px;
    white-space: nowrap;
}

.spid-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

    .spid-checkbox input {
        margin: 3px 0 0 0;
        flex-shrink: 0;
    }

    .spid-checkbox label {
        margin: 0 !important;
        width: auto !important;
        display: block !important;
        line-height: 1.25;
        text-align: left;
    }

#chkPresaVisione {
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
}

/*CIE*/
#chkPresaVisione1 {
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
}




.cie-consenso {
    display: inline-block;
    width: 220px; /* invece dei 180-190px */
    text-align: left;
    margin-top: 10px;
}

.cie-link {
    display: block;
    margin-bottom: 10px;
    white-space: normal;
    line-height: 1.3;
    font-size: .95rem;
}

.cie-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

    .cie-checkbox input {
        margin-top: 3px;
        flex-shrink: 0;
        transform: scale(1.2);
    }

    .cie-checkbox label {
        display: block !important;
        margin: 0 !important;
        width: auto !important;
        line-height: 1.25;
        font-weight: 600;
        color: #17324d;
    }

.cie-label {
    display: inline-block;
    margin-left: 8px;
    color: #17324d;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
}




/*PANNELLO AVVISO*/
.avviso-importante-login {
    width: 100%;
    margin-bottom: 30px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff3cd;
    border: 2px solid #ffca2c;
    border-left: 10px solid #d9363e;
    border-radius: 16px;
    color: #5c4800;
    box-shadow: 0 8px 22px rgba(18, 53, 109, 0.10);
}

.avviso-icona-login {
    width: 90px;
    height: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9363e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
}

.avviso-contenuto-login {
    font-size: 21px;
    line-height: 1.5;
    font-weight: normal;
}

.avviso-titolo-login {
    margin-bottom: 5px;
    color: #b42318;
    font-size: 27px;
    font-weight: 800;
}

@media (max-width: 768px) {

    .avviso-importante-login {
        padding: 18px;
        gap: 15px;
    }

    .avviso-icona-login {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 42px;
    }

    .avviso-contenuto-login {
        font-size: 17px;
    }

    .avviso-titolo-login {
        font-size: 20px;
    }
}