﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


.animate-on-load {
    animation: fadeIn 0.4s ease-in-out;
}

.sidebar-item-header
{
    color: #02579B;
    font-size: 18px;
    font-weight: 1000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hide-panel
{
    display:none !important;
}

.moderncard1
{
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.12);  
    padding: 16px 24px !important;
}

/*.mud-popover.mud-popover-open*/
/*{*/
/*    z-index:5000 !important;*/
/*}*/


.backbutton-title.ios.mud-button-text.mud-button-text-dark
{
    /*padding:0px;*/
    /*margin:0px;*/
    /*font-size: 14px;*/
    text-transform: none !important;
}

.mud-button-outlined.circularbutton{
    border-radius: 10px  !important;
    width: 50px;
    border: none  !important;
    text-transform: none;
}
.mud-button-outlined.circularbutton:hover
{
    border-radius: 10px !important;
    width: 50px;
    border: none !important;
    color: #0a58ca;
}

.mud-button-outlined.emphasized{
    border-radius: 10px  !important; 
    background-color: #EBEBED !important;
    border: none  !important;
}
.mud-button-outlined.emphasized:hover
{
    border-radius: 10px !important; 
    border: none !important;
    color: #0a58ca;
}

.backbutton-title.ios.mud-button-text.mud-button-text-dark:hover
{
    color: #0a53be;
    background: transparent !important;
    /*padding:0px;*/
    /*margin:0px;*/
    /*font-size: 14px;*/
}

.dynamicform-report { 
    width: 100%;
    border-collapse: collapse;
    font-family: 'Ubuntu', sans-serif;
    color: #666;
    /*background-color: #f9f9f9;*/
}

.dynamicform-report td {
    padding: 0px;
    vertical-align: top;
    line-height: 1.5;
}

.encountercard-itemtitle { 
    color: black; /* #999;*/
    text-transform: uppercase;
    font-size: 16px !important;
    font-weight: 500  !important;
}

#strip-html-container {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    /*color: #222 !important;*/
}

#strip-html-container * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    /*color: inherit !important;*/
}

.encountercard-sectiontitle {
    color: white;
    /*text-transform: uppercase;*/
    font-size: 18px !important;
    background: #02579B;
    width: max-content !important;
    display: inline;
    border-radius: 4px;
    padding: 8px;
    font-weight: 1000 !important;
    position: relative; 
    /*margin-top: 10px !important; */
}

/*.encountercard-sectiontitle::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    bottom: 0;*/
/*    height: 3px;*/
/*    width: 50px; !* Adjust as needed *!*/
/*    background-color: black;*/
/*    border-radius: 2px;*/
/*}*/


.dynamicform-report td:first-child {
    width: 200px;
    color: #999;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

.dynamicform-report td:last-child {
    padding-left: 10px;
    width: auto;
    color: #555;
}


*:focus {
    outline: none;
}

*:focus-visible {
    outline: none;
}

.mud-dialog-centerright
{
    padding-right: 0px !important; 
}

.dropdown-option.deselect {
    color: red;
    font-weight: bold;
}
 


.tinymce-smartlist-placeholder 
{
    background-color: #e7f3fe;
    /*border: 1px dashed #007bff;*/
    /*padding: 2px 4px;*/
    /*cursor: pointer;*/
}

.dropdown-menu {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    position: absolute; /* Relative positioning inside the container */
    background: #fff;
    border: 1px solid #ccc;
    z-index: 5000 !important; /* Ensure it’s above other elements */
    visibility: visible; /* Ensure visibility */
    display: block; /* Ensure the dropdown is rendered */
    width: 200px; /* Optional: Define a width */
    max-width: 250px; /* Optional: Prevent the dropdown from getting too wide */
    font-family: Arial, sans-serif; /* Ensure a clean font */
    font-size: 14px; /* Adjust for readability */
}
.dropdown-option {
    padding: 5px 10px; /* Spacing for options */
    cursor: pointer; /* Pointer cursor for options */
    transition: background-color 0.2s ease; /* Smooth hover effect */
}
.dropdown-option:hover {
    background-color: #f1f1f1; /* Light gray background on hover */
}

.dropdown-option.selected {
    background-color: #e0e0e0;
}

/* Ensure the overlay itself is transparent; we'll animate a layer on top */
.dialog-overlay-light-backgroundcolor {
    background: transparent !important;
    position: fixed; /* overlay already is, but ensure the ::after positions correctly */
    inset: 0;
}

/* Animated film */
.dialog-overlay-light-backgroundcolor::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.10); /* target dim */
    opacity: 0;
    animation: atd-overlay-fade-in 100ms ease-out forwards;
}

@keyframes atd-overlay-fade-in {
    to { opacity: 1; }
}

.mud-popover.mud-popover-open
{
    border-radius: 20px !important;
}

.mud-popover .mud-list
{
    padding: 0px !important;
}

/*.dialog-overlay-light-backgroundcolor {*/
/*    !*background-color: rgba(238, 238, 238, 0.2) !important; !*ήταν 0.2 το opacity *!*!*/

/*    background: rgba(0, 0, 0, 0.1); !* very light dim *!*/
/*    !*backdrop-filter: blur(2px);      !* optional: soft blur *!*!*/
/*    !*-webkit-backdrop-filter: blur(2px);*!*/
/*    */
/*    */
/*    !*backdrop-filter: blur(10px); !* Adds a soft modern blur *!*!*/
/*    !*-webkit-backdrop-filter: blur(10px); !* Ensures compatibility with Safari *!*!*/
/*}*/

.dialog-overlay-light-backgroundcolor .mud-overlay-scrim.mud-overlay-dark {
    background-color: inherit !important;
    background: inherit !important; 
}

.dialog-overlay-no-backgroundcolor {
    background-color: transparent !important;
}

.dialog-overlay-no-backgroundcolor .mud-overlay-scrim.mud-overlay-dark {
    background-color: inherit !important;
    background: inherit !important;
}
 


.mud-dialog.atdpopup { 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.12);  
    min-height: 20% !important;
    overflow-y:hidden;  
    border-radius: 20px;
    background-color: white !important;  
    border: 1px solid rgba(255, 255, 255, 0.18); 
}

.atdpopup .mud-dialog-content {
    flex: 1;                /* take the free space in the paper */
    display: flex;
    flex-direction: column;
    min-height: 0;          /* critical so inner flex items can shrink */
}





.mud-dialog.mud-dialog-atdmodern {
    /*display: flex;*/
    /*align-self: center; !* Center content vertically *!*/
    justify-content: center; /* Center content horizontally */
    /*box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); !* Soft shadow for depth *!*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.12); /* Soft shadow for depth */
    /*height: 98vh;*/
    max-height: 100vh !important;
    height:100%;
    overflow-y:hidden;
    justify-content: stretch;
    /* Rounded corners */
    border-radius: 20px;

    /* Light Glass effect */
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    /*background-color: rgba(255, 255, 255, 0.35); !* Subtle frosted white *!*/
    background-color: #F2F4F8; /*   rgba(238, 238, 238, 0.75); Subtle frosted white */

    /* Optional border to add subtle structure */
    border: 1px solid rgba(255, 255, 255, 0.18);

    /*!* Dark glass effect *!*/
    /*-webkit-backdrop-filter: blur(20px) saturate(150%);*/
    /*backdrop-filter: blur(20px) saturate(150%);*/
    /*background-color: rgba(0, 0, 0, 0.3); !* Darker frosted black *!*/

    /*!* Subtle border for structure *!*/
    /*border: 1px solid rgba(255, 255, 255, 0.12);*/
}


.atd-dialog-close-button
{
    border-radius: 10px !important;
    padding: 5px !important;
    background-color:#EEEEEE !important;
    color: #000 !important;
    /*box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.12);*/
}

.mud-dialog.mud-dialog-atdmodern.atd-embedwrapper {
     max-width: 98vw !important;
    max-height: 98vh !important;
    min-height: 30% !important;
    height: unset !important;
    /*border-radius: 20px 20px 0px 0px;*/
    /*max-height: calc(100vh - 20px) !important;*/
    /*margin-top: 20px;*/
}


@media (max-width: 800px) {
    .mud-dialog.mud-dialog-atdmodern.atd-embedwrapper {
        width: 100vw !important;
        /*border-radius: 10px;*/
        max-height: 100vh !important;
        height: 100vh !important;
        margin-top: 0px;
        /*border-radius: 20px 20px 0px 0px;*/
        /*max-height: calc(100vh - 20px) !important;*/
        /*margin-top: 20px;*/
    }
}
 

.tox-tinymce-aux
{
    z-index: 4000 !important;
}

.tox.tox-tinymce-aux .tox-menu.tox-collection {
    z-index: 4000 !important;
}

.mud-dialog.mud-dialog-atdmodern.atdfullheight 
{ 
    height: 100vh !important;
    overflow-y:hidden !important;
    /* Rounded corners */
    border-radius: 0px;  
    /*right: inherit !important;*/
    /*top: 0 !important;*/
    max-width:100vw !important;
    /*position: absolute !important;*/
    width: 800px;
}

.mud-dialog.mud-dialog-atdmodern.atdfullheight.left-sidebar
{
    height: 100vh !important;
    overflow-y:hidden !important;
    /* Rounded corners */
    border-radius: 0px;
    left: inherit !important; /*LEFT NEEDS TO BE INHERIT for it to work in CenterLeft position...*/
    /*right: inherit !important;*/
    /*top: 0 !important;*/
    max-width:100vw !important;
    /*position: absolute !important;*/
    width: 800px;
}



.atd-my-modern-table.mud-table {
    background-color: inherit !important; /* keep the same background as the container */
}

.atd-my-modern-table .mud-table-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    background: #fff; /* #fff Ensure white background */
}

/* Table headers */
.atd-my-modern-table th {
    background-color: #C8E6C9; /* Light gray  #f9f9f9 for header background */
    font-weight: 800;
    color: #333;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Table cells */
.atd-my-modern-table td {
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #555;
    padding: 0.75rem;
}

/* Remove default borders if desired, since we use subtle lines */
.atd-my-modern-table .mud-table-root {
    border: none;
}

/* Hover effect on rows */
.atd-my-modern-table tr:hover:not(:first-child) td {
    background-color: #fafafa; /* Slightly lighter on hover */
}









.masonry {
    column-count: 2; /* Number of columns */
    column-gap: 32px; /* Gap between columns */
    row-gap: 32px;
    /*display: grid; */
    /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    /*grid-template-rows: masonry;*/
    /*gap: 16px; !* Adjust gap between cards *!*/
}

.masonry-item {
    display: inline-block;
    width: 100%; /* Ensure items fill the column width */
    margin-bottom: 32px; /* Vertical gap */
    break-inside: avoid;
    background: transparent;
    /*padding: 16px;*/
    /*border: 1px solid #ccc;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

/* Responsive adjustments */
@media (max-width: 1500px) {
    .masonry {
        column-count: 2; /* Reduce to 3 columns */
        column-gap: 32px; /* Gap between columns */
        row-gap: 32px;
    }
}

@media (max-width: 900px) {
    .masonry {
        column-count: 1; /* Reduce to 2 columns */
        column-gap: 32px; /* Gap between columns */
        row-gap: 32px;
    }
}

@media (max-width: 600px) {
    .masonry {
        column-count: 1; /* Single column on smaller screens */
        column-gap: 32px; /* Gap between columns */
        row-gap: 32px;
    }
}

@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Bold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'SFProText';
    src: url('../resources/fonts/sfprotext/SF-Pro-Text-Black.woff') format('woff');
    font-weight: 1000;
    font-style: normal;
    font-display: block;
}


@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Black.woff2') format('woff2');
    font-weight: 1000;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Medium.woff2') format('woff2'), url('../resources/fonts/sfprorounded/SFRounded-Medium.woff') format('woff'), url('../resources/fonts/sfprorounded/SFRounded-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Regular.woff2') format('woff2'), url('../resources/fonts/sfprorounded/SFRounded-Regular.woff') format('woff'), url('../resources/fonts/sfprorounded/SFRounded-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Light.woff2') format('woff2'), url('../resources/fonts/sfprorounded/SFRounded-Light.woff') format('woff'), url('../resources/fonts/sfprorounded/SFRounded-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFRounded';
    src: url('../resources/fonts/sfprorounded/SFRounded-Semibold.woff2') format('woff2'), url('../resources/fonts/sfprorounded/SFRounded-Semibold.woff') format('woff'), url('../resources/fonts/sfprorounded/SFRounded-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-HeavyItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-RegularItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'SFProDisplay';
    src: url('../resources/fonts/sf/SFProDisplay-SemiboldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: block;
}




html, body {
    font-family: 'Ubuntu', 'SFRounded', Verdana, Geneva, Tahoma, sans-serif;
    /*background-color: #e0e0e0;*/
    /*, 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}

.appHeading1
{
    font-family: 'Ubuntu', 'Roboto'  !important;
    font-weight: 1000 !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.atd-modern-table2.mud-table {
    background-color: inherit !important; /* keep the same background as the container */
}

.atd-modern-table2 .mud-table-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    background: #fff; /* #fff Ensure white background */
}

/* Table headers */
.atd-modern-table2 th {
    background-color: #201F3B; /* Light gray  #f9f9f9 for header background */
    font-weight: 800;
    color: white !important;
    border-bottom: 1px solid #eee;
    /*text-transform: uppercase;*/
    font-size: 0.9rem;
    padding: 4px 16px;
    letter-spacing: 0.5px;
}

/* Table cells */
.atd-modern-table2 td {
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #555;
    padding: 0.75rem;
}

/* Remove default borders if desired, since we use subtle lines */
.atd-modern-table2 .mud-table-root {
    border: none;
}

/* Hover effect on rows */
.atd-modern-table2 tr:hover:not(:first-child) td {
    background-color: #fafafa; /* Slightly lighter on hover */
}










@container (max-width: 575.98px) {
    .container-hidden-below-xs {
        display: none !important;
    }
}

@container (min-width: 576px) {
    .container-hidden-above-xs {
        display: none !important;
    }
}

@container (max-width: 767.98px) {
    .container-hidden-below-sm {
        display: none !important;
    }
}

@container (min-width: 768px) {
    .container-hidden-above-sm {
        display: none !important;
    }
}

@container (max-width: 991.98px) {
    .container-hidden-below-md {
        display: none !important;
    }
}

@container (min-width: 992px) {
    .container-hidden-above-md {
        display: none !important;
    }
}

@container (max-width: 1199.98px) {
    .container-hidden-below-lg {
        display: none !important;
    }
}

@container (min-width: 1200px) {
    .container-hidden-above-lg {
        display: none !important;
    }
}

@container (max-width: 1399.98px) {
    .container-hidden-below-xl {
        display: none !important;
    }
}

@container (min-width: 1400px) {
    .container-hidden-above-xl {
        display: none !important;
    }
}

/* For XXL, only hide above since there's no upper limit */
@container (min-width: 1400px) {
    .container-hidden-above-xxl {
        display: none !important;
    }
}












/* Breakpoints match MudBlazor's default breakpoints */
/* Hidden below breakpoints (down) - FIXED to ensure there are no gaps */

/* xs-down: Hidden below xs (always hidden since xs is the smallest) */
.custom-hidden-xs-down {
    display: none !important;
}

/* sm-down: Hidden below sm (<600px) */
@media (max-width: 599.99px) {
    .custom-hidden-sm-down {
        display: none !important;
    }
}

/* md-down: Hidden below md (<960px) */
@media (max-width: 959.99px) {
    .custom-hidden-md-down {
        display: none !important;
    }
}

/* lg-down: Hidden below lg (<1280px) */
@media (max-width: 1279.99px) {
    .custom-hidden-lg-down {
        display: none !important;
    }
}

/* xl-down: Hidden below xl (<1920px) */
@media (max-width: 1919.99px) {
    .custom-hidden-xl-down {
        display: none !important;
    }
}

/* Hidden above breakpoints (up) - FIXED to ensure there are no gaps */

/* xs-up: Hidden above xs (≥0px - always hidden) */
.custom-hidden-xs-up {
    display: none !important;
}

/* sm-up: Hidden at sm and above (≥600px) */
@media (min-width: 600px) {
    .custom-hidden-sm-up {
        display: none !important;
    }
}

/* md-up: Hidden at md and above (≥960px) */
@media (min-width: 960px) {
    .custom-hidden-md-up {
        display: none !important;
    }
}

/* lg-up: Hidden at lg and above (≥1280px) */
@media (min-width: 1280px) {
    .custom-hidden-lg-up {
        display: none !important;
    }
}

/* xl-up: Hidden at xl and above (≥1920px) */
@media (min-width: 1920px) {
    .custom-hidden-xl-up {
        display: none !important;
    }
}



/* Display rules for specific breakpoints - each has its own visibility rules */

/* XS - Only visible on XS screens */
.custom-hidden-display-xs {
    display: none;
}
@media (max-width: 599.98px) {
    .custom-hidden-display-xs {
        display: block;
    }
}

/* SM - Only visible on SM screens and up */
.custom-hidden-display-sm {
    display: none;
}
@media (min-width: 600px) {
    .custom-hidden-display-sm {
        display: block;
    }
}

/* MD - Only visible on MD screens and up */
.custom-hidden-display-md {
    display: none;
}
@media (min-width: 960px) {
    .custom-hidden-display-md {
        display: block;
    }
}

/* LG - Only visible on LG screens and up */
.custom-hidden-display-lg {
    display: none;
}
@media (min-width: 1280px) {
    .custom-hidden-display-lg {
        display: block;
    }
}

/* XL - Only visible on XL screens */
.custom-hidden-display-xl {
    display: none;
}
@media (min-width: 1920px) {
    .custom-hidden-display-xl {
        display: block;
    }
}



/* https://dev.to/mhrastegari/net-maui-blazor-best-practices-for-mobile-ui-4def */

/*@supports (-webkit-touch-callout: none) {*/
/*    body {*/
/*        padding-top: env(safe-area-inset-top);*/
/*        padding-right: env(safe-area-inset-right);*/
/*        padding-bottom: env(safe-area-inset-bottom);*/
/*        padding-left: env(safe-area-inset-left);*/
/*    }*/
/*}*/

* {
    -webkit-tap-highlight-color: transparent;
}

/**:not(input) {*/
/*    user-select: none;*/
/*    -webkit-user-select: none;*/
/*}*/




/* Ubuntu Regular */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Ubuntu Italic */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Ubuntu Light */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Ubuntu Light Italic */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Ubuntu Medium */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Ubuntu Medium Italic */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Ubuntu Bold */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Ubuntu Bold Italic */
@font-face {
    font-family: 'Ubuntu';
    src: url('../resources/fonts/ubuntu/Ubuntu-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}



/* Style the outer wrapper too (helps with FixedHeader rounding) */
.modern-labs-table{
    border-radius:12px !important; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06) !important;
    border:1px solid #e5e7eb;
}

/* Container */
.modern-labs-table .mud-table-container{
    /* keep if you prefer the shadow/border here instead of on the root */
}

/* Header */
.modern-labs-table thead { background:#f9fafb; border-bottom:1px solid #e5e7eb; }
.modern-labs-table thead th{
    font-weight:600; color:#374151; padding:12px 16px; font-size:.9rem; background:#f9fafb;
}

/* Body cells */
.modern-labs-table tbody td{
    padding:10px 16px; border-bottom:1px solid #f0f0f0; font-size:.9rem; color:#1f2937;
    background:white; transition:background-color .15s ease;
}
.modern-labs-table tbody tr:hover td{ background:#f5f7fa; }

/* “main cells” soft fill (not first column) */
.modern-labs-table tbody td:not(:first-child){ background:#fafafa; }
.modern-labs-table tbody tr:nth-child(even) td:not(:first-child){ background:#f6f6f6; }

/* First column width */
.wide-first-column th:first-child,
.wide-first-column td:first-child{
    min-width:300px; width:300px; white-space:nowrap; font-weight:500;
}
