/* _content/HP.Ticket.Web/Pages/Admin/AuditLogs.razor.rz.scp.css */
.audit-table tr[b-72g43po7ba] {
  border-radius: 10px;
}
.audit-table td[b-72g43po7ba] {
  vertical-align: middle;
}
.audit-table .mud-chip[b-72g43po7ba] { 
  font-weight: 600;
}
/* _content/HP.Ticket.Web/Pages/Index.razor.rz.scp.css */
.dashboard-container[b-2xqkjahxdu] {
    padding: 20px 0;
}

.welcome-section[b-2xqkjahxdu] {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}

.dashboard-title[b-2xqkjahxdu] {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-subtitle[b-2xqkjahxdu] {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.dashboard-tagline[b-2xqkjahxdu] {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 10px;
}

.current-time[b-2xqkjahxdu] {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
}

.stats-card[b-2xqkjahxdu] {
    background: linear-gradient(45deg, var(--brand), var(--brand-600));
    color: var(--surface);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 120px;
}

.stats-card:hover[b-2xqkjahxdu] {
    transform: translateY(-5px);
}

.clickable-card[b-2xqkjahxdu] {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.clickable-card:hover[b-2xqkjahxdu] {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.clickable-card:active[b-2xqkjahxdu] {
    transform: translateY(-2px);
}

.card-hint[b-2xqkjahxdu] {
    font-size: 0.75rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-top: 4px;
    display: block;
}

.stats-card.bg-primary[b-2xqkjahxdu] {
    background: linear-gradient(45deg, #2c5282, #1e3a5f);
}

.stats-card.bg-warning[b-2xqkjahxdu] {
    background: linear-gradient(45deg, #f6ad55, #ed8936);
}

.stats-card.bg-info[b-2xqkjahxdu] {
    background: linear-gradient(45deg, #4299e1, #3182ce);
}

.stats-card.bg-success[b-2xqkjahxdu] {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

.stats-content[b-2xqkjahxdu] {
    display: flex;
    align-items: center;
    height: 100%;
}

.stats-icon[b-2xqkjahxdu] {
    font-size: 3rem;
    opacity: 0.8;
    margin-right: 20px;
}

.stats-info h3[b-2xqkjahxdu] {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.stats-info p[b-2xqkjahxdu] {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.section-title[b-2xqkjahxdu] {
    color: #333;
    font-weight: 600;
}

.action-tile[b-2xqkjahxdu] {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.action-tile:hover[b-2xqkjahxdu] {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tile-header[b-2xqkjahxdu] {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px 25px 20px 25px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.tile-header i[b-2xqkjahxdu] {
    font-size: 3rem;
    color: #6c757d;
    display: block;
    margin-bottom: 15px;
}

.tile-header h3[b-2xqkjahxdu] {
    font-size: 1.3rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.tile-content[b-2xqkjahxdu] {
    padding: 25px;
    text-align: center;
}

.tile-content p[b-2xqkjahxdu] {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tile-actions .btn[b-2xqkjahxdu] {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
}

/* Specific tile colors - Schelian IT corporate colors */
.ticket-management .tile-header i[b-2xqkjahxdu] { color: var(--brand); }
.profile-management .tile-header i[b-2xqkjahxdu] { color: #4299e1; }
.admin-management .tile-header i[b-2xqkjahxdu] { color: #ed8936; }
.support-tools .tile-header i[b-2xqkjahxdu] { color: #38a169; }
.search-tools .tile-header i[b-2xqkjahxdu] { color: #805ad5; }
.recent-activity .tile-header i[b-2xqkjahxdu] { color: #e53e3e; }

.search-form[b-2xqkjahxdu] {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .dashboard-title[b-2xqkjahxdu] {
        font-size: 2rem;
    }
    
    .stats-card[b-2xqkjahxdu] {
        margin-bottom: 15px;
    }
    
    .action-tile[b-2xqkjahxdu] {
        margin-bottom: 20px;
    }
}

/* _content/HP.Ticket.Web/Pages/Tickets/Edit.razor.rz.scp.css */
.select-option[b-0juynmh2ym] {
  display: inline-flex;
  align-items: center;
}
.select-option .dot[b-0juynmh2ym] {
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
}
.select-option span[b-0juynmh2ym] {
  display: inline-flex;
  align-items: center;
}

/* tighten list item spacing in MudSelect dropdown within this component */
[b-0juynmh2ym] .mud-popover .mud-list .mud-list-item {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 36px; /* a bit tighter than default */
}

.field-label[b-0juynmh2ym] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.field-label .mud-icon[b-0juynmh2ym] { color: var(--mud-palette-text-secondary); }
.required-star[b-0juynmh2ym] { color: var(--mud-palette-error); }
/* _content/HP.Ticket.Web/Pages/Tickets/Index.razor.rz.scp.css */
/* Virtual Scrolling Styles */
.cards-virtual-container[b-nuoqa2hcrn] {
    height: 70vh;
    overflow-y: auto;
}

.cards-virtual-container .mud-grid[b-nuoqa2hcrn] {
    height: 100%;
}

.board-virtual-container[b-nuoqa2hcrn] {
    height: 60vh;
    overflow-y: auto;
}

/* In component-scoped CSS we must use ::deep to style MudBlazor internals */
[b-nuoqa2hcrn](.tickets-table .mud-table-head .mud-table-cell),
:deep(.tickets-table .mud-table-head .mud-table-cell)[b-nuoqa2hcrn] {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
    /* dark slate gradient */
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    font-size: .84rem !important;
    padding: 12px 10px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

[b-nuoqa2hcrn](.tickets-table .mud-table-head),
:deep(.tickets-table .mud-table-head)[b-nuoqa2hcrn] {
    position: sticky;
    top: 0;
    z-index: 3;
}

/* Target MudBlazor table head explicitly to override theme */
.tickets-table .mud-table-head[b-nuoqa2hcrn],
.tickets-table .mud-table-head .mud-table-cell[b-nuoqa2hcrn] {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
    color: #ffffff !important;
}

/* Direct class on header cells for guaranteed override */
.tickets-th[b-nuoqa2hcrn] {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    font-size: .84rem !important;
    padding: 12px 10px !important;
    position: sticky;
    top: 0;
    z-index: 3;
}

.tickets-table .mud-table-head .mud-table-cell[b-nuoqa2hcrn] {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    font-size: .84rem !important;
    padding: 12px 10px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.tickets-table thead th:first-child[b-nuoqa2hcrn] {
    border-top-left-radius: 8px;
}

.tickets-table thead th:last-child[b-nuoqa2hcrn] {
    border-top-right-radius: 8px;
}

.tickets-table thead[b-nuoqa2hcrn] {
    box-shadow: 0 2px 0 rgba(0, 0, 0, .15);
}

.ticket-search-input[b-nuoqa2hcrn] {
    flex: 1 1 auto;
}

.ticket-filter-row[b-nuoqa2hcrn] {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--mud-palette-surface);
}

.search-filter-row[b-nuoqa2hcrn] {
    width: 100%;
}

.ticket-filter-row-content[b-nuoqa2hcrn] {
    gap: 16px;
}

.filter-badge[b-nuoqa2hcrn] {
    gap: 10px;
}

.ticket-filter-avatar[b-nuoqa2hcrn] {
    --mud-avatar-size: 40px;
    background: rgba(99, 102, 241, 0.12) !important;
    color: var(--mud-palette-primary) !important;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.filter-badge-text[b-nuoqa2hcrn] {
    font-weight: 600;
    color: var(--mud-palette-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.filter-divider[b-nuoqa2hcrn] {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
}

.ticket-filter-select[b-nuoqa2hcrn] {
    min-width: 240px;
    flex: 0 0 260px;
}

.ticket-filter-select[b-nuoqa2hcrn] (.mud-input-root),
.ticket-filter-select :deep(.mud-input-root)[b-nuoqa2hcrn] {
    width: 100%;
    margin: 0;
}

.filter-select-divider[b-nuoqa2hcrn] {
    margin: 4px 0;
}

.ticket-filter-row .column-reset-button[b-nuoqa2hcrn] {
    margin: 0;
}


@media (max-width: 900px) {
    .ticket-filter-row-content[b-nuoqa2hcrn] {
        flex-wrap: wrap;
        gap: 12px;
    }

    .filter-divider[b-nuoqa2hcrn] {
        display: none;
    }

    .ticket-filter-select[b-nuoqa2hcrn] {
        width: 100%;
    }
}

/* container rounding to emphasise header bar */
[b-nuoqa2hcrn](.tickets-table .mud-table-container),
:deep(.tickets-table .mud-table-container)[b-nuoqa2hcrn] {
    border-radius: 8px;
    overflow: hidden;
}

.tickets-table tbody tr[b-nuoqa2hcrn] {
    transition: background-color .15s ease, box-shadow .15s ease;
}

.tickets-table tbody tr:hover[b-nuoqa2hcrn] {
    background: rgba(99, 102, 241, 0.06);
    /* primary tint */
}

/* Subtle zebra striping is provided by Striped=true; tweak contrast */
.tickets-table tbody tr:nth-child(odd)[b-nuoqa2hcrn] {
    background-color: rgba(0, 0, 0, 0.015);
}

/* Row left accent by priority via inset shadow */
.tickets-table tbody tr.prio-critical[b-nuoqa2hcrn] {
    box-shadow: inset 4px 0 #ef4444;
}

.tickets-table tbody tr.prio-high[b-nuoqa2hcrn] {
    box-shadow: inset 4px 0 #f59e0b;
}

.tickets-table tbody tr.prio-medium[b-nuoqa2hcrn] {
    box-shadow: inset 4px 0 #10b981;
}

.tickets-table tbody tr.prio-low[b-nuoqa2hcrn] {
    box-shadow: inset 4px 0 #6b7280;
}

/* Title weight */
.tickets-table td:nth-child(2) .fw-semibold[b-nuoqa2hcrn] {
    font-weight: 600;
}

/* Compact action icons spacing */
.tickets-table td:last-child .mud-icon-button[b-nuoqa2hcrn] {
    margin-left: 4px;
}

/* Card View Styles */
[b-nuoqa2hcrn](.ticket-card) {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    /* Allows flex items to shrink below content size */
    max-width: 100%;
    /* Prevent cards from growing too wide */
    word-wrap: break-word;
    /* Force word wrapping */
    overflow-wrap: anywhere;
    /* Break long words anywhere */
}

[b-nuoqa2hcrn](.ticket-card:hover) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3);
}

[b-nuoqa2hcrn](.ticket-card .mud-card-content) {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Allows content to shrink */
    overflow: hidden;
}

/* System chip styling */
[b-nuoqa2hcrn](.chip-system) {
    font-weight: 600 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    max-width: 120px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 0;
}

/* All chips in regular cards - ensure they wrap properly */
[b-nuoqa2hcrn](.ticket-card .mud-chip) {
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 0 !important;
}

/* Target chips in chip-container specifically */
.chip-container .mud-chip[b-nuoqa2hcrn] {
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 0 !important;
}

/* Force title text to break in cards - more aggressive */
[b-nuoqa2hcrn](.ticket-card) .fw-bold,
[b-nuoqa2hcrn](.ticket-card) .mud-typography,
[b-nuoqa2hcrn](.ticket-card) .mud-typography-subtitle2 {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    width: 100% !important;
}

/* Ensure the title container doesn't grow beyond card width */
[b-nuoqa2hcrn](.ticket-card) .flex-grow-1,
[b-nuoqa2hcrn](.ticket-card) .mud-stack {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    width: 100% !important;
}

/* Force all text content in cards to respect boundaries */
[b-nuoqa2hcrn](.ticket-card) * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* All chips in board cards */
[b-nuoqa2hcrn](.board-ticket-card .mud-chip) {
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 0;
}

/* Footer styling */
.ticket-card-footer[b-nuoqa2hcrn] {
    margin-top: auto;
}

/* Description styling */
.ticket-desc[b-nuoqa2hcrn] {
    border-left: 3px solid rgba(99, 102, 241, 0.2);
    padding-left: 12px;
    margin: 12px 0;
    background: rgba(99, 102, 241, 0.03);
    border-radius: 0 6px 6px 0;
    padding: 8px 12px;
}

/* Chip container in regular cards - ensure proper wrapping */
.chip-container[b-nuoqa2hcrn] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

[b-nuoqa2hcrn](.ticket-card) .chip-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Priority card styling improvements */
[b-nuoqa2hcrn](.ticket-card[data-priority="Critical"]) {
    border-left: 4px solid #ef4444 !important;
}

[b-nuoqa2hcrn](.ticket-card[data-priority="High"]) {
    border-left: 4px solid #f59e0b !important;
}

[b-nuoqa2hcrn](.ticket-card[data-priority="Medium"]) {
    border-left: 4px solid #10b981 !important;
}

[b-nuoqa2hcrn](.ticket-card[data-priority="Low"]) {
    border-left: 4px solid #6b7280 !important;
}

/* Board View Styles */
[b-nuoqa2hcrn](.board-col) {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 500px;
    min-width: 320px;
    max-width: 360px;
    padding: 16px;
    /* Prevent interfering with drag images */
    contain: layout;
    isolation: isolate;
}

.board-header[b-nuoqa2hcrn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.board-list[b-nuoqa2hcrn] {
    min-height: 400px;
    transition: background-color 0.2s ease;
}

.board-list.dragover[b-nuoqa2hcrn] {
    background-color: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
}

/* Board Ticket Cards */
[b-nuoqa2hcrn](.board-ticket-card) {
    margin-bottom: 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: grab;
    background: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    /* Isolate for drag image */
    isolation: isolate;
    contain: layout style paint;
    position: relative;
    z-index: 1;
}

[b-nuoqa2hcrn](.board-ticket-card:hover) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3);
}

[b-nuoqa2hcrn](.board-ticket-card:active) {
    cursor: grabbing;
}

[b-nuoqa2hcrn](.board-ticket-card.dragover-card) {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2) !important;
}

/* Board ticket description */
.board-ticket-desc[b-nuoqa2hcrn] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 8px 10px;
    background: rgba(99, 102, 241, 0.03);
    border-radius: 6px;
    border-left: 3px solid rgba(99, 102, 241, 0.2);
    max-height: 3.2rem;
    overflow: hidden;
}

/* Board footer styling */
.board-ticket-footer[b-nuoqa2hcrn] {
    align-items: flex-end;
}

/* Priority borders for board cards */
[b-nuoqa2hcrn](.board-ticket-card[data-priority="Critical"]) {
    border-left: 4px solid #ef4444 !important;
}

[b-nuoqa2hcrn](.board-ticket-card[data-priority="High"]) {
    border-left: 4px solid #f59e0b !important;
}

[b-nuoqa2hcrn](.board-ticket-card[data-priority="Medium"]) {
    border-left: 4px solid #10b981 !important;
}

[b-nuoqa2hcrn](.board-ticket-card[data-priority="Low"]) {
    border-left: 4px solid #6b7280 !important;
}

/* Disabled board column */
[b-nuoqa2hcrn](.board-col.disabled) {
    opacity: 0.6;
    pointer-events: none;
}

/* Drag and drop improvements */
[b-nuoqa2hcrn](.board-ticket-card:is([draggable="true"])) {
    transform-origin: center center;
}

[b-nuoqa2hcrn](.board-ticket-card[draggable="true"]:active) {
    cursor: grabbing;
    opacity: 0.8;
}

/* Prevent text selection during drag */
[b-nuoqa2hcrn](.board-ticket-card[draggable="true"] *) {
    pointer-events: none;
    user-select: none;
}

/* Board responsive improvements */
@media (max-width: 768px) {
    .board[b-nuoqa2hcrn] {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    [b-nuoqa2hcrn](.board-col) {
        min-width: 300px;
        max-width: 300px;
        flex-shrink: 0;
    }

    [b-nuoqa2hcrn](.board-ticket-card .mud-chip) {
        max-width: 100px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    [b-nuoqa2hcrn](.board-col) {
        min-width: 280px;
        max-width: 280px;
    }

    [b-nuoqa2hcrn](.board-ticket-card .mud-chip) {
        max-width: 80px !important;
        font-size: 0.7rem !important;
    }
}

/* Linked Tickets Styling */
[b-nuoqa2hcrn](.linked-ticket-card) {
    transition: all 0.2s ease;
    border-radius: 8px !important;
    border: 1px solid var(--mud-palette-lines-default) !important;
    background: white !important;
    margin-bottom: 8px !important;
}

[b-nuoqa2hcrn](.linked-ticket-card:hover) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

[b-nuoqa2hcrn](.linked-ticket-card) .mud-typography {
    font-weight: 500 !important;
}

[b-nuoqa2hcrn](.linked-ticket-card) .mud-chip {
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    height: 24px !important;
}

/* Link button styling in linked tickets */
[b-nuoqa2hcrn](.linked-ticket-card) .mud-button-text {
    color: var(--mud-palette-primary) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

[b-nuoqa2hcrn](.linked-ticket-card) .mud-button-text:hover {
    text-decoration: underline !important;
}

/* Priority borders for linked ticket cards */
[b-nuoqa2hcrn](.linked-ticket-card[data-priority="Critical"]) {
    border-left: 4px solid #ef4444 !important;
}

[b-nuoqa2hcrn](.linked-ticket-card[data-priority="High"]) {
    border-left: 4px solid #f59e0b !important;
}

[b-nuoqa2hcrn](.linked-ticket-card[data-priority="Medium"]) {
    border-left: 4px solid #10b981 !important;
}

[b-nuoqa2hcrn](.linked-ticket-card[data-priority="Low"]) {
    border-left: 4px solid #6b7280 !important;
}

/* Compact Select for Link Type */
[b-nuoqa2hcrn](.compact-select .mud-input-control) {
    min-height: 36px !important;
    height: 36px !important;
}

[b-nuoqa2hcrn](.compact-select .mud-input-control .mud-input-slot) {
    padding: 6px 12px !important;
    min-height: 36px !important;
}

[b-nuoqa2hcrn](.compact-select .mud-input-control .mud-input) {
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 0.875rem !important;
}

[b-nuoqa2hcrn](.compact-select .mud-input-label) {
    font-size: 0.75rem !important;
    transform: translate(12px, 8px) scale(1) !important;
}

[b-nuoqa2hcrn](.compact-select .mud-input-label.mud-input-label-shrink) {
    transform: translate(12px, -6px) scale(0.75) !important;
}

/* Ticket Search Autocomplete Popover - Make it wider */
[b-nuoqa2hcrn](.ticket-search-popover) {
    min-width: 600px !important;
    max-width: 800px !important;
    width: auto !important;
}

[b-nuoqa2hcrn](.ticket-search-popover .mud-list) {
    max-height: 300px !important;
    overflow-y: auto !important;
}

[b-nuoqa2hcrn](.ticket-search-popover .mud-list-item) {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 12px 16px !important;
}

/* Link Type Select Styling */
[b-nuoqa2hcrn](.mud-select .mud-input-control .mud-input-slot) {
    font-weight: 500 !important;
}

[b-nuoqa2hcrn](.mud-select .mud-select-input) {
    color: var(--mud-palette-text-primary) !important;
    font-weight: 500 !important;
}
/* _content/HP.Ticket.Web/Shared/MainLayout.razor.rz.scp.css */
.page[b-sg2shspyup] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 60px; /* Space for status bar */
}

main[b-sg2shspyup] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Prevent overflow */
    overflow: auto; /* Enable scrolling when content is too large */
}

.sidebar[b-sg2shspyup] { background: var(--surface); border-right: 1px solid var(--border); }

.top-row[b-sg2shspyup] {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .top-row[b-sg2shspyup]  a, .top-row .btn-link[b-sg2shspyup] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-sg2shspyup] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-sg2shspyup] {
        display: none;
    }

    .top-row.auth[b-sg2shspyup] {
        justify-content: space-between;
    }

    .top-row a[b-sg2shspyup], .top-row .btn-link[b-sg2shspyup] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-sg2shspyup] {
        flex-direction: row;
    }

    .sidebar[b-sg2shspyup] {
        width: 250px;
        height: calc(100vh - 30px); /* Account for status bar */
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    .top-row[b-sg2shspyup] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-sg2shspyup], article[b-sg2shspyup] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
    
    main[b-sg2shspyup] {
        max-height: calc(100vh - 30px); /* Account for status bar */
        overflow-y: auto;
    }
    
    .content[b-sg2shspyup] {
        padding-bottom: 2rem; /* Ensure buttons are not cut off */
    }
}
/* _content/HP.Ticket.Web/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-kplifc3x3y] { background-color: rgba(0, 0, 0, 0.05); }

.top-row[b-kplifc3x3y] {
    height: 3.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.navbar-brand[b-kplifc3x3y] { font-size: 1.1rem; color: var(--text); }

.nav-scrollable[b-kplifc3x3y] { background: var(--surface); border-right: 1px solid var(--border); }

.nav-item[b-kplifc3x3y] { font-size: 0.95rem; padding-bottom: 0.4rem; }
.nav-item:first-of-type[b-kplifc3x3y] { padding-top: 1rem; }
.nav-item:last-of-type[b-kplifc3x3y] { padding-bottom: 1rem; }

.nav-item[b-kplifc3x3y]  a {
    color: var(--muted);
    border-radius: 10px;
    height: 2.75rem;
    display: flex;
    align-items: center;
    line-height: 2.75rem;
    padding-left: .75rem;
    position: relative;
}

.nav-item[b-kplifc3x3y]  a.active {
    background: #eef2ff; /* indigo-50 */
    color: var(--text);
}

.nav-item[b-kplifc3x3y]  a.active::before {
    content: "";
    width: 3px; border-radius: 2px;
    background: var(--brand);
    position: absolute; left: -12px; top: 8px; bottom: 8px;
}

.nav-item[b-kplifc3x3y]  a:hover { background: #f8fafc; color: var(--text); }

@media (min-width: 641px) {
    .navbar-toggler[b-kplifc3x3y] { display: none; }
    .collapse[b-kplifc3x3y] { display: block; }
    .nav-scrollable[b-kplifc3x3y] { height: calc(100vh - 3.5rem); overflow-y: auto; }
}
