﻿.contactFormHeader {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    line-height: 32.4px;
    text-align: right;
    padding: 0;
    align-items: unset;
}
    .contactFormHeader span {
        cursor: pointer;
        align-self: end;
        width: fit-content;
    }

    /* Input */
    .formRow {
        height: 75px;
    }

.input {
    border: none;
    border-bottom: 1px solid #757575;
    background-color: transparent;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 26.1px;
    text-align: right;
}

    .input:focus {
        outline: none;
    }

/*Input end*/


/*Form*/
.contactFormSection {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.formContent {
    position:relative;
    display: flex;
    flex-direction: column;
    width: 460px;
    margin: auto;
    padding: 15px 21px 32px 21px;
    gap: 16px;
    border-radius: 8px;
    background-color: white;
}

.form {
    display: flex;
    flex-direction: column;
}

.leads .form__row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin: 0 auto;
    padding-bottom: 24px;
    width: 100%;
    max-width: 575px;
}
.input:focus + label, .input:valid + label {
    top: -17px;
    left: 10px;
    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: -8px;
        right: -5px;
        transition: 0.2s ease all;
        pointer-events: none;
        font-size: 16px;
        font-weight: 400;
        line-height: 23px;
        letter-spacing: 0em;
        text-align: right;
        color: #757575;
    }


.errorMsg {
    font-size: 12px;
    color: red;
}

.form__button {
    margin-top: 16px;
    width: 150px;
    align-self: center;
    margin: 0 auto;
}

.submitButton {
    width: 290px;
    height: 40px;
    padding: 8px 32px;
    border-radius: 4px;
    background-color: #101820;
    color: white;
    margin: auto;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}
/*Form end*/


.leads__feedback {
    display: none;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1;
    width: 100%;
    top: 0;
    right: 0;
    position: fixed;
    height: 84px;
    padding: 0;
}
    .leads__feedback.show{
        display:flex;
    }
    .leads__feedback.hide{
        display:none;
    }

.hiddenData{
    display:none;
}

.leads__successBox {
    display: flex;
    background-color: #ffffff;
    border-bottom: 2px solid #0B8900;
    width: 100%;
    align-items: center;
    padding: 0 21px;
}

.leads__failureBox {
    display: flex;
    background-color: #ffffff;
    border-bottom: 2px solid #E50000;
    width: 100%;
    align-items: center;
    padding: 0 21px;
}

@media screen and (max-width:768px) {
    .formContent {
        width: unset;
    }
}