﻿.roboto-slab-medium {
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
}

@font-face {
    font-family: 'DejaVuSans';
    src: url('/fonts/DejaVuSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.relative-class {
    position: relative;
    padding: 15px;
}

/*Listing Pages*/
.listing-page-layout {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 0px);
}

.container-max {
    overflow: auto;
    flex-grow: 1;
    min-height: 0;
}

.item-paper {
    position: relative;
    min-width: min-content;
    margin: 8px 0;
}

.custom-info-icon {
    position: absolute;
    z-index: 10;
}

.hover-info {
    display: none;
    position: absolute;
    right: 30px;
    bottom: -8px;
    background-color: #e2e8f0;
    color: #212529;
    padding: 10px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    font-size: 15px;
    z-index: 90;
    transition: all 0.3s ease-in-out;
    width: max-content;
    max-width: 500px;
    white-space: pre-line;
}

.custom-info-icon:hover .hover-info {
    display: block;
}

.relative-class .custom-container {
    top: 70px;
    left: 25.5px;
    right: initial;
    bottom: initial;
    margin: 0 !important;
    align-items: center;
    position: absolute;
    height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 5;
}

.relative-class .custom-image-eye {
    top: 75px;
    left: initial;
    right: 26.5px;
    bottom: initial;
    position: absolute;
    z-index: 5;
}

.relative-class .custom-image-lock {
    top: 125px;
    left: initial;
    right: 26.5px;
    bottom: initial;
    position: absolute;
    z-index: 5;
}

.relative-class .custom-mudgrid {
    position: absolute;
    top: 27.5px !important;
    left: 210px !important;
    z-index: 5;
}

.custom-mudswitch .mud-switch {
    display: flex;
    align-content: center;
    align-items: center;
    margin: 0;
    padding-left: 0px;
    padding-right: 5px;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin: 0;
}

.custom-common-mudgrid {
    margin-left: 0;
    margin-top: 16px;
    margin-right: 16px;
    margin-bottom: 16px;
}

.relative-class .custom-mudpaper p {
    font-weight: 500;
}

.custom-checkbox .mud-checkbox .mud-typography.mud-typography-body1 {
    overflow: initial;
    white-space: nowrap;
    font-size: 14px;
}

.custom-sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-image: linear-gradient(246deg, #272727 44%, #ff6c00 142%);
    width: 250px; /* fallback */
    min-width: 250px;
    max-width: 250px;
    overflow: hidden;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 9999; /* ensure it’s on top if needed */
}

.mud-list-item-with-no-margin {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

.mud-list-item-with-no-margin * {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.centered-rows-and-headers {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.centered-rows-and-headers thead th,
.centered-rows-and-headers tbody td {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: inherit;
}

.mud-table .mud-table-row:hover {
    cursor: pointer;
}

/*@media (max-width: 960px) {
    .mobile-card-table .mud-table-root tbody tr {
        display: block !important;
        margin: 0 auto 20px auto !important;
    }

    .mobile-card-table .mud-table-root tbody td {
        display: flex !important;
        justify-content: space-between;
        padding: 10px;
    }
}*/

/*@media (max-width: 960px) {
    .mobile-card-table .mud-table-root tbody {
        display: flex;
        flex-direction: column;
        align-items: center;*/ /* center the cards horizontally */
    /*}

        .mobile-card-table .mud-table-root tbody tr {
            display: block !important;
            background-color: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            margin-bottom: 20px;
            width: 100%;
            max-width: 600px;*/ /* limit the width of the card */
        /*}

        .mobile-card-table .mud-table-root tbody td {
            display: flex;
            justify-content: space-between;
            padding: 10px 16px;
            border-bottom: 1px solid #eee;
        }

            .mobile-card-table .mud-table-root tbody td:last-child {
                border-bottom: none;
            }
}*/

@media (max-width: 360px) {
    .mud-pie-chart {
    }

    .mud-pie-chart-skeleton {
        width: 100px !important;
        height: 100px !important;
    }

    .custom-common-mudpaper {
        padding: 16px;
        background-color: whitesmoke;
    }
}

/* Larger screens (tablets & desktops) */
@media (min-width: 361px) {
    .mud-pie-chart {
        width: 300px !important;
        height: 300px !important;
    }

    .mud-pie-chart-skeleton {
        width: 250px !important;
        height: 250px !important;
    }

    .custom-common-mudpaper {
        padding: 16px;
        background-color: whitesmoke;
    }
}



