html, body {
    font-family: 'MS Gothic', sans-serif, 'Helvetica Neue', Helvetica, Arial;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #007bff;
    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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.mud-popover .mud-list-item {
    font-size: 12px !important;
    line-height: 1.2rem; /* Optional: adjust spacing */
}

.table-padded td,
.table-padded th {
    padding: 1px; /* adjust as needed */
}

.save-message {
    font-weight: bold;
    font-size: 18px;
}

.disabled-link {
    pointer-events: none;
    color: gray;
    cursor: not-allowed;
    text-decoration: none;
}
.unread-message {
    font-weight: bold;
}

.read-message {
    font-weight: normal;
}
.email-selector-overlay {
    position: absolute;
    top: 40px; /* Adjust as needed */
    left: 55px;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
}
.hide-headers .mud-table thead {
    display: none;
}
.mud-table thead th {
    font-weight: bold !important;
}
.inline-file-input {
    display: inline-block;
    width: auto;
    padding: 0;
    margin-left: 5px;
    vertical-align: middle;
}
.overlay-container {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    min-height: 600px;
    box-sizing: border-box;
    
}
.compare-selector-overlay {
    position: absolute;
    top: 40px; /* Adjust as needed */
    left: 0px;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-height: 800px;
    overflow-y: auto;
}
.grid-wrapper {
    display: inline-block;
}
.responsive-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}
.property-view-wrapper {
    position: relative;
    z-index: 1;
}
.container {
    position: relative;
    z-index: 2;
}
.vendor-tile {
    width: 240px;
}

/* Grid layout with footer row spanning full width */
.page {
    display: grid;
    grid-template-columns: 250px minmax(0,1fr); /* sidebar + content */
    grid-template-rows: 1fr auto; /* content + footer */
    min-height: 100dvh;
}

.sidebar {
    grid-column: 1;
    grid-row: 1 / span 2;
}

main {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.app-footer {
    grid-column: 1 / -1;
    grid-row: 2;
    background: #261354;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.12);
}

/* Compact round social buttons */
.social-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* keep perfectly round */
}

@media (max-width: 991.98px) {
    .page {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    td.industry-cell {
        text-align: left !important;
        justify-content: flex-start !important;
    }

        td.industry-cell .mud-data-grid-cell,
        td.industry-cell .mud-table-cell {
            justify-content: flex-start !important;
            text-align: left !important;
        }
}

.industry-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* site.css (after MudBlazor) or YourComponent.razor.css with ::deep where needed */
/* Selected value (the closed select) */
/* Closed select (the visible input) */
.vendor-select-sm .mud-input-input,
.vendor-select-sm .mud-input-slot {
    font-size: 0.875rem; /* 14px-ish */
    line-height: 1.2;
}

/* Open dropdown menu (rendered in a portal/popover) */
.vendor-popover-sm .mud-list-item,
.vendor-popover-sm .mud-list-item-text,
.vendor-popover-sm .mud-list-item-text-primary {
    font-size: 0.875rem;
    line-height: 1.2;
}

/* Optional: make it even smaller on phones */
@media (max-width: 600px) {
    .vendor-select-sm .mud-input-input,
    .vendor-popover-sm .mud-list-item,
    .vendor-popover-sm .mud-list-item-text,
    .vendor-popover-sm .mud-list-item-text-primary {
        font-size: 0.8125rem; /* 13px */
    }
}

/* phones */
@media (max-width: 600px) {

    /* MudDataGrid mobile label element (newer versions) */
    tr.category-row .mud-data-grid-cell-label {
        display: none !important;
    }

    /* Fallback for versions that use data-label/::before on <td> */
    tr.category-row td::before {
        content: none !important;
        display: none !important;
    }
}

.thumb-link {
    display: inline-block;
    margin-right: .5rem;
}

.thumb-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.1);
}

.upload-btn {
    min-width: 110px;
}

.dueat-picker input {
    font-size: 0.75rem; /* or whatever size you like */
    padding-left: 4px;
    padding-right: 4px;
}

/* replace with your actual purple hex if different */
:root {
    --real-purple: #261354; /* example */
}

.task-grid-header-purple .mud-table-head {
    background-color: var(--real-purple);
}

.task-grid-header-purple .mud-table-head .mud-table-cell {
    background-color: var(--real-purple); /* ensures full cell fills */
    color: #ffffff;
    font-weight: 600;
}

/* optional: make header row a bit tighter */
.task-grid-header-purple .mud-table-head .mud-table-cell {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Bigger / bolder labels inside the filter row */
.task-filter-row .mud-input-control .mud-input-label {
    font-size: 1rem !important; /* adjust size to taste */
    font-weight: 600;
}

/* Optional: tweak animated label position/scale if needed */
.task-filter-row .mud-input-control .mud-input-label.mud-input-label-animated {
    transform: translateY(-4px) scale(1) !important;
}


:root {
    --real-purple2: #4b4bff; /* or your existing purple */
}

.filter-btn {
    background-color: var(--real-purple2) !important;
    color: #ffffff !important;
    font-size: 1rem;
    padding: 4px 10px;
    min-width: 0; /* no huge min-width */
    border-radius: 999px; /* more “pill” like, like your image */
}

    /* remove uppercase if you don’t want it */
    .filter-btn .mud-button-label {
        text-transform: none;
    }


/* Only affect this grid */
.task-grid-header-purple .stage-closing {
    background-color: #e8f5e9; /* light green */
}

.task-grid-header-purple .stage-contract {
    background-color: #e3f2fd; /* light blue */
}

.task-grid-header-purple .stage-due-diligence {
    background-color: #fffde7; /* light yellow */
}

.task-grid-header-purple .stage-financing {
    background-color: #e0f7fa; /* light cyan */
}

.task-grid-header-purple .stage-insurance {
    background-color: #fff3e0; /* light orange */
}

.task-grid-header-purple .stage-post-closing {
    background-color: #f5f5f5; /* light gray */
}

.task-grid-header-purple .stage-title-escrow {
    background-color: #f3e5f5; /* light purple */
}

/* optional – keep text readable if you ever go darker */
.task-grid-header-purple tr[class^="stage-"] td {
    color: #111;
}

.stage-key {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    align-items: center;
    vertical-align : central;
    padding: 6px 0;
}

/* Little circles */
.stage-swatch {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 4px;
    border: 1px solid #999;
}

/* Match row colors exactly */
.stage-swatch.stage-closing {
    background-color: #e8f5e9;
}

.stage-swatch.stage-contract {
    background-color: #e3f2fd;
}

.stage-swatch.stage-due-diligence {
    background-color: #fffde7;
}

.stage-swatch.stage-financing {
    background-color: #e0f7fa;
}

.stage-swatch.stage-insurance {
    background-color: #fff3e0;
}

.stage-swatch.stage-post-closing {
    background-color: #f5f5f5;
}

.stage-swatch.stage-title-escrow {
    background-color: #f3e5f5;
}

.stage-key-box {
    border: 2px solid var(--real-purple);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Each legend item */
.stage-key-box > div {
    display: flex;
    align-items: center; /* vertically centers text with circle */
    gap: 6px; /* space between circle and text */
    font-size: 0.85rem;
}

.email-row-label {
    flex: 0 0 90px; /* fixed width for label column */
    max-width: 90px;
}

.email-row-input {
    flex: 1 1 auto; /* fill the rest */
}

.email-label {
    width: 120px; /* adjust to your taste: 70–100px works well */
    text-align: right;
}

.debug * {
    border: 1px solid red !important;
}

.label-col {
    width: 500px; /* adjust until perfect */
    text-align: right;
}








