﻿/* ======================
Code Captcha Styles 
========================= */

.captcha-container{
    width: 320px;
    box-shadow: 1px 1px 4px 1px #b9b2b2;
    padding: 10px;
    margin-bottom: 12px;
    background-color: #fff;
}

.captcha-container .d-flex{
    gap : 0.5rem;
}

.captcha-container #captcha-input{
    padding : 6px 12px;
    height: unset;
    border-radius: 0;
    border : 1px solid lightgray !important;
    margin-bottom: 0;
}

@media (max-width: 400px) {
    .captcha-container {
        width: auto;
    }
}

.captcha-container #captcha-image-container{
    position: relative;

}
.captcha-container.refreshing #captcha-image-container:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border : 1px solid lightgray;
    background-color: #fff;
}

.captcha-container.refreshing #captcha-image-container:after{
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    left: 36%;
    top: 36%;
    border-radius: 50%;
    border: 1px solid #ccc;
    border-top-color: #07d;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.captcha-container img{
    border: 1px solid lightgray;
    height: 82px;
}

.captcha-container #refresh-captcha{
    align-self: baseline;
    cursor: pointer;
    font-size: 1.5em;
}