:root {
    --sfs-primary-color: #ba0101;
    --sfs-primary-color-hover: #860000
}
.hide {
    display: none;
}
.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid var(--sfs-primary-color);
    width: 25px;
    height: 25px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}
.sfs-button {
    background: var(--sfs-primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.sfs-button:hover {
    background: var(--sfs-primary-color-hover);
    color: #fff;
}
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.arcaptcha {
    margin: 0 auto 15px;
}
/*Modal*/
.modal {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: min(90%, 450px);
    border-radius: 15px;
}

.modal-content label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    .label {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

.modal .modal-content input {
    background: #d0d0d033;
    border: 1px solid #d0d0d033;
    border-radius: 9px;
    line-height: 30px;
    width: 100%;
    margin: 7px 0px;
}

.modal .modal-content input.error {
    background: #ff00001c;
}

.modal .modal-content input:focus {
    background: #dbebfd73;
    border: 1px solid #5cbafc96;
    box-shadow: 0px 0px 4px #5cbafc;
}

.modal .modal-footer .submit-form{
    background-color: var(--sfs-primary-color);
    font-size: 14px;
    color: white;
    border-radius: 4px;
}

.modal-footer .cf-turnstile>div{
    text-align:center;
}
.footer-cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
#ajax-result {
    text-align: center;
    font-weight: 600;
    padding: 5px 3px;
    border-radius: 5px;
    font-size: 21px;
    line-height: 35px;
    margin-bottom: 15px;
}

#ajax-result.error {
    color: #b10000;
}

#ajax-result.success {
    color: green;
}


.modal-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sfs-header {
    display: flex;
    border-bottom: 1px solid #ededed;
    margin-bottom: 10px;
    .modal-title {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        p {
            font-size: 22px;
            line-height: 28px;
            font-weight: 600;
            margin: 0px;
        }
    }
}
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}