html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

#app, .mud-layout {
    min-height: 100vh;
}

.mud-main-content {
    overflow-y: auto;
    height: calc(100vh - 64px);
    padding-bottom: 80px;
}

.mud-dialog {
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
}

.mud-dialog-content {
    overflow-y: auto !important;
    max-height: calc(90vh - 140px) !important;
    flex: 1 1 auto;
}

.mud-dialog-actions {
    padding: 16px 24px !important;
    margin-top: 16px;
    flex-shrink: 0;
    border-top: 1px solid rgba(0,0,0,0.12);
    background: white;
}

a, .btn-link {
    color: #006bb7;
}

.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;
}

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;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row a:hover, .top-row .btn-link:hover {
    text-decoration: underline;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }
    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }
    .page > .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .top-row.auth a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#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;
}

/* Remove unwanted space in nav menu when collapsed */
.mud-drawer-content {
    padding-top: 0 !important;
}

.mud-navmenu {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Target the first list in navmenu to remove top padding */
.mud-navmenu > .mud-list {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove space from nav group collapse containers */
.mud-nav-group .mud-collapse-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.mud-nav-group .mud-nav-group-items {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.mud-collapse-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.mud-collapse-entered {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove bottom margin from nav group headers */
.mud-nav-group > .mud-list-item {
    margin-bottom: 0 !important;
}

/* Target the list inside nav groups */
.mud-navmenu .mud-list {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove padding between nav group and its children */
.mud-nav-group .mud-list {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure collapsed items have no extra space */
.mud-collapse-hidden {
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
}

/* All navigation group headers bold */
.mud-nav-group > .mud-list-item {
    font-weight: 600 !important;
}

.mud-nav-group > .mud-list-item .mud-list-item-text,
.mud-nav-group > .mud-list-item .mud-typography {
    font-weight: 600 !important;
}

/* Main navigation group header styling */
.nav-group-header > .mud-list-item {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.08) !important;
    border-left: 3px solid var(--mud-palette-primary) !important;
}

.nav-group-header > .mud-list-item .mud-list-item-text {
    color: var(--mud-palette-primary) !important;
}

.nav-group-header > .mud-list-item:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.12) !important;
}

.nav-group-header > .mud-list-item .mud-icon-root {
    color: var(--mud-palette-primary) !important;
}

/* Red asterisks for required/mandatory fields */
.mud-input-label-text::after,
.mud-input-label::after {
    content: "" !important;
}

.mud-input-required .mud-input-label-text::after {
    content: " *" !important;
    color: #f44336 !important;
    font-weight: bold !important;
}

label[for] .mud-input-label-text + span,
.mud-input-label span.mud-input-label-asterisk {
    color: #f44336 !important;
    font-weight: bold !important;
}

/* Ensure MudBlazor popovers/menus appear above dialogs and drawer */
.mud-popover-provider {
    z-index: 30000 !important;
}

.mud-popover {
    z-index: 30000 !important;
}

/* Fix for MudSelect dropdowns inside MudDialog - allow overflow */
.mud-dialog-container .mud-dialog,
.mud-dialog-container .mud-dialog-content,
.mud-dialog-container .mud-dialog .mud-paper,
.mud-dialog-container .mud-dialog .mud-tabs-panels,
.mud-dialog-container .mud-dialog .mud-tab-panel {
    overflow: visible !important;
}

/* Native HTML Select styled to match MudBlazor Outlined variant with floating label */
.mud-input-control-native {
    position: relative;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 4px;
}

.mud-input-control-native .mud-input-slot {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 4px;
    background-color: transparent;
    transition: border-color 0.2s ease;
    min-height: 40px;
}

.mud-input-control-native .mud-input-slot:hover {
    border-color: rgba(0, 0, 0, 0.87);
}

.mud-input-control-native.focused .mud-input-slot {
    border-color: var(--mud-palette-primary, #1976d2);
    border-width: 2px;
}

.mud-input-control-native .mud-input-label {
    position: absolute;
    left: 12px;
    top: -9px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    background-color: white;
    padding: 0 4px;
    font-weight: 400;
    line-height: 1;
    z-index: 1;
    transition: color 0.2s ease;
}

.mud-input-control-native.focused .mud-input-label {
    color: var(--mud-palette-primary, #1976d2);
}

.mud-input-control-native .mud-input-label.required::after {
    content: " *";
    color: #f44336;
}

.mud-input-control-native select {
    width: 100%;
    padding: 10px 32px 10px 12px;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(0,0,0,0.54)'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 24px;
    color: rgba(0, 0, 0, 0.87);
    line-height: 1.4375em;
}

.mud-input-control-native select:focus {
    outline: none;
}

.mud-input-control-native select:disabled {
    background-color: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.38);
    cursor: not-allowed;
}

.mud-input-control-native select option {
    padding: 8px 12px;
}

/* Dense variant */
.mud-input-control-native.dense .mud-input-slot {
    min-height: 36px;
}

.mud-input-control-native.dense select {
    padding: 7px 32px 7px 12px;
    font-size: 0.875rem;
}

.mud-input-control-native.dense .mud-input-label {
    top: -8px;
    font-size: 0.7rem;
}

/* Legacy fallback classes for existing usage */
.native-select-wrapper {
    position: relative;
    width: 100%;
}

.native-select-wrapper label {
    display: block;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 4px;
    font-weight: 400;
}

.native-select-wrapper label.required::after {
    content: " *";
    color: #f44336;
    font-weight: bold;
}

.native-select {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(0,0,0,0.54)'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    padding-right: 32px;
}

.native-select:hover {
    border-color: rgba(0, 0, 0, 0.87);
}

.native-select:focus {
    outline: none;
    border-color: var(--mud-palette-primary, #1976d2);
    border-width: 2px;
}

.native-select:disabled {
    background-color: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.38);
    cursor: not-allowed;
}

.native-select option {
    padding: 8px 12px;
}

.native-select.dense {
    padding: 6px 10px;
    font-size: 0.8125rem;
}

/* Gemini-style custom select - matches MudBlazor appearance */
.custom-mud-select {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-family: "Roboto", sans-serif;
    color: #424242;
    background-color: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    outline: none;
    transition: border 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.custom-mud-select:hover {
    border-color: #424242;
}

.custom-mud-select:focus {
    border: 2px solid var(--mud-palette-primary, #594AE2);
    padding: 7px 11px;
}

.custom-mud-select:disabled {
    background-color: #f5f5f5;
    color: #bdbdbd;
    cursor: not-allowed;
}

.custom-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    display: block;
    font-weight: 500;
    line-height: 1.2;
}

.custom-label.required::after {
    content: " *";
    color: #f44336;
}

/* ===== Shipments Page Redesign ===== */

.page-shipments {
    background-color: #f8fafc;
    padding: 24px;
}

.shipments-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.shipments-header-title h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
    margin: 0;
}

.shipments-header-title p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 4px 0 0 0;
}

.card-modern {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    background: white;
}

.btn-filter-toggle {
    background-color: white !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    position: relative;
}

.btn-filter-toggle:hover {
    background-color: #f8fafc !important;
}

.btn-filter-toggle.active {
    background-color: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
}

.filter-panel {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    background: white;
    padding: 24px;
    margin-bottom: 24px;
    animation: filterSlideDown 0.2s ease-out;
}

@keyframes filterSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.filter-section-title .mud-icon-root {
    color: #6366f1;
}

.filter-panel .mud-input-outlined .mud-input-slot,
.filter-panel .mud-input-outlined input,
.filter-panel .mud-input-outlined .mud-select-input,
.filter-panel .mud-input-outlined textarea {
    font-size: 0.875rem !important;
    padding: 8px 12px !important;
}

.filter-panel .mud-input-outlined .mud-input-outlined-border {
    border-radius: 8px !important;
    border-color: #e2e8f0 !important;
}

.filter-panel .mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.filter-panel .mud-input-label {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.filter-panel .mud-input-label-outlined {
    font-size: 0.75rem !important;
    background: white !important;
    padding: 0 4px !important;
    transform: translate(14px, -9px) scale(1) !important;
}

.filter-panel .mud-input-label-outlined.mud-input-label-inputcontrol {
    transform: translate(14px, -9px) scale(1) !important;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: 16px;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
    transition: transform 0.1s, box-shadow 0.2s;
}

.btn-gradient-primary:hover {
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4);
}

.btn-gradient-primary:active {
    transform: scale(0.98);
}

.btn-emerald {
    background-color: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #047857 !important;
}

.btn-emerald:hover {
    background-color: #d1fae5 !important;
}

.btn-export {
    background-color: white !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

.btn-export:hover {
    background-color: #f8fafc !important;
}

.btn-bulk-action {
    background-color: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    color: #4338ca !important;
}

.shipments-table .mud-table-head .mud-table-cell {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 12px 16px;
}

.shipments-table .mud-table-body .mud-table-row:hover {
    background-color: #f8fafc !important;
}

.shipments-table .mud-table-pagination {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.empty-state-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 16px;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.empty-state-icon .mud-icon-root {
    font-size: 2rem;
    color: #cbd5e1;
}

/* ===== AWB Register Report ===== */
.awb-register-page {
    max-width: 1400px;
    margin: 0 auto;
}
.awb-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 24px !important;
    flex-wrap: wrap;
    gap: 16px;
}
.awb-header-left {
    flex-shrink: 0;
    min-width: 0;
}
.awb-title {
    font-size: 24px;
    font-weight: 700;
    color: #424242;
    margin: 0 !important;
    line-height: 1.2;
}
.awb-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: #9e9e9e;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 4px 0 0 0 !important;
}
.awb-header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.awb-filter-bar {
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    border-radius: 8px !important;
}
.awb-filter-bar .mud-grid {
    align-items: center !important;
}
.awb-search-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}
.awb-search-field {
    flex: 1 !important;
    min-width: 0;
}
.awb-refresh-btn {
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}
.awb-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}
@media (min-width: 600px) {
    .awb-summary-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
.awb-summary-card {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    min-height: 70px;
}
.awb-summary-card .card-text {
    flex: 1;
    min-width: 0;
}
.awb-summary-card .card-text .card-label {
    font-size: 10px;
    font-weight: 700;
    color: #9e9e9e;
    text-transform: uppercase;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.05em;
}
.awb-summary-card .card-text .card-value {
    font-size: 22px;
    font-weight: 700;
    color: #424242;
    margin: 0 !important;
}
.awb-summary-card .card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    margin-left: 12px;
}
.awb-summary-card .card-icon .mud-icon-root {
    font-size: 22px !important;
}
.awb-summary-card .card-icon.blue { background: #2196f3; color: #fff; }
.awb-summary-card .card-icon.purple { background: #594ae2; color: #fff; }
.awb-summary-card .card-icon.orange { background: #ff9800; color: #fff; }
.awb-summary-card .card-icon.green { background: #00c853; color: #fff; }
.awb-table-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
}
.awb-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.awb-table thead tr {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}
.awb-table thead th {
    padding: 12px 16px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #616161;
    white-space: nowrap;
}
.awb-table tbody tr {
    border-bottom: 1px solid #eeeeee;
    transition: background 0.1s;
}
.awb-table tbody tr:hover { background: #fafafa; }
.awb-table tbody td {
    padding: 12px 16px;
    font-size: 12px;
    color: #424242;
    vertical-align: middle;
}
.awb-table .td-awb {
    font-weight: 700;
    color: #594ae2;
}
.awb-table .td-date {
    color: #757575;
    white-space: nowrap;
}
.awb-table .td-customer {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.awb-table .td-customer:hover {
    white-space: normal;
}
.awb-table .td-consignee {
    font-weight: 500;
}
.awb-table .td-center { text-align: center; }
.awb-table .td-right { text-align: right; }
.awb-table .td-weight { text-align: right; font-weight: 500; }
.awb-table .td-amount { text-align: right; font-weight: 700; }
.awb-origin-dest {
    display: flex;
    align-items: center;
    gap: 4px;
}
.awb-origin-dest .route-pill {
    background: #eeeeee;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    color: #424242;
    white-space: nowrap;
}
.awb-origin-dest .route-arrow {
    color: #bdbdbd;
    display: flex;
    align-items: center;
}
.awb-table-pager {
    padding: 12px 24px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #757575;
}
.awb-table-pager .pager-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.awb-table-pager .pager-nav {
    display: flex;
    gap: 2px;
}
.awb-empty-state {
    padding: 48px;
    text-align: center;
}
.awb-empty-state p {
    font-size: 13px;
    color: #9e9e9e;
    margin: 12px 0 0 0;
}
.filter-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    animation: awbFadeIn 0.2s ease;
}
@keyframes awbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.filter-modal {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    background: #fff;
    overflow: hidden;
    animation: awbSlideIn 0.25s ease;
}
@keyframes awbSlideIn {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.filter-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
}
.filter-modal-header h2 {
    font-size: 14px;
    font-weight: 700;
    color: #594ae2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.filter-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 60vh;
    overflow-y: auto;
}
.filter-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9e9e9e;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}
.filter-field select,
.filter-field input {
    width: 100%;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    color: #424242;
}
.filter-field select:focus,
.filter-field input:focus {
    border-color: #594ae2;
    box-shadow: 0 0 0 2px rgba(89,74,226,0.15);
}
.filter-field .amount-row {
    display: flex;
    gap: 8px;
}
.filter-field .amount-row select { width: 80px; flex-shrink: 0; }
.filter-field .amount-row input { flex: 1; }
.filter-modal-footer {
    padding: 16px 20px;
    background: #fafafa;
    display: flex;
    gap: 8px;
}
.filter-modal-footer .btn-reset {
    flex: 1;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #424242;
    cursor: pointer;
    transition: background 0.15s;
}
.filter-modal-footer .btn-reset:hover { background: #f5f5f5; }
.filter-modal-footer .btn-apply {
    flex: 2;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    background: #594ae2;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 0 4px 14px rgba(89,74,226,0.25);
}
.filter-modal-footer .btn-apply:hover { background: #4a3dbb; }

