﻿@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1,150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90,150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90,150;
        stroke-dashoffset: -124;
    }
}


.section__leads {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: var(--section-desktop-padding);
}

.container__leads {
    direction: rtl;
    width: 100%;
    max-width: 700px;
}

.formTitle__leads {
    text-align: right;
    margin: 24px 0px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0px 8px 0px;
}

.container__leads .formRow__leads {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto;
    padding-bottom: 24px;
    width: 100%;
    height: 80px;
    max-height: 80px;
}

.input__leads {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: right;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid;
}

    .input__leads:focus {
        outline: none;
    }


        .input__leads:focus + label, .input__leads:valid + label {
            top: -20px;
            right: -5px;
            padding: 0px 5px 0px 5px;
            font-size: 12px;
        }


.input_wrap {
    width: 100%;
    height: auto;
    position: relative;
}

    .input_wrap label {
        font-family: "ICPangeaText";
        padding: 14px 10px;
        position: absolute;
        top: -10px;
        right: -10px;
        transition: 0.2s ease all;
        pointer-events: none;
        font-size: 16px;
        font-weight: 400;
        line-height: 23px;
        letter-spacing: 0em;
        text-align: right;
    }



.checkboxContainer__leads {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

.checkboxInputwrap__leads {
    width: 100%;
}
/*.checkbox__leads {
    width: 20px;
    height: 20px;
    appearance: none;
    border: 1px solid white;
    border-radius: 3px;
    outline:none;
    margin-left:8px;
}
   */
.checkboxLabel__leads {
    width: 100%;
    display: flex;
    gap: 8px;
    font-size: 14px;
}

    .checkboxLabel__leads p {
        margin-top: 3px;
        width: 80%;
    }

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

    input[type="checkbox"] + label::before {
        content: "";
        display: inline-block;
        background-color: transparent;
        font-size: 16px;
        color: inherit;
        width: 20px;
        height: 20px;
        text-align: center;
        border: 1px solid;
        border-radius: 4px;
    }

    input[type="checkbox"]:checked + label::before {
        content: "\2713";
        color: inherit;
        font-size: 16px;
    }

.errorMsg {
    font-size: 12px;
    line-height: 25px;
}

.button__leads {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 32px 0 24px 0;
}

.submitBtn__leads {
    width: 100%;
    max-width: 327px;
    border-radius: 4px;
    padding: 15px 20px;
    outline: none;
    border: none;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}


.spinner__leads {
    /*margin: -25px -25px 0 0;*/
    display: none;
    animation: rotate 2s linear infinite;
    width: 25px;
    height: 50%;
}

.path {
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.containerSuccess__leads {
    margin: 40px 0;
    width: 100%;
    direction: rtl;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.successImageBox__leads {
    position: relative;
    width: 120px;
    height: 120px;
}

.successImage__leads {
    width: 100%;
    height: 100%;
}

.successText__leads {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
}


.hidden {
    display: none;
}

@media screen and (max-width:768px) {
    .section__leads {
        padding: var(--section-mobile-padding);
    }
    .container__leads{
        padding:0 16px;
    }
}
