input.e-input,
.e-input-group input,
.e-input-group.e-control-wrapper input,
.e-input-group input.e-input,
.e-input-group.e-control-wrapper input.e-input {
    height: 21px;
    font-size: 12px;
    align-self: center;
    font-family: var(--fc-font-family);
    color: var(--fc-text);
}

input.e-input,
textarea.e-input,
.e-input-group,
.e-input-group.e-control-wrapper,
.e-float-input,
.e-float-input.e-control-wrapper {
    font-size: 12px;
    align-self: center;
    font-family: var(--fc-font-family);
    color: var(--fc-text);
}

    .e-input-group,
    .e-input-group.e-control-wrapper,
    .e-float-input,
    .e-float-input.e-control-wrapper {
        background-color: var(--fc-surface);
        border-color: var(--fc-border);
        border-radius: var(--fc-radius-sm);
    }

        .e-input-group:not(.e-multi-line-input),
        .e-input-group.e-control-wrapper:not(.e-multi-line-input),
        .e-float-input:not(.e-multi-line-input),
        .e-float-input.e-control-wrapper:not(.e-multi-line-input) {
            border-width: 1px;
            border-style: solid;
        }

        input.e-input:not(.e-multi-line-input),
        textarea.e-input:not(.e-multi-line-input),
        .e-input-group:not(.e-multi-line-input),
        .e-input-group.e-control-wrapper:not(.e-multi-line-input),
        .e-input-group.e-disabled:not(.e-multi-line-input),
        .e-input-group.e-control-wrapper.e-disabled:not(.e-multi-line-input) {
            height: 21px;
        }

        .e-input-group.e-input-focus,
        .e-input-group.e-control-wrapper.e-input-focus,
        .e-float-input.e-input-focus,
        .e-float-input.e-control-wrapper.e-input-focus,
        .e-input-group:focus-within,
        .e-float-input:focus-within {
            border-color: var(--fc-primary) !important;
            box-shadow: var(--fc-focus-ring);
        }

            .e-input-group.e-input-focus::before,
            .e-input-group.e-input-focus::after,
            .e-input-group.e-control-wrapper.e-input-focus::before,
            .e-input-group.e-control-wrapper.e-input-focus::after,
            .e-float-input.e-input-focus::before,
            .e-float-input.e-input-focus::after,
            .e-float-input.e-control-wrapper.e-input-focus::before,
            .e-float-input.e-control-wrapper.e-input-focus::after {
                background: transparent !important;
            }

        .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
            font-size: 12px;
            color: var(--fc-text-secondary);
        }

        .e-input-group .e-input-group-icon,
        .e-input-group.e-control-wrapper .e-input-group-icon {
            min-height: 20px;
            color: var(--fc-text-secondary);
        }

            .e-input-group .e-input-group-icon:hover,
            .e-input-group.e-control-wrapper .e-input-group-icon:hover {
                color: var(--fc-primary);
            }

        .e-float-input:not(.e-multi-line-input) label.e-float-text,
        .e-float-input.e-control-wrapper:not(.e-multi-line-input) label.e-float-text {
            top: 85%;
        }

        .e-float-input label.e-float-text,
        .e-float-input.e-control-wrapper label.e-float-text,
        .e-float-input label.e-label-top,
        .e-float-input.e-control-wrapper label.e-label-top {
            color: var(--fc-text-secondary);
        }

        .e-float-input.e-input-focus label.e-float-text,
        .e-float-input.e-control-wrapper.e-input-focus label.e-float-text,
        .e-float-input:focus-within label.e-float-text,
        .e-float-input.e-control-wrapper:focus-within label.e-float-text {
            color: var(--fc-primary);
        }

        .e-float-input input[disabled],
        .e-float-input input.e-disabled,
        .e-float-input.e-control-wrapper input[disabled],
        .e-float-input.e-control-wrapper input.e-disabled {
            cursor: text;
        }

        .e-input[disabled],
        .e-input-group .e-input[disabled],
        .e-input-group.e-control-wrapper .e-input[disabled],
        .e-input-group.e-disabled,
        .e-input-group.e-disabled input,
        .e-input-group.e-disabled input.e-input,
        .e-input-group.e-disabled textarea,
        .e-input-group.e-disabled textarea.e-input,
        .e-input-group.e-control-wrapper.e-disabled,
        .e-input-group.e-control-wrapper.e-disabled input,
        .e-input-group.e-control-wrapper.e-disabled input.e-input,
        .e-input-group.e-control-wrapper.e-disabled textarea,
        .e-input-group.e-control-wrapper.e-disabled textarea.e-input,
        .e-float-input.e-disabled input,
        .e-float-input.e-disabled textarea,
        .e-float-input input[disabled],
        .e-float-input input.e-disabled,
        .e-float-input textarea[disabled],
        .e-float-input textarea.e-disabled,
        .e-float-input.e-control-wrapper.e-disabled input,
        .e-float-input.e-control-wrapper.e-disabled textarea,
        .e-float-input.e-control-wrapper input[disabled],
        .e-float-input.e-control-wrapper input.e-disabled,
        .e-float-input.e-control-wrapper textarea[disabled],
        .e-float-input.e-control-wrapper textarea.e-disabled,
        .e-input-group.e-disabled span,
        .e-input-group.e-control-wrapper.e-disabled span {
            cursor: text;
            font-size: 12px;
            color: var(--fc-text-readonly);
            -webkit-text-fill-color: var(--fc-text-readonly);
            opacity: 1;
        }

        .e-input-group.e-disabled,
        .e-input-group.e-control-wrapper.e-disabled,
        .e-float-input.e-disabled,
        .e-float-input.e-control-wrapper.e-disabled {
            background-color: var(--fc-surface-secondary);
            border-color: var(--fc-border);
            opacity: 1;
        }

        textarea.e-input,
        .e-input-group textarea,
        .e-input-group textarea.e-input,
        .e-input-group.e-input-focus textarea,
        .e-input-group.e-input-focus textarea.e-input,
        .e-input-group.e-control-wrapper textarea,
        .e-input-group.e-control-wrapper.e-input-focus textarea,
        .e-input-group.e-control-wrapper textarea.e-input,
        .e-input-group.e-control-wrapper.e-input-focus textarea.e-input,
        .e-float-input textarea,
        .e-float-input.e-control-wrapper textarea {
            min-height: 21px;
            color: var(--fc-text);
            background-color: var(--fc-surface);
        }

        .e-subject-container .e-input-group:not(.e-multi-line-input),
        .e-input-group.e-control-wrapper:not(.e-multi-line-input) {
            height: unset;
        }

.invalid-field.e-input-group,
.invalid-field.e-control-wrapper,
.invalid-field.e-float-input {
    box-sizing: border-box;
    border: 2px solid var(--fc-danger) !important;
    border-radius: var(--fc-radius-sm);
    min-height: 25px;
    overflow: visible;
}

.invalid-field input.e-input {
    height: 21px;
    box-sizing: border-box;
}
