:root{
    --main: #A23A77;
    --secondary: #FFFFFF;
}

#image-captcha-container{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: scroll;
    z-index: 10001;
    display: none;
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.1);
}

#image-captcha-template-container{
    background-color: transparent;
    min-height: 100%;
    color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

#image-captcha-template-container #image-captcha-template{
    color: #FFFFFF;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    padding: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#image-captcha-template #image-captcha-template-form{
    width: 75%;
    min-width: min(280px, 100%);
    background-color: var(--main);
    margin: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    padding: 5px;
}

#image-captcha-template #image-captcha-template-form>p{
    color: #f1f1f1;
    padding-top: max(2vw,16px);
    text-align: center;
    padding-top: 0 !important;
    margin-bottom: 10px;
}

#image-captcha-template #image-captcha-template-images-container{
    background-color: #f1f1f1;
    margin: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    padding: 5px;
}

#image-captcha-template-container #image-captcha-template .fa-x{
    font-size: 15px;
    align-self: flex-end;
    color: #f7f7f7;
    margin: 15px;
    transition: 300ms;
}

#image-captcha-template-container #image-captcha-template .fa-x:hover{
    cursor: pointer;
}

#image-captcha-template #image-captcha-template-form #lets-try-different{
    display: flex;
    flex-direction: row;
    transition: 300ms;
    margin-bottom: 5px;
}

#image-captcha-template #image-captcha-template-form #lets-try-different:hover{
    cursor: pointer;
}

#image-captcha-template #image-captcha-template-form #lets-try-different span{
    font-size: 16px;
    padding: 4px;
}

#image-captcha-template .image-captcha-template-images-grid{
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    width: 100%;
}

#image-captcha-template .image-captcha-template-images-grid div,
#image-captcha-template .image-captcha-template-images-grid input{
    width: auto;
    position: relative;
    border: 4px solid transparent;
    margin: 2px;
}

#image-captcha-template .image-captcha-template-images-grid div img{
    width: 100%;
    height: 100%;
}

#image-captcha-template .image-captcha-template-images-grid div:hover{
    cursor: pointer;
}

#image-captcha-template #image-captcha-template-form button{
    margin-bottom: 2rem;
    padding: 10px;
    width: 150px;
    background-color: transparent;
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
    transition: 300ms ease-in-out;
    font-size: 1.1rem;
    letter-spacing: 1.1px;
    font-weight: 600;
    word-wrap: break-word;
    border-radius: 8px;
}

#image-captcha-template #image-captcha-template-form button:hover{
    cursor: pointer;
    background-color: #f1f1f1;
    color: var(--main);
}

#image-captcha-template #image-captcha-template-form .fa-check-circle{
    position: absolute;
    top: 6px;
    left: calc(100% - 26px);
    font-size: 20px;
    z-index: 1;
    color: #fff;
}

#image-captcha-template #image-captcha-template-form .selected{
    border: 4px solid var(--main);
}

#image-captcha-template #image-captcha-template-form .selected img{
    opacity: 0.75;
}

#image-captcha-template #image-captcha-template-form .selected .fa-check-circle{
    color: var(--main);
}

#image-captcha-checkpoint{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    cursor: auto;
    margin: 0 auto !important;
}

#image-captcha-checkpoint #are-you-human-msg{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    color: var(--secondary);
}

#image-captcha-checkpoint label{
    padding: 10px;
    padding-left: 0;
    font-size: 18px;
    user-select: none;
    margin-bottom: 0 !important;
    font-weight: 600;
}

#image-captcha-checkpoint #captcha-check-icon{
    font-size: 2rem;
    line-height: 0;
    max-width: 40px;
    color: #e1e1e1;
}

#form-test-container #image-captcha-checkpoint label:hover{
    cursor: pointer;
}

#image-captcha-checkpoint .fa-solid{
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 2rem;
}

#image-captcha-checkpoint .fa-check-circle{
    color: var(--secondary);
    cursor: auto;
}

#image-captcha-checkpoint .fa-circle-xmark{
    color: var(--secondary);
    cursor: auto;
}


#image-captcha-checkpoint #image-captcha-seems-robot-message{
    display: none;
    line-height: 1.6rem;
    cursor: auto;
    flex-direction: column;
    color: var(--secondary);
}

#image-captcha-checkpoint #image-captcha-seems-robot-message>p{
    font-style: italic;
    color: var(--secondary);
}

#image-captcha-checkpoint #image-captcha-seems-robot-message #image-captcha-wrong-result-message-try-again{
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    transition: 300ms;
}

#image-captcha-checkpoint #image-captcha-seems-robot-message #image-captcha-wrong-result-message-try-again>p{
    padding-bottom: 8px;
    margin-bottom: 0;
    font-size: 16px;
    color: var(--secondary);
}

#image-captcha-checkpoint #image-captcha-seems-robot-message #image-captcha-wrong-result-message-try-again .fa-solid{
    padding-left: 8px;
    cursor: pointer;
    padding-bottom: 8px;
    font-size: 16px;
    color: var(--secondary);
}

#image-captcha-checkpoint #image-captcha-wrong-result-message p{
    color: var(--secondary);
}

#image-captcha-checkpoint #image-captcha-success-result-message p {
    color: var(--secondary);
}

#image-captcha-checkpoint #message-after-email{
    display: none;
}

#alert-popUp-msg-container{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999999 !important;
}

#alert-popUp-msg{
    margin: 50px auto;
    width: min(90%, 500px);
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    box-sizing: border-box;
    padding: 30px;
    justify-content: space-evenly;
    flex-direction: column;
    min-height: 250px;
    left: calc(50% - min(90%, 500px)/2);
}

#alert-popUp-msg p {
    font-size: 18px;
    line-height: 1.7;
    color: #000000;
}

#alert-popUp-msg button {
    width: 100px;
    align-self: center;
    padding: 10px;
    border: 1px solid #000000;
    color: #000000;
    background-color: #ffffff;
    transition: 300ms;
    margin-top: 15px;
    border-radius: 8px;
}

#alert-popUp-msg button:hover {
    cursor: pointer;
    background-color: var(--main);
    border-color: var(--main);
    color: #FFFFFF;
}

@media only screen and (max-width: 700px) {
    #image-captcha-template .image-captcha-template-images-grid div, 
    #image-captcha-template .image-captcha-template-images-grid input{
        margin: 0 !important;
    }

    #alert-popUp-msg{
        min-height: 100px;
    }

    #alert-popUp-msg p {
        font-size: 14px;
        line-height: 22px;
    }
  }

@media only screen and (max-width: 550px) {
    #image-captcha-template #image-captcha-template-form{
        margin: 0;
        width: 95%;
    }

    #image-captcha-template #image-captcha-template-form .fa-check-circle{
        font-size: 10px;
        left: calc(100% - 18px);
    }

    #image-captcha-template .image-captcha-template-images-grid div,
    #image-captcha-template .image-captcha-template-images-grid input{
        margin: 3px !important;
    }

    #image-captcha-template #image-captcha-template-form #lets-try-different{
        flex-direction: row;
        text-align: center;
    }
  }

@media only screen and (max-width: 430px) {
    #image-captcha-checkpoint #image-captcha-wrong-result-message #image-captcha-wrong-result-message-try-again{
        flex-direction: column;
    }

    #image-captcha-checkpoint #image-captcha-wrong-result-message #image-captcha-wrong-result-message-try-again .fa-solid{
        padding: 16px 0;
    }


    #image-captcha-template .image-captcha-template-images-grid{
        display: grid;
        grid-template-columns: repeat( 4, 1fr );
        width: 100%;
    }

    #image-captcha-template .image-captcha-template-images-grid [id*="image-captcha-template-generated-image"]{
        grid-column: span 2;
    }
  }

@media only screen and (max-width: 280px) {
    #image-captcha-template #image-captcha-template-form .fa-check-circle{
        font-size: 10px;
        left: calc(100% - 18px);
    }

    #image-captcha-template .image-captcha-template-images-grid{
        display: grid;
        grid-template-columns: auto;
        width: 100%;
    }

    #image-captcha-template .image-captcha-template-images-grid [id*="image-captcha-template-generated-image"]:last-child{
        grid-column: auto;
    }

    #image-captcha-template #image-captcha-template-form button{
        width: 90%;
    }
}

[id*="image-captcha-template-generated-image"],
[id*="image-captcha-template-generated-image"] img{
    border-radius: 8px !important;
}

body.stop-scroll{
    overflow: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}