﻿
.mud-input-control {
    padding: 2px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.mud-input.mud-input-filled {
    background-color: var(--tender-mud-input-backgroundcolor);
    border-top-left-radius: var(--tender-borderradius-small);
    border-top-right-radius: var(--tender-borderradius-small);
    border-bottom: var(--tender-mud-input-border-bottom-width) solid;
    border-bottom-color: var(--tender-mud-input-bordercolor-rest);
}
.mud-input.mud-input-filled:hover {
    background-color: var(--tender-mud-input-backgroundcolor);
    border-top-left-radius: var(--tender-borderradius-small);
    border-top-right-radius: var(--tender-borderradius-small);
    border-bottom: var(--tender-mud-input-border-bottom-width) solid;
    border-bottom-color: var(--tender-mud-input-bordercolor-hover);
}

.mud-input.mud-input-filled:focus-within {
    background-color: var(--tender-mud-input-backgroundcolor);
    border-top-left-radius: var(--tender-borderradius-small);
    border-top-right-radius: var(--tender-borderradius-small);
    border-bottom: var(--tender-mud-input-active-border-bottom-width) solid;
    border-bottom-color: var(--tender-mud-input-bordercolor-hover);
}
.mud-input.mud-input-filled.mud-disabled {
    background-color: var(--tender-mud-input-backgroundcolor);
    border-top-left-radius: var(--tender-borderradius-small);
    border-top-right-radius: var(--tender-borderradius-small);
    border-bottom: var(--tender-mud-input-border-bottom-width) solid;
    border-bottom-color: var(--tender-mud-input-backgroundcolor);
}

.mud-input.mud-input-filled.mud-disabled:hover {
    background-color: var(--tender-mud-input-backgroundcolor);
    border-top-left-radius: var(--tender-borderradius-small);
    border-top-right-radius: var(--tender-borderradius-small);
    border-bottom: var(--tender-mud-input-border-bottom-width) solid;
    border-bottom-color: var(--tender-mud-input-backgroundcolor);
}

.mud-input-label {
    overflow: visible !important;
}


/* Filled inputs reserve a band at the top of the field for the floating label:
   27px of margin plus 23px of padding that MudBlazor masks out, so text scrolled
   up behind the label stays invisible. Fields declared without a Label have
   nothing to reserve it for - the band is then dead space, and the mask hides
   the first lines whenever the field is scrolled to the top. */
.nti-input-no-label .mud-input > textarea.mud-input-root.mud-input-root-filled {
    margin-top: 0;
}

.nti-input-no-label .mud-input > textarea.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense {
    padding-top: 6px;
    mask-image: none;
}
