/* Pandu Mitra Logistik — dashboard UI inspired by modern admin templates */

:root {
    --navy: #0b2f55;
    --navy-2: #16466f;
    --orange: #ff7900;
    --ink: #172b42;
    --muted: #7d8b9b;
    --line: #e8edf3;
    --bg: #f5f7fb;
    --white: #fff;
    --green: #16845b;
    --purple: #7858c7;
    --shadow: 0 7px 25px rgba(26, 52, 83, .045)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    font-size: 14px
}

h1,
h2,
h3,
strong,
.brand-copy {
    font-family: "Manrope", "DM Sans", sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

.app-shell {
    min-height: 100vh
}

.sidebar-backdrop {
    display: none
}

.sidebar {
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    bottom: 0;
    width: 248px;
    background: #fff;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding: 25px 16px 15px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 10px 32px
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--navy);
    color: white;
    font: 800 30px Manrope;
    position: relative;
    box-shadow: 0 6px 13px #0b2f5526
}

.brand-mark span {
    color: var(--orange);
    font-size: 15px;
    position: absolute;
    right: 5px;
    top: 2px
}

.brand-logo {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
    object-fit: contain
}

.tracking-header .brand-logo {
    width: 150px
}

.footer-brand-logo {
    display: inline-block;
    width: 112px;
    max-width: 28vw;
    height: auto;
    object-fit: contain;
    vertical-align: middle
}

.brand-copy {
    display: flex;
    flex-direction: column;
    letter-spacing: .7px;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.4
}

.brand-copy small {
    font-family: "DM Sans";
    letter-spacing: 2.4px;
    color: #7e8b99;
    font-size: 9px;
    font-weight: 700
}

.nav-caption {
    font-size: 10px;
    font-weight: 700;
    color: #9aa5b2;
    letter-spacing: 1.3px;
    padding: 0 13px 12px
}

.nav-caption-spaced {
    margin-top: 30px
}

.side-nav {
    display: grid;
    gap: 5px
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 9px;
    color: #68788a;
    font-size: 13px;
    font-weight: 600;
    transition: .18s
}

.side-nav a:hover {
    background: #f5f7fa;
    color: var(--navy)
}

.side-nav a.active {
    background: #eaf1f8;
    color: var(--navy);
    font-weight: 700
}

.nav-icon {
    width: 18px;
    text-align: center;
    font-size: 17px
}

.nav-count {
    margin-left: auto;
    font-size: 10px;
    background: #dbe7f2;
    color: var(--navy);
    padding: 3px 7px;
    border-radius: 20px
}

.sidebar-bottom {
    margin-top: auto
}

.help-card {
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 15px;
    margin: 12px 1px 20px;
    background: linear-gradient(150deg, #fff, #f7f9fc)
}

.help-symbol {
    display: grid;
    place-items: center;
    background: #fff0e4;
    color: var(--orange);
    width: 30px;
    height: 30px;
    border-radius: 9px;
    margin-bottom: 12px
}

.help-card strong {
    font-size: 12px
}

.help-card p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
    margin: 7px 0 12px
}

.help-card a {
    font-size: 11px;
    font-weight: 700;
    color: var(--navy)
}

.user-mini {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid var(--line);
    padding: 15px 4px 0
}

.avatar,
.top-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e5edf6;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    width: 34px;
    height: 34px
}

.user-mini strong {
    display: block;
    font-size: 11px
}

.user-mini small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px
}

.user-mini button {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--muted)
}

.main-area {
    margin-left: 248px;
    min-height: 100vh
}

.topbar {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    gap: 20px
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9aa5b2;
    font-size: 12px
}

.breadcrumb b {
    font-weight: 400;
    color: #c5ccd4
}

.breadcrumb strong {
    color: var(--ink);
    font-size: 12px
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 17px
}

.global-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    height: 38px;
    padding: 0 10px;
    color: #91a0af
}

.global-search input {
    border: 0;
    outline: 0;
    width: 170px;
    color: var(--ink);
    font-size: 12px
}

.global-search kbd {
    font-size: 9px;
    border: 1px solid #e5eaf0;
    background: #f8fafc;
    border-radius: 4px;
    padding: 3px 4px
}

.icon-button {
    position: relative;
    border: 0;
    background: transparent;
    color: #728195;
    font-size: 20px
}

.notification-button i {
    display: block;
    line-height: 1
}

.notification-menu {
    position: relative
}

.notification-count {
    position: absolute;
    top: -7px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center
}

.notification-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 14px);
    right: -12px;
    width: min(360px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px #1c2b3b1a
}

.notification-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f5
}

.notification-panel-heading strong {
    color: var(--ink);
    font-size: 14px
}

.notification-panel-heading span,
.notification-empty {
    color: #8491a0;
    font-size: 11px
}

.notification-empty {
    margin: 0;
    padding: 20px 16px;
    text-align: center
}

.notification-item-form+.notification-item-form {
    border-top: 1px solid #edf1f5
}

.notification-item {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    background: #fff;
    color: #586779;
    font: inherit;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer
}

.notification-item:hover {
    background: #f7f9fc
}

.notification-item.is-unread {
    background: #fff8f0;
    color: var(--ink);
    font-weight: 600
}

.top-avatar {
    background: var(--navy);
    color: #fff
}

.mobile-menu {
    display: none
}

.page-content {
    padding: 30px 34px 20px;
    max-width: 1800px;
    margin: auto
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px
}

.eyebrow {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 800;
    margin-bottom: 7px
}

.page-heading h1,
.tracking-intro h1 {
    font-size: 27px;
    letter-spacing: -.8px;
    margin: 0;
    color: var(--ink);
    font-weight: 800
}

.page-heading p,
.tracking-intro p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    transition: .2s
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 4px 9px #0b2f5518
}

.btn-primary:hover {
    background: #16466f;
    transform: translateY(-1px)
}

.btn-light {
    background: #fff;
    border-color: var(--line);
    color: #5f7082
}

.btn-outline {
    background: #fff;
    border-color: #dbe4ed;
    color: var(--navy)
}

.btn-sm {
    padding: 9px 12px;
    font-size: 11px
}

.btn-block {
    width: 100%
}

.welcome-banner {
    min-height: 198px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(110deg, #0b2f55 0%, #123e67 60%, #1c5277 100%);
    position: relative;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 26px 30px;
    margin-bottom: 30px
}

.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 540px
}

.welcome-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff15;
    border: 1px solid #ffffff22;
    border-radius: 20px;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #dce9f4
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #ff8c27;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ff8c2726
}

.welcome-content h2 {
    font-size: 24px;
    margin: 13px 0 6px;
    letter-spacing: -.6px
}

.welcome-content p {
    color: #d0dfeb;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    max-width: 440px
}

.welcome-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    margin-top: 17px
}

.welcome-link span {
    color: #ff9a40;
    font-size: 17px
}

.banner-art {
    position: absolute;
    right: 4%;
    top: 0;
    bottom: 0;
    width: 36%;
    min-width: 270px;
    overflow: hidden
}

.orbit {
    position: absolute;
    border: 1px solid #ffffff19;
    border-radius: 50%;
    width: 240px;
    height: 240px;
    right: 24px;
    top: -22px
}

.orbit-two {
    width: 175px;
    height: 175px;
    right: 56px;
    top: 10px
}

.truck-illustration {
    position: absolute;
    right: 56px;
    bottom: 46px;
    width: 160px;
    height: 55px;
    filter: drop-shadow(0 10px 12px #06182c66)
}

.truck-box {
    position: absolute;
    left: 0;
    bottom: 9px;
    width: 100px;
    height: 42px;
    background: #f8fafc;
    color: var(--navy);
    border-radius: 4px 4px 1px 1px;
    display: grid;
    place-items: center;
    font: 800 17px Manrope;
    letter-spacing: 1px;
    border-bottom: 5px solid #d4e0ea
}

.truck-cab {
    position: absolute;
    right: 0;
    bottom: 9px;
    width: 53px;
    height: 31px;
    background: var(--orange);
    clip-path: polygon(0 0, 62% 0, 100% 55%, 100% 100%, 0 100%);
    border-radius: 3px
}

.wheel {
    position: absolute;
    bottom: 0;
    width: 19px;
    height: 19px;
    background: #122a40;
    border: 4px solid #9fb2c4;
    border-radius: 50%
}

.wheel-a {
    left: 19px
}

.wheel-b {
    right: 13px
}

.floating-chip {
    position: absolute;
    background: #ffffffed;
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: 0 8px 25px #051c3430
}

.chip-one {
    top: 34px;
    right: 65px
}

.chip-two {
    bottom: 27px;
    right: 14px
}

.section-title-row,
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.section-title-row {
    margin-bottom: 14px
}

.section-title-row h2,
.panel-heading h2 {
    font-size: 15px;
    letter-spacing: -.3px;
    margin: 0;
    font-weight: 800
}

.section-title-row p,
.panel-heading p {
    font-size: 11px;
    color: var(--muted);
    margin: 5px 0 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px
}

.stat-card,
.mini-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
    min-width: 0
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718194;
    font-size: 11px;
    font-weight: 600
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 17px
}

.stat-icon.navy {
    background: #e9f0f8;
    color: var(--navy)
}

.stat-icon.orange {
    background: #fff0e3;
    color: var(--orange)
}

.stat-icon.purple {
    background: #f0ebfb;
    color: var(--purple)
}

.stat-icon.green {
    background: #e5f6ed;
    color: var(--green)
}

.stat-number {
    font: 800 29px Manrope;
    letter-spacing: -1px;
    margin: 13px 0 9px
}

.stat-foot {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: #9aa5b2;
    font-size: 10px
}

.trend {
    font-size: 10px;
    font-weight: 700
}

.trend.up {
    color: var(--green)
}

.trend.neutral {
    color: var(--navy)
}

.trend.warning {
    color: #c77920
}

.stat-line {
    height: 4px;
    border-radius: 10px;
    background: #edf2f6;
    margin-top: 15px;
    overflow: hidden
}

.stat-line i {
    height: 100%;
    display: block;
    border-radius: 10px;
    background: var(--navy)
}

.orange-line i {
    background: var(--orange)
}

.purple-line i {
    background: var(--purple)
}

.green-line i {
    background: var(--green)
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr);
    gap: 18px;
    margin-bottom: 20px
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: var(--shadow);
    min-width: 0
}

.panel-heading {
    padding: 20px 21px
}

.text-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--navy)
}

.table-wrap {
    overflow: auto
}


/* .data-table {
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
    text-align: left
}

.data-table thead th {
    background: #fafbfd;
    border-top: 1px solid #f0f3f7;
    border-bottom: 1px solid #edf1f5;
    padding: 12px 15px;
    color: #9aa5b2;
    font-size: 9px;
    letter-spacing: .65px;
    font-weight: 800
}

.data-table tbody td {
    padding: 14px 15px;
    border-bottom: 1px solid #f0f3f7;
    color: #718194;
    font-size: 11px
}

.data-table tbody tr:last-child td {
    border-bottom: 0
}

.data-table tbody tr:hover {
    background: #fbfcfe
}

.data-table td strong {
    color: #273a4e;
    font-size: 11px
}

.data-table td small {
    display: block;
    font-size: 10px;
    color: #9aa5b2;
    margin-top: 5px
} */

.tracking-code {
    font-family: "DM Sans";
    letter-spacing: .15px;
    color: var(--navy)!important
}

.customer-cell {
    display: flex;
    align-items: center;
    gap: 9px
}

.customer-cell>span:last-child {
    display: block
}

.company-avatar {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0
}

.av-blue {
    background: #e9f0fb;
    color: #3865a5
}

.av-orange {
    background: #fff0e2;
    color: #c66a15
}

.av-green {
    background: #e4f5eb;
    color: #1b875d
}

.av-purple {
    background: #f0ebfb;
    color: #7858c7
}

.av-gray {
    background: #edf1f5;
    color: #68788a
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 6px 8px;
    font-size: 9px;
    font-weight: 700
}

.status-badge i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor
}

.status-transit {
    color: #2c69a7;
    background: #eaf3fc
}

.status-pending {
    color: #b7771e;
    background: #fff5e6
}

.status-delivered {
    color: #17815a;
    background: #e8f7ef
}

.status-delayed {
    color: #b94a48;
    background: #fff0ef
}

.row-action,
.dots-button {
    border: 0;
    background: transparent;
    color: #8a98a8;
    font-weight: 800
}

.status-panel {
    padding-bottom: 17px
}

.status-panel .panel-heading {
    padding-bottom: 7px
}

.donut-wrap {
    display: grid;
    place-items: center;
    padding: 12px 0 20px
}

.donut {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: conic-gradient(var(--navy) 0 80.6%, var(--orange) 80.6% 95.1%, var(--purple) 95.1% 100%);
    display: grid;
    place-items: center;
    position: relative
}

.donut:after {
    content: "";
    position: absolute;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: #fff
}

.donut-center {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center
}

.donut-center strong {
    font: 800 25px Manrope
}

.donut-center small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px
}

.legend-list {
    padding: 0 20px 16px;
    display: grid;
    gap: 13px
}

.legend-list>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px
}

.legend-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718194
}

.legend-list strong {
    font-size: 11px
}

.legend-list strong small {
    color: #9aa5b2;
    font-size: 9px;
    font-weight: 500;
    margin-left: 4px
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 3px
}

.dot-navy {
    background: var(--navy)
}

.dot-orange {
    background: var(--orange)
}

.dot-purple {
    background: var(--purple)
}

.status-panel .btn {
    margin: 0 20px;
    width: calc(100% - 40px)
}

.activity-panel {
    margin-bottom: 20px
}

.activity-list {
    padding: 0 21px 7px
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #f0f3f7
}

.activity-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-weight: 800
}

.activity-icon.green {
    background: #e5f6ed;
    color: var(--green)
}

.activity-icon.orange {
    background: #fff0e3;
    color: var(--orange)
}

.activity-icon.navy {
    background: #e9f0f8;
    color: var(--navy)
}

.activity-item strong {
    font-size: 11px
}

.activity-item p {
    margin: 4px 0 0;
    font-size: 10px;
    color: var(--muted)
}

.activity-item time {
    margin-left: auto;
    color: #9aa5b2;
    font-size: 10px;
    white-space: nowrap
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #9aa5b2;
    font-size: 10px;
    padding: 20px 2px 5px
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px
}

.mini-stat span {
    display: block;
    color: #7d8b9b;
    font-size: 11px
}

.mini-stat strong {
    display: block;
    font: 800 25px Manrope;
    margin: 8px 0 3px
}

.mini-stat small {
    font-size: 10px;
    color: #9aa5b2
}

.report-filter-panel {
    display: flex;
    align-items: end;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow)
}

.report-date-field {
    display: grid;
    gap: 7px;
    min-width: 190px
}

.report-date-field>span {
    color: #516276;
    font-size: 11px;
    font-weight: 700
}

.report-date-field input {
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #dfe6ed;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #273a4e;
    font: 500 12px "DM Sans", sans-serif;
    transition: border-color .15s ease, box-shadow .15s ease
}

.report-date-field input:hover {
    border-color: #b8c9d9
}

.report-date-field input:focus {
    border-color: #6e92b5;
    box-shadow: 0 0 0 3px rgba(11, 47, 85, .08)
}

.report-date-separator {
    padding-bottom: 11px;
    color: #9aa5b2;
    font-size: 13px
}

.report-filter-actions {
    display: flex;
    gap: 8px;
    padding-bottom: 1px
}

.report-filter-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px
}

.report-filter-actions .fa-filter {
    font-size: 11px
}

.report-status-panel {
    margin-bottom: 22px;
    overflow: hidden
}

.report-status-panel>.panel-heading {
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #edf1f5
}

.report-period-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #e8edf3;
    border-radius: 7px;
    background: #f8fafc;
    color: #6e7f91;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap
}

.report-period-badge i {
    color: var(--navy)
}

.report-status-table-wrap {
    width: 100%;
    overflow-x: auto
}

.report-status-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left
}

.report-status-table th {
    padding: 11px 20px;
    background: #f8fafc;
    color: #7d8b9b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px
}

.report-status-table td {
    padding: 12px 20px;
    border-top: 1px solid #eff2f5;
    color: #516276;
    font-size: 12px
}

.report-status-table tbody tr:hover {
    background: #fbfcfe
}

.report-status-table .report-number-cell {
    width: 110px;
    text-align: center
}

.report-number-cell strong {
    color: #273a4e;
    font-size: 13px
}

.report-status-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600
}

.report-status-label i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #4383c4
}

.report-status-table tbody tr:nth-child(2) .report-status-label i {
    background: var(--orange)
}

.report-status-table tbody tr:nth-child(3) .report-status-label i {
    background: var(--purple)
}

.report-status-table tbody tr:nth-child(4) .report-status-label i {
    background: var(--green)
}

.report-percentage {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px
}

.report-percentage-track {
    display: block;
    width: min(180px, 55%);
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf1f5
}

.report-percentage-track>span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #4383c4
}

.report-status-table tbody tr:nth-child(2) .report-percentage-track>span {
    background: var(--orange)
}

.report-status-table tbody tr:nth-child(3) .report-percentage-track>span {
    background: var(--purple)
}

.report-status-table tbody tr:nth-child(4) .report-percentage-track>span {
    background: var(--green)
}

.report-percentage strong {
    color: #516276;
    font-size: 11px;
    white-space: nowrap
}

.report-empty-state {
    padding: 25px 16px !important;
    color: #9aa5b2 !important;
    text-align: center
}

.report-empty-state i {
    margin-right: 7px
}

.text-orange {
    color: var(--orange)
}

.text-purple {
    color: var(--purple)
}

.text-green {
    color: var(--green)
}

.shipment-toolbar {
    padding-bottom: 15px
}

.toolbar-actions {
    display: flex;
    gap: 8px
}

.table-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 21px 17px
}

.search-field {
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    color: #8b9aaa;
    flex: 1;
    max-width: 370px
}

.search-field input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 11px;
    color: var(--ink)
}

.table-filters select {
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #6e7f91;
    padding: 0 10px;
    font-size: 11px
}

.employee-search {
    flex: 0 1 320px;
}

.employee-table {
    min-width: 820px;
}

.employee-table .table-actions form {
    margin: 0;
}

.employee-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    background: #eaf7ef;
    color: #218451;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.employee-status-inactive {
    background: #f1f3f5;
    color: #68788a;
}

.employee-status-suspended {
    background: #fff1e7;
    color: #b76316;
}

.employee-empty {
    padding: 24px !important;
    color: var(--muted) !important;
    text-align: center;
}

.employee-form-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
}

.employee-form-layout .field select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.employee-form-layout .field select:focus {
    border-color: #6e92b5;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(11, 47, 85, .08);
}

.employee-cancel {
    margin-top: 9px;
    justify-content: center;
}

.employee-detail-panel {
    padding: 24px;
}

.employee-detail-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.employee-detail-heading .company-avatar {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 13px;
}

.employee-detail-heading h2 {
    margin: 0;
    font-size: 17px;
}

.employee-detail-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.employee-detail-heading .employee-status {
    margin-left: auto;
}

.employee-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding-top: 22px;
}

.employee-detail-grid div {
    min-width: 0;
}

.employee-detail-grid dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
}

.employee-detail-grid dd {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.shipment-table td {
    padding-top: 16px;
    padding-bottom: 16px
}

.shipment-table .table-actions {
    display: flex;
    align-items: center;
    gap: 3px
}

.shipment-action-dropdown {
    position: relative;
    display: inline-block
}

.shipment-action-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #e4eaf0;
    border-radius: 7px;
    background: #fff;
    color: #526174;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer
}

.shipment-action-toggle:hover,
.shipment-action-toggle[aria-expanded="true"] {
    border-color: #b9c9d9;
    background: #f7f9fc
}

.shipment-action-menu {
    position: fixed;
    z-index: 40;
    min-width: 175px;
    padding: 5px;
    border: 1px solid #e4eaf0;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 30px #1c2b3b20
}

.shipment-action-menu[hidden] {
    display: none
}

.shipment-action-menu a,
.shipment-action-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 9px;
    padding: 9px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #526174;
    font: inherit;
    font-size: 11px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer
}

.shipment-action-menu a:hover,
.shipment-action-menu button:hover {
    background: #f3f6f9
}

.shipment-action-menu .share-icon-button {
    color: #17815a
}

.shipment-action-menu .delete-icon-button {
    color: #c94444
}

.shipment-action-menu .receipt-preview-button {
    color: #526174
}

.shipment-table .small-icon-button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 3px;
    width: 24px;
    height: 24px;
    color: var(--navy);
    font-weight: 700
}

.shipment-table .small-icon-button:hover {
    background: #f3f6f9
}

.shipment-table .small-icon-button i {
    display: block;
    font-size: 14px;
    line-height: 1;
    text-align: center
}

.shipment-table .share-icon-button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #25a71d;
    color: #fff
}

.shipment-table .share-icon-button:hover {
    background: #208c1b
}

.shipment-table .detail-icon-button {
    color: #4383c4
}

.shipment-table .edit-icon-button {
    color: #d28a26
}

.shipment-table .delete-icon-button {
    color: #c94444
}

.shipment-table .delete-icon-button:hover {
    background: #fff0f0
}

.shipment-delete-modal {
    position: fixed;
    z-index: 110;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #10243b80;
    backdrop-filter: blur(3px)
}

.shipment-delete-modal[hidden] {
    display: none
}

.shipment-delete-dialog {
    width: min(100%, 420px);
    padding: 28px;
    border: 1px solid #e8edf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px #10243b30;
    text-align: center;
    animation: delete-dialog-enter .18s ease-out
}

@keyframes delete-dialog-enter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.shipment-delete-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff0f0;
    color: #c94444;
    font-size: 19px
}

.shipment-delete-dialog h2 {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, sans-serif;
    font-size: 18px
}

.shipment-delete-dialog p {
    margin: 10px 0 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6
}

.shipment-delete-dialog p strong {
    color: var(--ink)
}

.shipment-delete-actions {
    display: flex;
    justify-content: center;
    gap: 10px
}

.btn-danger {
    border: 1px solid #c94444;
    background: #c94444;
    color: #fff
}

.btn-danger:hover {
    border-color: #ad3535;
    background: #ad3535
}

.btn-danger:disabled,
.shipment-delete-actions .btn:disabled {
    cursor: wait;
    opacity: .65
}

.shipment-table .share-icon-button i {
    font-size: 14px
}

.shipment-table .receipt-preview-button {
    padding: 0;
    text-decoration: none;
}

.table-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 20px;
    border-top: 1px solid #edf1f5;
    color: #8b99a8;
    font-size: 10px
}

.table-bottom strong {
    color: var(--ink)
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px
}

.pagination button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    min-width: 27px;
    height: 27px;
    color: #7a8999;
    font-size: 10px
}

.pagination button.current {
    background: var(--navy);
    border-color: var(--navy);
    color: white
}

.pagination button:disabled {
    opacity: .4
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr);
    gap: 18px;
    align-items: start
}

.form-main {
    display: grid;
    gap: 17px
}

.form-panel {
    padding: 22px
}

.form-section-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px
}

.step-number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: #eaf1f8;
    border-radius: 10px;
    color: var(--navy);
    font: 800 13px Manrope
}

.form-section-heading h2 {
    font-size: 14px;
    margin: 0
}

.form-section-heading p {
    font-size: 11px;
    color: var(--muted);
    margin: 5px 0 0
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0
}

.field>span {
    font-size: 11px;
    font-weight: 700;
    color: #516276
}

.field b {
    color: #e66d27
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #dfe6ed;
    background: #fff;
    border-radius: 8px;
    padding: 11px 12px;
    outline: 0;
    color: #273a4e;
    font-size: 12px;
    transition: .15s
}

.field select.status-select {
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 10px 42px 10px 13px;
    border: 1px solid #dfe6ed;
    border-radius: 9px;
    outline: 0;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d8b9b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    color: #273a4e;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease
}

.field select.status-select:hover {
    border-color: #b8c9d9;
    background-color: #fcfdff
}

.field select.status-select:focus {
    border-color: #6e92b5;
    box-shadow: 0 0 0 3px rgba(11, 47, 85, .08)
}

.field select.status-select[aria-invalid="true"] {
    border-color: #dc6b6b
}

.field select.status-select option {
    padding: 8px;
    background: #fff;
    color: #273a4e
}

.field input:focus,
.field textarea:focus {
    border-color: #6e92b5;
    box-shadow: 0 0 0 3px #0b2f550c
}

.autocomplete-field {
    position: relative
}

.autocomplete-options {
    position: absolute;
    z-index: 50;
    top: calc(100% - 2px);
    right: 0;
    left: 0;
    max-height: 240px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #e0e7ef;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 28px #172b431f
}

.autocomplete-options[hidden] {
    display: none
}

.autocomplete-option {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #34485d;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer
}

.autocomplete-option:hover,
.autocomplete-option:focus-visible {
    outline: 0;
    background: #f1f6fb;
    color: #173e64
}

.field input::placeholder,
.field textarea::placeholder {
    color: #b1bbc5
}

.field textarea {
    resize: vertical
}

.field small {
    color: #9aa5b2;
    font-size: 10px;
    line-height: 1.4
}

.departure-proof-field[hidden] {
    display: none
}

.departure-proof-field .upload-box {
    min-height: 120px
}

.departure-proof-field .upload-icon {
    font-size: 16px
}

.departure-proof-field .field-error {
    color: #b42318
}

.shipment-proof-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2474b8;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none
}

.shipment-proof-link:hover {
    color: #14558d;
    text-decoration: underline
}

.status-history-proof {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0 9px;
    color: #2474b8;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none
}

.status-history-proof img {
    display: block;
    width: min(100%, 220px);
    max-height: 170px;
    border: 1px solid #e4eaf0;
    border-radius: 8px;
    background: #f7f9fb;
    object-fit: cover
}

.status-history-proof:hover span {
    color: #14558d;
    text-decoration: underline
}

.field-full {
    grid-column: 1/-1
}

.summary-panel {
    padding: 22px;
    position: sticky;
    top: 20px
}

.summary-panel h3 {
    font-size: 14px;
    margin: 0
}

.summary-illustration {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 20px auto 10px;
    border-radius: 18px;
    background: #eaf1f8;
    color: var(--navy);
    font-size: 30px
}

.summary-panel>p {
    text-align: center;
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 22px
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #edf1f5;
    padding: 13px 0;
    font-size: 10px;
    color: #8b99a8
}

.summary-row strong {
    font-size: 10px;
    color: var(--ink);
    text-align: right;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis
}

.summary-row .status-badge {
    font-size: 8px
}

.summary-panel .btn {
    margin-top: 10px
}

.form-disclaimer {
    font-size: 10px;
    color: #9aa5b2;
    line-height: 1.6;
    margin: 12px 0 0
}

.toast {
    position: fixed;
    z-index: 100;
    bottom: 22px;
    left: 50%;
    transform: translate(-50%, 15px);
    background: #102e4a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 9px;
    box-shadow: 0 10px 35px #071d3230;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    max-width: 90vw
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

.tracking-page {
    background: #f5f7fb;
    min-height: 100vh
}

.tracking-header {
    height: 75px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100vw - 850px)/2));
}

.tracking-header .brand {
    padding: 0
}

.tracking-header-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.tracking-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 14px #ef8f2b30;
    transition: transform .2s ease, box-shadow .2s ease
}

.tracking-login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px #ef8f2b40
}

.secure-label {
    font-size: 11px;
    color: #6d8a7b;
    background: #e9f7ef;
    border-radius: 20px;
    padding: 8px 12px
}

.tracking-container {
    max-width: 760px;
    margin: 38px auto;
    padding: 0 20px
}

.tracking-lookup-panel {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px
}

.tracking-lookup-panel .field {
    margin-bottom: 18px
}

.tracking-verification-dialog {
    width: min(100% - 32px, 430px);
    padding: 26px;
    border: 1px solid #e8edf2;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 70px #10243b30
}

.tracking-verification-dialog::backdrop {
    background: #10243b80;
    backdrop-filter: blur(3px)
}

.tracking-verification-dialog h2 {
    margin: 0 0 8px;
    font: 700 20px Manrope, sans-serif
}

.tracking-verification-dialog p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6
}

.tracking-verification-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px
}

.tracking-intro {
    text-align: center;
    margin-bottom: 25px
}

.tracking-intro h1 {
    font-size: 29px
}

.tracking-summary,
.tracking-progress-panel,
.confirm-panel {
    padding: 23px;
    margin-bottom: 17px
}

.tracking-summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5
}

.muted-label {
    font-size: 9px;
    letter-spacing: 1px;
    color: #9aa5b2;
    font-weight: 800
}

.tracking-summary-top h2 {
    font-size: 19px;
    margin: 6px 0 0;
    letter-spacing: .3px
}

.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 25px;
    padding-top: 20px
}

.tracking-info-grid>div {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.tracking-info-grid span {
    font-size: 10px;
    color: #9aa5b2
}

.tracking-info-grid strong {
    font-size: 12px;
    color: #34485d
}

.tracking-progress-panel .panel-heading {
    padding: 0 0 20px
}

.timeline {
    display: grid
}

.timeline-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 13px;
    position: relative;
    padding-bottom: 23px
}

.timeline-item:not(:last-child):before {
    content: "";
    position: absolute;
    left: 12px;
    top: 26px;
    bottom: 0;
    width: 1px;
    background: #e3e9ef
}

.timeline-marker {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f4f7;
    color: #9ba7b3;
    font-size: 10px;
    font-weight: 700;
    z-index: 1
}

.timeline-item.complete .timeline-marker {
    background: #e6f6ed;
    color: #17815a
}

.timeline-item.current .timeline-marker {
    background: #fff0e3;
    color: var(--orange);
    box-shadow: 0 0 0 4px #fff7ef
}

.timeline-item strong {
    font-size: 12px
}

.timeline-item p {
    font-size: 11px;
    color: #7d8b9b;
    margin: 5px 0
}

.timeline-item small {
    font-size: 10px;
    color: #a0acb8
}

.timeline-item:last-child {
    padding-bottom: 0
}

.confirm-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px
}

.confirm-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: #e5f6ed;
    color: #16845b;
    font-size: 19px;
    font-weight: 800
}

.confirm-heading h2 {
    font-size: 15px;
    margin: 0
}

.confirm-heading p {
    font-size: 11px;
    color: var(--muted);
    margin: 5px 0 0
}

.arrival-form {
    display: grid;
    gap: 17px
}

.arrival-feedback {
    padding: 12px 14px;
    border: 1px solid #c9e7d3;
    border-radius: 9px;
    background: #f1faf4;
    color: #24633b;
    font-size: 12px;
    line-height: 1.5
}

.arrival-feedback[role=alert] {
    border-color: #f0cbc5;
    background: #fff5f3;
    color: #9f2d20
}

.arrival-feedback p {
    margin: 4px 0 0
}

.upload-box {
    position: relative;
    border: 1.5px dashed #cfd9e3;
    background: #fafcfe;
    border-radius: 10px;
    min-height: 145px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.upload-box input[type=file] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2
}

.upload-content {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    padding: 20px
}

.upload-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eaf1f8;
    color: var(--navy);
    font-size: 21px
}

.upload-content strong {
    font-size: 11px
}

.upload-content small {
    font-size: 10px;
    color: #9aa5b2
}

.upload-box img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    padding: 10px
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11px;
    color: #65778a;
    line-height: 1.5
}

.check-field input {
    accent-color: var(--navy);
    margin-top: 2px
}

.tracking-help {
    display: flex;
    justify-content: center;
    gap: 7px;
    color: #9aa5b2;
    font-size: 11px;
    margin: 20px
}

.tracking-help a {
    color: var(--navy);
    font-weight: 700
}

.tracking-footer {
    text-align: center;
    color: #9aa5b2;
    font-size: 10px;
    padding: 15px 15px 25px
}

@media(max-width:1200px) {
    .sidebar {
        width: 220px
    }
    .main-area {
        margin-left: 220px
    }
    .page-content {
        padding: 25px 22px
    }
    .topbar {
        padding: 0 22px
    }
    .stats-grid {
        gap: 10px
    }
    .stat-card {
        padding: 14px
    }
    .dashboard-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr)
    }
    .data-table tbody td {
        padding-left: 11px;
        padding-right: 11px
    }
}

@media(max-width:980px) {
    .sidebar-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        z-index: 19;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: #10243b80;
        backdrop-filter: blur(2px)
    }
    .sidebar {
        z-index: 21;
        width: min(290px, 86vw);
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-top: max(25px, env(safe-area-inset-top));
        padding-bottom: max(15px, env(safe-area-inset-bottom));
        transform: translateX(-100%);
        transition: transform .25s ease;
        box-shadow: 10px 0 30px #0b2f5525
    }
    .sidebar.open {
        transform: translateX(0)
    }
    body.mobile-menu-open {
        overflow: hidden
    }
    .main-area {
        margin-left: 0
    }
    .mobile-menu {
        display: block;
        border: 0;
        background: #f3f6f9;
        border-radius: 7px;
        padding: 8px;
        color: var(--navy)
    }
    .mobile-menu[aria-expanded=true] {
        position: relative;
        z-index: 22;
        background: #eaf1f8
    }
    .topbar {
        padding: 0 18px
    }
    .page-content {
        padding: 24px 18px
    }
    .dashboard-grid {
        grid-template-columns: 1fr
    }
    .status-panel {
        display: grid;
        grid-template-columns: 1fr 1fr
    }
    .status-panel .panel-heading {
        grid-column: 1/-1
    }
    .status-panel .donut-wrap {
        grid-row: 2/4
    }
    .status-panel .legend-list {
        align-self: center
    }
    .status-panel .btn {
        grid-column: 1/-1;
        margin-top: 10px
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
    .form-layout {
        grid-template-columns: minmax(0, 1fr) 260px
    }
    .employee-form-layout {
        grid-template-columns: minmax(0, 1fr) 240px
    }
}

@media(prefers-reduced-motion:reduce) {
    .sidebar {
        transition: none
    }
}

@media(max-width:700px) {
    .topbar {
        height: 64px;
        gap: 10px
    }
    .breadcrumb span,
    .breadcrumb b {
        display: none
    }
    .topbar-actions {
        gap: 10px;
        margin-left: auto
    }
    .global-search {
        width: 36px;
        border: 0;
        padding: 0;
        justify-content: center
    }
    .global-search input,
    .global-search kbd {
        display: none
    }
    .page-content {
        padding: 22px 13px
    }
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }
    .page-heading h1 {
        font-size: 23px
    }
    .page-heading .btn {
        width: 100%
    }
    .employee-form-layout {
        grid-template-columns: 1fr
    }
    .employee-form-layout .form-side {
        order: -1
    }
    .employee-detail-panel {
        padding: 18px
    }
    .employee-detail-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }
    .employee-search {
        flex: 1 1 100%;
        max-width: none
    }
    .report-filter-panel {
        align-items: stretch;
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px
    }
    .report-date-field {
        flex: 1 1 calc(50% - 20px);
        min-width: 130px
    }
    .report-date-separator {
        display: none
    }
    .report-filter-actions {
        width: 100%;
        padding-top: 2px
    }
    .report-filter-actions .btn {
        flex: 1
    }
    .report-status-panel>.panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 16px
    }
    .report-status-table th,
    .report-status-table td {
        padding-right: 14px;
        padding-left: 14px
    }
    .report-status-table .report-number-cell {
        width: 76px
    }
    .report-period-badge {
        white-space: normal
    }
    .welcome-banner {
        padding: 22px;
        min-height: 225px
    }
    .welcome-content {
        max-width: 100%
    }
    .welcome-content h2 {
        font-size: 22px
    }
    .banner-art {
        opacity: .23;
        right: -35px;
        width: 60%
    }
    .welcome-content p {
        max-width: 290px
    }
    .section-title-row h2 {
        font-size: 14px
    }
    .stats-grid {
        gap: 10px
    }
    .stat-card {
        padding: 13px
    }
    .stat-number {
        font-size: 25px
    }
    .stat-top {
        gap: 5px
    }
    .stat-icon {
        width: 28px;
        height: 28px
    }
    .stat-foot {
        font-size: 9px
    }
    .dashboard-grid {
        gap: 14px
    }
    .panel-heading {
        padding: 17px
    }
    .shipment-panel .panel-heading {
        align-items: flex-start
    }
    .status-panel {
        display: block
    }
    .status-panel .donut-wrap {
        padding: 18px
    }
    .status-panel .legend-list {
        padding: 0 20px 18px
    }
    .status-panel .btn {
        margin-bottom: 0
    }
    .activity-list {
        padding: 0 15px
    }
    .activity-item {
        align-items: flex-start
    }
    .activity-item time {
        font-size: 9px
    }
    .footer {
        font-size: 9px
    }
    .stats-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px
    }
    .mini-stat {
        padding: 13px
    }
    .mini-stat strong {
        font-size: 23px
    }
    .shipment-toolbar {
        align-items: flex-start;
        flex-direction: column
    }
    .toolbar-actions {
        width: 100%
    }
    .toolbar-actions .btn {
        flex: 1
    }
    .table-filters {
        padding: 0 14px 15px;
        flex-wrap: wrap
    }
    .search-field {
        max-width: none;
        flex-basis: 100%
    }
    .table-filters select {
        flex: 1
    }
    .table-bottom {
        align-items: flex-start;
        flex-direction: column
    }
    .pagination {
        max-width: 100%;
        flex-wrap: wrap
    }
    .form-layout {
        grid-template-columns: 1fr
    }
    .form-side {
        grid-row: 1
    }
    .summary-panel {
        position: static;
        padding: 17px
    }
    .summary-illustration {
        display: none
    }
    .summary-panel>p {
        margin: 10px 0
    }
    .summary-row {
        padding: 9px 0
    }
    .form-panel {
        padding: 17px
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }
    .field-full {
        grid-column: auto
    }
    .form-section-heading {
        margin-bottom: 17px
    }
    .tracking-header {
        height: 65px;
        padding: 0 16px
    }
    .tracking-container {
        margin: 25px auto;
        padding: 0 12px
    }
    .tracking-intro h1 {
        font-size: 24px
    }
    .tracking-intro p {
        font-size: 12px;
        line-height: 1.6
    }
    .tracking-summary,
    .tracking-progress-panel,
    .confirm-panel {
        padding: 17px
    }
    .tracking-summary-top {
        align-items: flex-start;
        flex-direction: column
    }
    .tracking-info-grid {
        gap: 17px 12px
    }
    .tracking-info-grid strong {
        font-size: 11px;
        overflow-wrap: anywhere
    }
    .tracking-summary-top h2 {
        font-size: 17px
    }
    .confirm-heading {
        align-items: flex-start
    }
    .secure-label {
        font-size: 10px
    }
    .tracking-header-actions {
        gap: 7px
    }
    .tracking-login-button {
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px
    }
    .global-search:focus-within {
        width: auto
    }
    .global-search:focus-within input {
        display: block;
        width: 125px
    }
    .global-search:focus-within {
        position: absolute;
        right: 90px;
        background: #fff;
        z-index: 2;
        border: 1px solid var(--line);
        padding: 0 8px;
        width: 170px
    }
    .global-search:focus-within kbd {
        display: none
    }
}