:root {
    --mud-palette-top-appbar-background: #ffd800 !important;
    --base-color: #3d4ca7;
}

#app {
    padding-bottom: var(--mud-appbar-height) !important;
}

.base-color {
    color: var(--base-color) !important;
}

.base-color-background {
    background-color: var(--base-color) !important;
    color: #fff !important;
}

.base-color-background-alpha {
    background-color: #3d4ca7dd !important;
    color: #fff !important;
}

.sodexo-top-appbar {
    color: var(--base-color) !important;
    background-color: #fff !important;
    border-bottom: 1px solid var(--base-color) !important;
    border-top: 10px solid var(--base-color) !important;
}

    .sodexo-top-appbar .mud-nav-item {
        width: unset !important;
    }

        .sodexo-top-appbar .mud-nav-item .mud-nav-link {
            padding: 8px !important;
        }

        .sodexo-top-appbar .mud-nav-item .mud-nav-link-text {
            margin-left: unset !important;
        }

.sodexo-bottom-appbar {
    background-color: #2a295c !important;
    color: #6c757d !important
}

.header-column {
    background-color: var(--base-color);
    color: #fff !important;
}

    .header-column .mud-icon-button {
        color: #fff !important;
    }

    .header-column .mud-text-disabled {
        color: #ddd !important;
    }

    .header-column .mud-icon-button-label {
        color: #fff !important;
    }

    .header-column th {
        color: #fff !important;
    }

        .header-column th:hover {
            color: #fff !important;
        }

    .header-column .column-header {
        color: #fff !important;
    }

        .header-column .column-header:hover {
            color: #fff !important;
        }

    .header-column .mud-table-sort-label:hover {
        color: #fff !important;
    }

.dense-popover .mud-list-item-icon {
    min-width: 32px;
}

tr.mud-table-row .show-on-hover .mud-icon-button {
    opacity: 0;
}

tr.mud-table-row:hover .show-on-hover .mud-icon-button {
    opacity: 1;
}

.mud-nav-link:hover, .mud-nav-link:focus {
    background-color: unset !important;
}

.mud-cal-week-drop-item {
    min-height: 20px;
}

td.mud-table-cell {
    word-break: break-word;
}

.button-opacity-hover button {
    opacity: 0.4;
}

.button-opacity-hover:hover button {
    opacity: 1;
}

.opacity-hover {
    opacity: 0.7;
    transition: opacity 0.4s;
}

    .opacity-hover:hover {
        opacity: 1;
    }

div.mud-table.toolbar-12 .mud-table-toolbar {
    height: 12px !important;
}

div.mud-dialog-title button.mud-button-close {
    color: white !important;
}

.mud-snackbar-position {
    right: 24px;
    bottom: 80px;
}

@media (max-width: 1279px) {
    .confirmation-dialog {
        min-width: 0px !important;
    }

    .edit-dialog {
        min-width: 0px !important;
    }
    .mud-nav-link {
        font-size: 0.9em !important;
    }
}

@media (max-width: 500px) {
    .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper {
        flex-direction: column;
        width: auto;
        align-items: center;
    }

    .mud-tab-slider {
        visibility: hidden;
    }
}


@media (max-width: 471px) {
    .mud-list-item-gutters {
        padding: 8px 8px !important;
    }
}

@media (min-width: 1280px) {
    .confirmation-dialog {
        min-width: 600px !important;
    }

    .edit-dialog {
        min-width: 600px !important;
    }
}




.edit-dialog .mud-dialog-title {
    background-color: var(--base-color) !important;
    color: #fff !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

.edit-dialog .mud-ripple-icon {
    padding-top: 6px;
    padding-bottom: 6px;
}

.confirmation-dialog .mud-dialog-title {
    background-color: var(--base-color) !important;
    color: #fff !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

.confirmation-dialog .mud-ripple-icon {
    padding-top: 6px;
    padding-bottom: 6px;
}

.full-width {
    width: 100%;
}

.full-page {
    position: fixed;
    left: 0;
    top: var(--mud-appbar-height);
    margin: 24px 96px 0px 96px;
    max-height: calc(100% - 150px);
    overflow-y: auto;
    width: calc(100% - 192px);
}

.full-height {
    height: 100%;
}

.loading-progress {
    display: flex;
    height: 100px;
    width: 100%;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.loading-progress.hidden {
    opacity: 0;
}

.transparent-background {
    background-color: unset !important;
}

.mud-dialog .mud-dialog-actions {
    flex: 0 0 auto;
    display: flex;
    padding: 8px;
    align-items: center;
    justify-content: space-between;
    border-bottom-left-radius: var(--mud-default-borderradius);
    border-bottom-right-radius: var(--mud-default-borderradius);
}

.list-item-fixed-height {
    max-height: 70px;
    min-height: 70px;
}
.no-border-cell {
    border: none !important;
}
.width-for-checkbox {
    width: 5%;
}
.header-column-summary-report {
    background-color: var(--base-color);
}
.mud-table-cell-custom-group {
    font-weight: bold;
}

.mud-table-cell-custom-group-footer {
    padding-bottom: 50px;
    text-align: right;
}
.summary-customer-string-formation {
    text-align: center;
    font-weight: bold;
    font-size: larger;
    margin-bottom: -1rem;
}
.customer-grid-table {
    padding-top: 2rem;
}
.mud-flex-break {
    flex-basis: 100%;
    width: 0;
}
.done-button-summary-report {
    text-align: center;
    padding-top: 10px;
    display: flex;
    gap: 4px;
    justify-content: center;
}
.text-align-center {
    text-align: center;
    padding-top: 10px;
    justify-content: center;
}
.truncate-text-report-grid {
    max-width: 250px; /* roughly fits ~30 characters */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop and tablets (default) */
.add-form-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Mobile layout */
@media (max-width: 600px) {
    .add-form-container {
        flex-direction: column !important;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }
}

.align-items-center {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-grow: 1;
}