.formMultiline .mud-input {
    background-color: var(--mud-palette-background) !important;
    border-radius: var(--mud-default-borderradius) !important;
    line-height: 1.3 !important;
}

.quickSearchInput.mud-input-outlined-border{
    border: none !important;
}

/*************************/
/***** FIELD LOADER ******/
/*************************/
.field-loader-wrapper {
    position: relative;
}

.field-loader-adornment {
    position: absolute;
    right: 50px;
    top: 34px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}



/************************/
/****** MUD-PANEL *******/
/************************/

.expansionPanel {
    background-color: var(--mud-palette-overlay-dark) !important;
}

.damageFilePanel {
    background-color: var(--mud-palette-background) !important;
    border-radius: var(--mud-default-borderradius) !important;
}

.panel-menu {
    width: 400px !important;
}

.panel-title {
    width: 300px !important;
}

.panel-summary-fields {
    opacity: 0;
    transition: opacity 500ms ease-in-out;
    pointer-events: none;
    min-height: 36px !important;
    width: 100% !important;
}

    .panel-summary-fields.visible {
        opacity: 1;
        pointer-events: auto;
    }


/************************/
/***** FILE SECTION *****/
/************************/

.file-drop-zone {
    min-height: 180px;
    height: auto !important;
    padding: 12px 20px 20px 20px !important;
    overflow: visible !important;
    border: 1px dashed transparent !important;
}

    .file-drop-zone.file-dragging {
        background-color: var(--mud-palette-table-hover) !important;
        border-color: var(--mud-palette-primary-text) !important;
    }

.file-upload-zone .mud-input-control {
    max-height: none !important;
}

.file-thumb-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px;
    align-items: flex-start;
    align-content: flex-start;
    width: 100%;
    overflow: visible !important;
}

.file-thumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
    align-content: flex-start;
}

.file-thumb {
    width: 120px !important;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--mud-palette-surface);
}

.file-thumb-card {
    width: 140px;
    flex: 0 0 140px;
}

.file-thumb-name {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.clickable-thumb {
    cursor: pointer;
    transition: transform 0.15s ease;
}

    .clickable-thumb:hover {
        transform: scale(1.03);
    }


/*Background color of damage table when dragging file */
.damage-row-drop-active {
    background-color: var(--mud-palette-table-hover) !important;
    box-shadow: inset 0 0.5px 0 var(--mud-palette-primary-text), inset 0 -0.5px 0 var(--mud-palette-primary-text);
}

/*.damage-drop-target {
    border-top: 1px dashed transparent;
    border-bottom: 1px dashed transparent;
}

.damage-drop-target-active {
    background-color: var(--mud-palette-table-hover) !important;
    border-top-color: var(--mud-palette-primary-text);
    border-bottom-color: var(--mud-palette-primary-text);
}*/

/*******************************/
/******** DAMAGE DIALOG ********/
/*******************************/

.claim-damage-edition-content {
    padding-bottom: 24px !important;
    overflow: visible;
}

.claim-damage-edition-dialog .mud-dialog-content {
    overflow: visible;
}


/************************/
/****** MUD-INPUT *******/
/************************/

.mud-input {
    line-height: 0.7em !important;
}

/*fieldset label before input*/
.mud-input-label {
    font-size: .75rem !important;
}

.mud-input-label-outlined {
    transform: translate(14px, 15px) scale(1) !important;
    padding: 0px 0px !important;
}

/* field label after shrinking*/
.mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.mud-input:has(:-webkit-autofill) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    transform: translate(10px, -8px) scale(1) !important;
    font-weight: 600;
    padding:0;
}

/* Change outline and border when focused */
.mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border, .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--mud-palette-primary-text);
}

/* remove fieldset line padding when focused*/
.mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border legend, .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border legend {
    color: var(--mud-palette-primary-text) !important;
    width: auto !important;
    padding: 0 0px !important;
}
