﻿/* Global styles for the IBLTermocasa application */


:root .lpx-theme-dim, :root .lpx-theme-dark {
    --lpx-logo: url('/images/logo/leptonx/icon.svg');
    --lpx-logo-icon: url('/images/logo/leptonx/icon.svg');
}

:root .lpx-theme-light {
    --lpx-logo: url('/images/logo/leptonx/icon.svg');
    --lpx-logo-icon: url('/images/logo/leptonx/icon.svg');
}

/* 
    loader
*/
.loader {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: #f1f1f2;
  }

#ApplicationContainer > div:first-child:not(:only-child) {
    display: none !important;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* 
    blazorise picker workaround for https://github.com/Megabit/Blazorise/issues/4917
*/
.flatpickr-calendar.static {
    top: unset !important;
}


:root {
    --logo: url(/images/logo/logo-image-tc.svg);
    --logo-reverse: url(/images/logo/logo-image-tc.svg);
    --mud-zindex-dialog: 1100 !important;
    /* Use LeptonX error text color instead of MudBlazor palette */
    --mud-palette-error-text: var(--lpx-error, #dc3545) !important;
}

.scrollable-card {
    height: 63vh;
    max-height: 63vh;
    overflow-y: auto;
    border-radius: 5px; /* Aggiungi bordi arrotondati per la card */
}

.button-remove{
    display: flex;
    min-width: 20px;
}

.item-button {
    display: flex;
    padding-left: 8px !important;
    align-items: center;
}

.mud-data-grid-custom .mud-table-toolbar {
    margin-bottom: 1.5rem;
}

.mud-data-grid-custom .mud-table-cell {
    border-bottom: none;
}
.mud-data-grid-custom .mud-table-row {
    border-bottom: 2px solid #d3d3d3; /* Colore e spessore del bordo */
}


.image-container {
    position: relative;
}

.icon-button {
    position: absolute;
    bottom: 7px;
    right: 7px;
    border-bottom: 2px solid #d3d3d3;
}


/*Custom MudBlazor CSS*/
.mud-icon-button-size-xsmall {
    padding: 0px !important;
    font-size: 0.875rem !important;
}
