/* overlay */

#guide-popup-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    display:none;
    z-index:9999;
}

/* popup container */

#guide-popup{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90%;
    max-width:520px;
}

/* popup box */

.guide-popup-content{
    background:var(--cmplz_banner_background_color);
    padding:40px;
    border-radius:8px;
    color:#d6d6d6;
    box-shadow:0 20px 60px rgba(0,0,0,0.5);
    text-align:center;
}

/* email input */

.guide-form input[type=email]{
    width:100%;
    padding:14px;
    background:var(--cmplz_banner_background_color);
    border:2px solid #cfcfcf;
    color:#ffffff;
    font-size:16px;
    margin-bottom:20px;
}

.guide-form input[type=email]::placeholder{
    color:#cfcfcf;
}

/* consent container */

.guide-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-top:10px;
    text-align:left;
}

/* custom checkbox */

.guide-consent input[type="checkbox"]{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    width:10px;
    height:10px;
    border:2px solid #86827e;
    background:#86827e;
    border-radius:2px;
    display:inline-block;
    cursor:pointer;
    margin-top:3px;
    flex-shrink:0;
    position:relative;
    padding: 8px;
}

/* check mark */

.guide-consent input[type="checkbox"]:checked::after{
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #1c1c1c;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* consent text */

.guide-consent-text{
    font-size:13px;
    line-height:1.5;
    margin-top:3px;
    color:#cfcfcf;
}

.guide-consent-text p{
    margin:0;
}

.guide-consent-text a{
    color:#cfcfcf;
    text-decoration:underline;
}

/* submit button */

.wpcf7-submit{
    margin-top:25px;
    background:#d8d0c9;
    border:none;
    padding:12px 40px;
    font-size:20px;
    font-weight:600;
    cursor:pointer;
    color:#000;
}

.wpcf7-submit:hover{
    opacity:0.9;
}

/* spinner */

.wpcf7-spinner{
    display:none;
}

/* complianz button colors */

.guide-popup-button{
    background-color:var(--cmplz_button_accept_background_color)!important;
    border:1px solid var(--cmplz_button_accept_border_color)!important;
    color:var(--cmplz_button_accept_text_color)!important;
}

.guide-popup-email{
    padding:0!important;
}

/* mobile */

@media (max-width:600px){

    .guide-popup-content{
        padding:25px;
    }

    .wpcf7-submit{
        width:100%;
    }

}