#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.3);
    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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTI4IDUzLjYyODMgMjkwLjg0NyA5Mi41MTg1QzI5MS43MzEgOTMuOTU0MSAyOTIgOTUuMzc1NCAyOTIgOTYuODU4NCAyOTIgOTguMzQxNSAyOTEuNTI4IDk5Ljc2MjggMjkwLjg0NyAxMDEuMTk4TDI2Ny41MjggMTQwLjA4OEMyNjYuNjQ0IDE0MS41MjQgMjY1LjM1NiAxNDIgMjY0LjA2NSAxNDJDMjYyLjc3NCAxNDIgMjYxLjQ4NiAxNDEuNTI0IDI2MC42MDIgMTQwLjA4OEwyMzcuMjgzIDEwMS4xOThDMjM2LjM5OSA5OS43NjI4IDIzNiA5OC4zNDE1IDIzNiA5Ni44NTg0IDIzNiA5NS4zNzU0IDIzNi4yNjkgOTMuOTU0MSAyMzcuMTUzIDkyLjUxODVMMjYwLjQ3MiA1My42MjgzQzI2MS4yMjcgNTIuMzgyMyAyNjIuMjk4IDUxLjYyNjMgMjYzLjUwNiA1MVoiIGZpbGw9IiNGRjAwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.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");
}

/* custom */
html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
h1:focus { outline: none; }

.brand-title {padding-left:unset; margin-left: -10px;}
.menu-title { font-size: 17px; margin-left: 20px; margin-top: 8px; font-style: italic; color: #ffffff; }
.page-title  {position:absolute; left:20px; font-size:24px; margin-top:8px; color:mediumpurple;}
.under-title {position:absolute; left:14px; font-size:22px; margin-top:-15px; margin-bottom:10px; color:mediumpurple;}

.nav-link {font-size:20px;}
a, .btn-link { color: #0071c1; }

.btn-primary { color: #fff; background-color: #1b6ec2; border-color: #1861ac; }
.btnSubmit {margin-bottom:20px; padding:5px 10px 5px 10px; background-color:#F0F8FF66; border:1px solid blue;    border-radius:4px; color:blue;     }
.btnCancel {margin-bottom:20px; padding:5px 10px 5px 10px; background-color:#eeeeee66; border:1px solid #aaaaaa; border-radius:4px; color:darkgray; }
.btnRemove {margin-bottom:20px; padding:5px 10px 5px 10px; background-color:#ffebee;   border:1px solid #d32f2f; border-radius:4px; color:#e57373; }
.errormessage {font-size:20px; margin-bottom:10px;}
.datamessage  {font-size:20px; margin-bottom:10px; max-width:60%;}

.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;
}
.btn-thin { height: 32px; padding-top: 4px; }

.content { padding-top: 1.1rem; }
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid red; }
.validation-message { color: red; }

/* date entry panel: default is for mobile  */
.mainform {padding:10px; max-width:100%; background-color:#F0F8FF66; border:1px solid blue; border-radius:4px;}
.deheader {padding:10px; max-width:100%; margin-left:-10px;}


.tblform {width: 80%; max-width:100%;}
.decell  {padding-bottom:10px;padding-left:8px;}

.ddl {top:-14px;} /* works for components */
.ddl-label {padding-bottom:15px; font-size: 20px; font-weight:500; vertical-align:middle;}
.delbl   {font-size: 18px; padding-left:10px; }
.mhide   {display:block;}

.mud-data-grid th { position: relative; left: 14px; font-weight:500; }
.mud-table-container {overflow-y:clip; } /*  width: 80%; */
.mud-table-root { width: 100%; border-right:1px solid #dddddd;}

.stdgrid {overflow-y:unset;}
.stdgridhdr {height:28px;max-height:28px;}
.stdgridrow {height:30px;max-height:30px;vertical-align:baseline;}
.datagrid {max-width:60%;}

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 6px 8px 6px 8px;
    padding-inline-start: 8px;
    padding-inline-end: 8px;
}

.dgcell    {padding: 6px 8px 6px 8px !important; height:30px; max-height:30px; font-size:16px;}
.dgcell1   {padding: 6px 2px 6px 2px; max-width:30px; max-height:36px;}
.dgcell30  {width:30px;  max-width:30px; }
.dgcell60  {width:60px;  max-width:60px; }
.dgcell80  {width:80px;  max-width:80px; }
.dgcell100 {width:100px; max-width:100px;}
.dgcell110 {width:110px; max-width:110px;}

.dgc30  {width:30px;  max-width:30px; }
.dgc60  {width:60px;  max-width:60px; }
.dgc80  {width:80px;  max-width:80px; }
.dgc100 {width:100px; max-width:100px;}
.dgc110 {width:110px; max-width:110px;}


.dghdr    {padding: 4px 8px 4px 8px; max-height:28px; margin-left:-5px; font-size:18px; left:0 !important;font-weight:600;}
.dghdr60  {width:60px;  max-width:60px; }
.dghdr80  {width:80px;  max-width:80px; }
.dghdr100 {width:100px; max-width:100px;}
.dghdr110 {width:110px; max-width:110px;}
.ctr {text-align:center;}
.lft {text-align: left;}
.lstitem {
    justify-content: flex-start !important;
    text-align: left;
}
.dgcellx {justify-content: flex-start; margin-left:-5px; left:0;}
.mud-button-label { justify-content: unset;}
.hvrbold:hover {font-weight:bold;cursor:pointer;}

/* custom attributes */
.wd300 {width:300px;}
.mw300 {max-width:300px;}
.ddl120 {width:120px;max-width:200px;}
.ddl200 {width:200px;max-width:300px;}
.ddl220 {width:220px;max-width:300px;}
.sq20 { width: 20px; height: 20px;}
.sq22 { width: 22px; height: 22px;}
.sq24 { width: 24px; height: 24px;}
.sq30 { width: 30px; height: 30px;}
.sq36 { width: 36px; height: 36px;}
.sq48 { width: 48px; height: 48px;}
.sq60 { width: 60px; height: 60px;}
.mb10 {margin-bottom:10px;}
.mb15 {margin-bottom:15px;}
.ml-5 {margin-left:-5px;}
.ml20 {margin-left:20px;}
.mr10 {margin-right:10px;}
.mt10 {margin-top:10px;}
.mt20 {margin-top:20px;}
.mt-20 {margin-top:-20px;}
.pl10 {padding-left:10px;}

/* Activity Cards */
.activity-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 600px;
}

.activity-card {
    height: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #f9f9f9;
    border: 1px solid mediumpurple;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(147, 112, 219, 0.4) ; /*     box-shadow: 0 4px 8px  rgba(0, 0, 0, 0.15); */
}

.activity-card .mud-card-content {
    padding: 12px 16px !important;
    width: 100%;
}

.activity-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    min-height: 24px;
}

.activity-card-abbr {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-card-icon {
    object-fit: contain;
}

.activity-card-title {
    font-weight: 500;
    color: #1b6ec2;
    line-height: 1.3;
    margin-top:-20px;
}
