.form-control {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    position: relative;

    .label {
        font-size: 16px;
        color: #000;
        font-weight: 500;
        margin-bottom: 6px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .form-control__error {
        font-size: 14px;
        color: #AE0205;
        position: relative;
        bottom: -4px;
        display: none;
    }

    &.has-error {
        .form-control__error {
            display: block;
        }

        .input {
            border-color: #AE0205;
        }
    }

    .input {
        font-size: 16px;
        font-family: var(--font-regular), sans-serif;
        font-weight: 500;
        border-radius: 10px;
        border: 1px solid #004078;
        padding: 8px 16px;

        textarea& {
            max-width: 100%;
            min-height: 90px;
            resize: vertical;
        }

        &:focus {
            outline: none;
        }
    }

    .checkbox {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        font-size: 16px;
        font-weight: 500;
        color: #000;

        label {
            width: 16px;
            height: 16px;
            min-width: 16px;
            min-height: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #004078;
            border-radius: 4px;

            svg {
                display: none;
            }

            &:hover {
                cursor: pointer;
            }
        }

        input {
            display: none;
        }

        input:checked + label svg {
            display: block;
        }
    }

    a {
        color: #000;
        text-decoration: underline;

        &:hover {
            cursor: pointer;
            color: #77DDBE;
        }
    }
}

.form-captcha {
    display: flex;
    align-items: center;
    gap: 13px;

    .form-control__error {
        position: absolute;
        bottom: -18px;
        width: 200%;
    }
}

.form-captcha__image {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-captcha__reload {
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: none;
    transition: all .4s ease;

    &:hover {
        cursor: pointer;
        background: #E4F0F6;
    }
}

@media screen and (max-width:768px) {
    .form-captcha {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0;

        .form-control__error {
            width: 100%;
        }
    }

    .form-captcha__field {
        width: 100%;
    }

    .form-captcha__image {
        margin-bottom: 10px;
    }
}

.required-badge {
    color: #003D74;
}