@font-face {
    font-family: "Maersk Text";
    src: url("../fonts/MaerskText-Regular.woff2") format("woff2");
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.date-time-picker-error {
    color: rgb(244, 67, 54) !important;
}

.date-time-picker-error-text {
    font-size: 12px;
}

.file-picker {
    .mud-input {
        margin-top: 0 !important;
    }
}

.mud-table-head {
    background-color: #f0f0f0;
    text-transform: uppercase;
}

.mud-table-root .mud-table-head .mud-table-cell {
    font-weight: 600;
}
.mud-picker.mud-input-required .mud-input-control-input-container > .mud-input-label::after,
.mud-input-control.mud-input-required >
.mud-input-control-input-container > .mud-input-label::after {
    content: "*";
    color: red;
}

.error-validation {
    color: red;
}

.required::after {
    content: "*";
    color: red;
}

.mud-table-cell {
    white-space-collapse: preserve;
}

.mud-table-row.hasissue {
    background-color: #FDF1C7;
}

.mud-table-row .mud-table-cell.disabled {
    background-color: #e9e7e7;
}

.import-table .mud-table-cell .cell-value {
    margin-right: 4px;
}

.import-table .cell-root {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
}

.round-button {
    height: fit-content;
    width: fit-content;
    aspect-ratio: 1/1;
}

/* Logout timer stuff */

.logout-timer {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    max-height: 0;
    opacity: 0;
}

.countdown {
    display: inline-block;
    min-width: 2ch;
    text-align: center;
}

.logout-timer.show {
    max-width: 300px;
    max-height: 100px;
    opacity: 1;
    transition:
        max-height 0.5s ease-out 0.5s,
        opacity 0.5s ease-out 0.5s,
        max-width 1s cubic-bezier(0.87, 0, 0.13, 1);
}

.logout-timer.hide {
    max-width: 0;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.5s ease-in,
        opacity 0.5s ease-in,
        max-width 1s cubic-bezier(0.87, 0, 0.13, 1) 0.25s;
}

/* EndOf Logout timer stuff */

.autocomplete-warning
.mud-icon-root.mud-svg-icon {
    color: coral !important;
}

.text-disabled {
    color: var(--mud-palette-text-disabled);
}

.pointer-events-all.mud-list-item.mud-list-item-disabled {
    pointer-events: all !important;
}

.mud-tab.mud-tab-active {
    color: var(--mud-palette-primary);
    border-bottom: 2px solid white;
}

.sticky-table table thead th:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background-color: #f0f0f0;
}

.sticky-table table tbody td {
    position: sticky;
    right: 0;
    z-index: 1;
    white-space: nowrap;
}

.validation-table table tbody td .calculated-value {
    color: gray;
}

.validation-table table .mud-table-row td {
    background-color: white;
}

.validation-table table .mud-table-row.has-issue td {
    background-color: #fdf2ce;
}