html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #27325e;
    border-color: #27325e;
}

.btn-primary:hover {
    background-color: #1e2649;
    border-color: #1e2649;
}

.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;
}

/* ============================================
   Login Page Styles (matching PHP SRWeb)
   ============================================ */

.innovative-logo {
    max-width: 200px;
    width: 200px;
    height: auto;
}

.login-image {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.login-box {
    margin: 0 auto;
    border: 1px solid #27325e;
    border-radius: 0.25rem;
    padding: 0;
    min-width: 320px;
    max-width: 400px;
}

.login-box-header {
    background-color: #27325e;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    margin-bottom: 0;
}

.login-box-header h3 {
    margin: 0;
    color: #fff;
    padding: 10px;
}

.login-box-form {
    padding: 20px 40px;
}

.login-box-form .form-control {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.login-box-form .btn-primary {
    width: 100%;
    background-color: #27325e;
    color: #fff;
}

.login-box-form .btn-primary:hover {
    background-color: #1e2649;
}

/* ============================================
   Login Layout (full page background)
   ============================================ */

.login-page {
    min-height: 100vh;
    padding-top: 40px;
    background-color: #ffffff;
}

/* ============================================
   SR Detail Page Styles
   ============================================ */

.sr-detail {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.sr-header {
    border-bottom: 2px solid #27325e;
    padding-bottom: 1rem;
}

.sr-header h1 {
    color: #27325e;
    margin-bottom: 0.5rem;
}

.sr-header h2 {
    font-size: 1.25rem;
    font-weight: normal;
}

.sr-info dt {
    font-weight: 600;
    color: #27325e;
}

.sr-info dd {
    margin-bottom: 0.5rem;
}

/* ============================================
   Top Navigation Bar
   ============================================ */

.top-row {
    background-color: #27325e;
    color: white;
    height: 50px;
}

.top-row a {
    color: white;
}

.top-row a:hover {
    color: #ddd;
}

/* ============================================
   MudBlazor Global Style Fixes
   ============================================ */

/* Fix dropdown/select transparent backgrounds */
.mud-select .mud-input-control,
.mud-select input,
.mud-select-input,
.mud-input-control,
.mud-popover-open,
.mud-list,
.mud-menu-list,
.mud-select-menu,
.mud-autocomplete-menu {
    background-color: white !important;
}

/* Fix MudSelect dropdown menu */
.mud-popover .mud-list {
    background-color: white !important;
}

/* Fix MudSelect input field */
.mud-select .mud-input-slot {
    background-color: white !important;
}

/* Ensure all input controls have white background */
.mud-input-control-input-container {
    background-color: white !important;
}

/* ============================================
   Fix floating label cutoff on outlined inputs
   The label floats above the border and needs visible overflow
   ============================================ */

/* Allow floating labels to be visible above the input border */
.mud-input-control {
    overflow: visible !important;
}

/* The input wrapper also needs visible overflow for the label */
.mud-input {
    overflow: visible !important;
}

/* Specifically for select/autocomplete outlined variants */
.mud-select.mud-input-outlined .mud-input-control,
.mud-autocomplete.mud-input-outlined .mud-input-control {
    overflow: visible !important;
}

/* Fix modal/dialog transparent backgrounds */
.mud-dialog {
    background-color: white !important;
}

.mud-dialog-content {
    background-color: white !important;
}

.mud-dialog-actions {
    background-color: white !important;
}

.mud-dialog-title {
    background-color: white !important;
}

/* MudPaper should have white background */
.mud-paper {
    background-color: white !important;
}

/* MudCard should have white background */
.mud-card {
    background-color: white !important;
}

/* ============================================
   Tab Container Scrollbar Fix
   ============================================ */

/* Hide vertical scrollbar in tab-content that isn't needed */
.tab-content::-webkit-scrollbar {
    width: 8px;
}

.tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tab-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Only show scrollbar when content overflows */
.tab-content {
    scrollbar-gutter: stable;
}

/* ============================================
   MudBlazor Dropdown/Popover Styling
   Uses SRWeb color scheme (#c8dceb)
   ============================================ */

/* Style all MudBlazor popovers (dropdowns, menus, calendars) */
/* z-index must be higher than mud-overlay (1400) to allow clicks */
.mud-popover {
    background-color: #c8dceb !important;
    border: 1px solid #27325e !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    z-index: 1500 !important;
    margin-top: 2px !important;
}

/* Style the list inside dropdowns */
.mud-popover .mud-list {
    background-color: #c8dceb !important;
}

/* Style individual list items */
.mud-popover .mud-list-item {
    background-color: #c8dceb !important;
}

/* Hover state for list items - must be visually distinct */
.mud-popover .mud-list-item:hover {
    background-color: #a8c4db !important;
}

/* Selected state for list items */
.mud-popover .mud-list-item.mud-selected {
    background-color: #88b4d1 !important;
}

/* Calendar/Date picker styling - only style the opened calendar popover */
.mud-picker-popover {
    background-color: #c8dceb !important;
    border: 1px solid #27325e !important;
}

.mud-picker-popover .mud-picker-content {
    background-color: #c8dceb !important;
}

.mud-picker-popover .mud-picker-calendar {
    background-color: #c8dceb !important;
}

.mud-picker-popover .mud-picker-calendar-header {
    background-color: #b8d0e5 !important;
}

/* Ensure date picker input field has white background */
.mud-picker .mud-input-control,
.mud-picker-input .mud-input-control {
    background-color: white !important;
}

.mud-picker .mud-input-slot,
.mud-picker-input .mud-input-slot {
    background-color: white !important;
}

/* Autocomplete dropdown */
.mud-autocomplete-popover {
    background-color: #c8dceb !important;
    border: 1px solid #27325e !important;
}

/* Menu dropdown */
.mud-menu {
    background-color: #c8dceb !important;
    border: 1px solid #27325e !important;
}

/* Select dropdown menu */
.mud-select-menu {
    background-color: #c8dceb !important;
}

/* ============================================
   Fix double scrollbar in MudBlazor dropdowns
   ============================================ */

/* Hide scrollbar on ALL outer containers - only inner list should scroll */
.mud-popover {
    overflow: hidden !important;
}

.mud-popover > .mud-paper {
    overflow: hidden !important;
}

.mud-popover .mud-paper {
    overflow: hidden !important;
}

.mud-popover-cascading-value {
    overflow: hidden !important;
}

.mud-select-menu {
    overflow: hidden !important;
}

/* The inner list handles scrolling - this is the ONLY scrollbar */
.mud-popover .mud-list {
    max-height: 300px;
    overflow-y: auto !important;
}

/* Select input container needs overflow visible for floating labels */
.mud-select .mud-input-control {
    overflow: visible !important;
}

/* ============================================
   Fix for MudBlazor outlined input label cutoff
   The floating label needs more vertical space
   ============================================ */

/* REMOVED: These overrides caused label overlap in dialogs
   MudBlazor handles floating labels correctly by default. */

/* ============================================
   Dialog Tab Styling (custom bordered tabs)
   Matches main navigation tab style per Rule 16
   ============================================ */

.dialog-tabs-container {
    display: flex;
    flex-direction: column;
    height: 500px;
    min-width: 700px;
    background-color: white;
}

.dialog-tab-bar {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    padding: 4px 4px 0 4px;
    gap: 2px;
    flex-shrink: 0;
}

.dialog-tab {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    position: relative;
    margin-bottom: -1px;
    color: #6c757d;
    font-weight: normal;
    -webkit-user-select: none;
    user-select: none;
    z-index: 1;
}

.dialog-tab:hover {
    background-color: #fff;
}

.dialog-tab.active {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    z-index: 2;
    font-weight: 700;
    color: #27325e;
    border-top: 3px solid #27325e;
}

.dialog-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
}

/* ============================================
   MudBlazor Snackbar Styling
   Colored backgrounds for better visibility
   ============================================ */

/* Success/Info/Warning snackbar - green background (good/neutral messages) */
.mud-snackbar.mud-alert-filled-success,
.mud-snackbar.mud-alert-filled-info,
.mud-snackbar.mud-alert-filled-warning {
    background-color: #2e7d32 !important;
    color: white !important;
}

/* Error snackbar - red background (bad messages) */
.mud-snackbar.mud-alert-filled-error {
    background-color: #d32f2f !important;
    color: white !important;
}

/* ============================================
   SRM Grid Styling (matching PHP SRWeb)
   Strong header with alternating row colors
   Sticky header - only body rows scroll
   ============================================ */

/* Grid header - navy background with white text, STICKY */
.srm-grid .mud-table-head {
    background-color: #27325e !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

.srm-grid .mud-table-head th {
    background-color: #27325e !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border-bottom: none !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

.srm-grid .mud-table-head .mud-table-sort-label {
    color: white !important;
}

.srm-grid .mud-table-head .mud-table-sort-label:hover {
    color: #c8dceb !important;
}

.srm-grid .mud-table-head .mud-button-root {
    color: white !important;
}

/* Alternating row colors */
.srm-grid .mud-table-body tr:nth-child(odd) {
    background-color: #ffffff !important;
}

.srm-grid .mud-table-body tr:nth-child(even) {
    background-color: #f0f4f8 !important;
}

/* Row hover effect */
.srm-grid .mud-table-body tr:hover {
    background-color: #c8dceb !important;
}

/* Cell padding and borders */
.srm-grid .mud-table-body td {
    padding: 8px 16px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* Pager styling */
.srm-grid .mud-table-pagination {
    background-color: #f5f5f5 !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* Downloads grid - columns shrink to content, empty space on right */
.downloads-grid {
    width: 100%;
}

.downloads-grid .mud-table {
    table-layout: auto;
}

/* ============================================
   Horizontal Splitter / Resizer
   ============================================ */

.splitter-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill the tab-panel container */
    overflow: hidden;
    padding-bottom: 8px; /* Ensure content doesn't touch viewport edge */
}

.splitter-panel-top {
    flex-shrink: 0;
    overflow: auto;
    min-height: 100px;
}

.splitter-handle {
    height: 8px;
    background: linear-gradient(to bottom, #e0e0e0, #d0d0d0);
    cursor: ns-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    -webkit-user-select: none;
    user-select: none;
}

.splitter-handle:hover {
    background: linear-gradient(to bottom, #c8dceb, #a8c4db);
}

.splitter-handle::before {
    content: "";
    width: 40px;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        #888,
        #888 2px,
        transparent 2px,
        transparent 6px
    );
    border-radius: 2px;
}

.splitter-panel-bottom {
    flex: 1;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

/* Splitter panel grids - proper scrolling with sticky headers */
.splitter-panel-bottom .mud-paper {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.splitter-panel-bottom .srm-grid {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.splitter-panel-bottom .srm-grid .mud-table-container {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.splitter-panel-bottom .srm-grid .mud-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
}

.splitter-panel-bottom .srm-grid .mud-table-head th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #27325e !important;
}

/* ============================================
   Global Tab Styling
   Consistent active tab appearance across all tabs
   ============================================ */

/* MudTabs - Active tab styling */
.mud-tabs .mud-tab.mud-tab-active {
    font-weight: 700 !important;
    color: #27325e !important;
    border-top: 3px solid #27325e !important;
}

/* MudTabs - Inactive tab styling */
.mud-tabs .mud-tab:not(.mud-tab-active) {
    color: #6c757d !important;
    font-weight: normal !important;
}

/* MudTabs - Tab indicator (the sliding bar under tabs) */
.mud-tabs .mud-tab-slider {
    background-color: #27325e !important;
    height: 3px !important;
}

/* Bootstrap nav-tabs - Active styling */
.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: normal;
}

.nav-tabs .nav-link.active {
    font-weight: 700 !important;
    color: #27325e !important;
    border-top: 3px solid #27325e !important;
    background-color: #fff;
}

/* ============================================
   Dialog z-index and positioning
   Ensure dialogs are centered in viewport
   Popovers (dropdowns) inside dialogs must be highest
   ============================================ */

/* Dialog overlay (backdrop) - fixed to viewport */
.mud-overlay.mud-overlay-dialog {
    z-index: 1300 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Dialog container - fixed positioning, anchored to top of viewport */
.mud-dialog-container {
    z-index: 1400 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 8vh !important;
    padding-left: 3vw !important;
    padding-right: 3vw !important;
    padding-bottom: 3vh !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}

/* Dialog itself - ensure it doesn't exceed viewport */
.mud-dialog {
    z-index: 1400 !important;
    max-height: 85vh !important;
    margin: 0 !important;
    overflow: auto !important;
    flex-shrink: 0 !important;
}

/* Ensure MudBlazor filled buttons have proper styling with standard shading (override Bootstrap) */
.mud-button-filled {
    border: none !important;
    padding: 6px 16px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12) !important;
}

.mud-button-filled:hover {
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12) !important;
}

.mud-button-filled:disabled {
    background-color: rgba(0, 0, 0, 0.12) !important;
    color: rgba(0, 0, 0, 0.26) !important;
    box-shadow: none !important;
}

/* Popovers (dropdowns) must be ABOVE dialogs so they're visible */
.mud-popover {
    z-index: 1500 !important;
}

/* ============================================
   Tab Content - No main scrollbar
   Individual sections/grids should scroll
   ============================================ */

/* MudContainer inside tabs should fill height and allow sections to scroll */
.tab-content > div,
.tab-content .mud-container {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Filter sections (with mb-* margin class) should NOT grow - only take space they need */
/* Add padding-top for floating labels to have room above the input border */
.tab-content .mud-paper.mb-1,
.tab-content .mud-paper.mb-2,
.tab-content .mud-paper.mb-3,
.tab-content .mud-paper.mb-4,
.tab-content .mud-paper.mb-5,
.tab-content .mud-paper.mb-6,
.tab-content .mud-stack.mb-1,
.tab-content .mud-stack.mb-2,
.tab-content .mud-stack.mb-3,
.tab-content .mud-stack.mb-4,
.tab-content .mud-stack.mb-5,
.tab-content .mud-stack.mb-6 {
    flex: 0 0 auto;
    overflow: visible;
    padding-top: 8px !important;
}

/* Main content paper (no mb-* margin) should grow to fill remaining space */
.tab-content .mud-paper:not(.mb-1):not(.mb-2):not(.mb-3):not(.mb-4):not(.mb-5):not(.mb-6) {
    overflow: hidden;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Toolbar row inside main content should NOT scroll */
.tab-content .mud-paper:not(.mb-1):not(.mb-2):not(.mb-3):not(.mb-4):not(.mb-5):not(.mb-6) > .mud-stack {
    flex: 0 0 auto;
}

/* Grid container should grow - scrolling handled by inner container */
.tab-content .mud-paper:not(.mb-1):not(.mb-2):not(.mb-3):not(.mb-4):not(.mb-5):not(.mb-6) > .mud-table,
.tab-content .mud-paper:not(.mb-1):not(.mb-2):not(.mb-3):not(.mb-4):not(.mb-5):not(.mb-6) .srm-grid {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* The MudTable container (inner div) is the scroll area */
.tab-content .srm-grid .mud-table-container {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* Sticky header - stays fixed while body rows scroll */
.tab-content .srm-grid .mud-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
}

.tab-content .srm-grid .mud-table-head th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #27325e !important;
}

/* Custom tab containers (like Company Info) should grow to fill space */
.tab-content .company-info-tabs-container,
.tab-content [class*="-tabs-container"] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* ============================================
   SR Update Notification - Pulse Animation
   For tabs and grid rows with pending updates
   ============================================ */

/* Keyframe animation for pulsing glow */
@keyframes sr-notification-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Tab with pending SR notification - pulsing glow */
.sr-notification-tab {
    animation: sr-notification-pulse 1.5s infinite;
    background-color: rgba(255, 193, 7, 0.15) !important;
    border-left: 3px solid #ffc107 !important;
}

/* Grid row with pending SR notification - pulsing background */
@keyframes sr-row-pulse {
    0% {
        background-color: rgba(255, 193, 7, 0.3);
    }
    50% {
        background-color: rgba(255, 193, 7, 0.1);
    }
    100% {
        background-color: rgba(255, 193, 7, 0.3);
    }
}

.sr-notification-row {
    animation: sr-row-pulse 1.5s infinite !important;
    border-left: 3px solid #ffc107 !important;
}

/* Override hover effect for notification rows */
.srm-grid .mud-table-body tr.sr-notification-row:hover {
    animation: none !important;
    background-color: #c8dceb !important;
}

/* Badge/indicator for tabs with notifications */
.sr-notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: #ffc107;
    border-radius: 50%;
    border: 2px solid white;
    animation: sr-notification-pulse 1.5s infinite;
}


/* User dropdown menu - remove MudBlazor default styling */
.user-dropdown-wrapper .mud-button-root {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: unset !important;
    padding: 4px 8px !important;
    color: #333 !important;
}

.user-dropdown-wrapper .mud-button-root:hover {
    background: transparent !important;
    background-color: rgba(0,0,0,0.04) !important;
}

.user-dropdown-wrapper .mud-button-label {
    color: #333 !important;
    text-transform: none !important;
    font-weight: normal !important;
}

/* ============================================
   Download Links in SR Text
   Auto-linked filenames to downloadable files
   ============================================ */

/* Download link styling */
.download-link {
    color: #006bb7 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.download-link:hover {
    color: #004080 !important;
    text-decoration: underline !important;
}

/* Multiple files indicator */
.download-link.download-multiple::after {
    content: " \25BC"; /* Down arrow */
    font-size: 0.7em;
    vertical-align: middle;
}

/* Download dropdown menu */
.download-dropdown {
    background-color: #fff;
    border: 1px solid #27325e;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    max-width: 300px;
}

.download-dropdown-header {
    padding: 5px 10px;
    background-color: #27325e;
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.download-dropdown-option {
    padding: 5px 10px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
}

.download-dropdown-option:last-child {
    border-bottom: none;
}

.download-dropdown-option:hover {
    background-color: #c8dceb;
}

.download-dropdown-option strong {
    color: #27325e;
    font-size: 12px;
}

.download-dropdown-option small {
    color: #888;
    font-size: 10px;
    display: block;
    margin-top: 1px;
}

/* ============================================
   Login Page - Responsive Logo
   Hide left logo column on smaller screens
   ============================================ */

.login-page .logo-left-column {
    display: none !important;
}

@media screen and (min-width: 992px) {
    .login-page .logo-left-column {
        display: flex !important;
    }
}

