/* Overlay */

#cf7-popup-overlay{
    position:fixed;
    inset:0;

    display:none;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.45);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);

    z-index:999999;
}

#cf7-popup-overlay.show{
    display:flex;
}


/* Popup */

.cf7-popup{

    position:relative;

    width:420px;
    max-width:90%;

    background:#fff;

    border-radius:14px;

    padding:40px 35px;

    text-align:center;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

    animation:cf7Popup .30s ease;
}

@keyframes cf7Popup{

    from{

        opacity:0;
        transform:scale(.92);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}


/* Icon */

.cf7-popup-icon{

    width:72px;
    height:72px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#28a745;

    color:#fff;

    font-size:42px;
    font-weight:bold;

    display:flex;
    justify-content:center;
    align-items:center;

}


/* Text */

.cf7-popup h3{

    margin:0 0 15px;

    font-size:28px;

}

.cf7-popup p{

    margin:0;

    color:#666;

    line-height:1.7;

}

/* checkbox langa scris */
.wpcf7-acceptance{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.wpcf7-acceptance input{
    margin-top:4px;
    flex-shrink:0;
}

.wpcf7-acceptance .wpcf7-list-item{
    margin:0;
}

.wpcf7-acceptance .wpcf7-list-item-label{
    display:inline;
    line-height:1.5;
}

/* Close */

.cf7-popup-close{

    position:absolute;

    top:16px;
    right:16px;

    width:34px;
    height:34px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#f7f7f7;

    border:1px solid #e2e2e2;

    border-radius:8px;

    cursor:pointer;

    transition:.2s;

    box-sizing:border-box;

    user-select:none;

}

.cf7-popup-close svg{

    width:14px;
    height:14px;

    display:block;

    color:#444;

    pointer-events:none;

}

.cf7-popup-close:hover{

    background:#ededed;
    border-color:#d5d5d5;

}


/* Ascunde mesajul Contact Form 7 */

.wpcf7 form.sent .wpcf7-response-output{
    display:none !important;
}