

.ba-input {
    position: relative;
}

    .ba-input label {
        font-size: 14px;
    }

    .ba-input > input,
    .ba-input > select,
    .ba-input > textarea {
        height: 50px;
        padding: 18px 10px 2px 9px;
        width: 100%;
        box-sizing: border-box;
        border-style: solid;
        border-width: 1px;
    }

    .ba-input select {
        height: 50px;
        padding: 20px 5px 4px 5px;
    }

    .ba-input textarea {
        height: 100%;
        resize: none;
    }

[data-ba-input-disabled].ba-input > input,
[data-ba-input-disabled].ba-input > select,
[data-ba-input-disabled].ba-input > textarea {
    border-color: transparent !important;
}


.light [data-ba-input-disabled] > input,
.light [data-ba-input-disabled] > select,
.light [data-ba-input-disabled] > textarea {
    background-color: #ffffff !important;
}

.dark [data-ba-input-disabled] > input,
.dark [data-ba-input-disabled] > select,
.dark [data-ba-input-disabled] > textarea {
    background-color: #252526 !important;
}

[data-ba-input-disabled] > select {
    appearance: none;
    padding-left: 8px;
}


.ba-input > label {
    display: inline-block;
    position: absolute;
    padding-left: 10px;
    padding-right: 10px;
    /* left: 10px;*/

    color: #acacac;
    cursor: text;
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -ms-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all .1 ease-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: initial;
    text-align: initial;
    white-space: nowrap;
}

.ba-input > label {
    top: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 14px);
}


    .ba-input > label.focused,
    .ba-input > label.hasval {
        top: -1px;
    }


/* [dir="rtl"] .ba-input>label {
    left: initial;
    right: 10px;
} */

.ba-input > input,
.ba-input > select,
.ba-input > textarea {
    outline: none;
    border-radius: 5px;
}


label.focused {
    color: #039be5;
}

.dark .ba-input > input,
.dark .ba-input > select,
.dark .ba-input > textarea {
    background-color: #333333;
    border-color: #5b5b5b;
}

.light .ba-input > input,
.light .ba-input > select,
.light .ba-input > textarea {
    background-color: #ffffff;
    border-color: #c7c7c7;
}



    .light .ba-input > input:focus,
    .light .ba-input > select:focus,
    .light .ba-input > textarea:focus {
        border-color: #039BE5;
        background-color: #f8f9f9;
    }

.dark .ba-input > input:focus,
.dark .ba-input > select:focus,
.dark .ba-input > textarea:focus {
    border-color: #039BE5;
    background-color: #3C3C3C;
}

.light .ba-input > input.validation-error,
.dark .ba-input > input.validation-error,
.light .ba-input > select.validation-error,
.dark .ba-input > select.validation-error,
.light .ba-input > textarea.validation-error,
.dark .ba-input > textarea.validation-error {
    border-color: #f57c00;
}


.ba-error {
    border-radius: 5px;
}

.ba-error-message {
    min-height: 30px;
}


.light .ba-error,
.dark .ba-error {
    color: #f57c00;
}

.dark ::-webkit-calendar-picker-indicator {
    filter: invert(70%);
}

.light ::-webkit-calendar-picker-indicator {
    filter: invert(50%);
}

