@media screen {
  :root {
    --ui-primary: #8C0420;
    --ui-primary-hover: #6F0319;
    --ui-primary-soft: #FCE8ED;
    --ui-accent: #C2415B;
    --ui-ink: #25171B;
    --ui-ink-soft: #3A1A22;
    --ui-muted: #7A6268;
    --ui-line: #EADDE1;
    --ui-canvas: #FBF7F8;
    --ui-surface: #ffffff;
    --ui-sidebar: #24070E;
    --ui-radius: 14px;
    --ui-radius-sm: 9px;
    --ui-shadow-sm: 0 1px 2px rgba(36, 7, 14, 0.04), 0 1px 3px rgba(36, 7, 14, 0.06);
    --ui-shadow: 0 4px 6px -1px rgba(36, 7, 14, 0.06), 0 12px 28px -10px rgba(36, 7, 14, 0.18);

    --primary-color: #8C0420 !important;
    --primary-color-light: #FCE8ED !important;
    --main_color: #8C0420 !important;
    --main-light-color: #7A6268 !important;
    --progress-success-color: #059669 !important;
    --body-color: #FBF7F8 !important;
    --sidebar-bg-color: #24070E !important;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--ui-canvas) !important;
    font-family: 'Inter', 'Nunito Sans', sans-serif !important;
    color: var(--ui-ink) !important;
    font-size: 14px;
    line-height: 1.5;
  }

  ::selection {
    background: #E9A7B5;
    color: #3A0711;
  }

  ::-webkit-scrollbar {
    width: 9px;
    height: 9px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 999px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    background-clip: padding-box;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--ui-ink);
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  p {
    color: var(--ui-muted);
    line-height: 1.6;
  }

  a {
    color: var(--ui-primary);
    font-weight: 500;
  }

  a:hover {
    color: var(--ui-primary-hover);
  }

  hr {
    border-color: var(--ui-line) !important;
    opacity: 1 !important;
  }

  .sidebar {
    background: var(--ui-sidebar) !important;
    box-shadow: 6px 0 24px -12px rgba(36, 7, 14, 0.45);
  }

  .sidebar .sidebar-header h2 {
    color: #fff !important;
    font-size: 18px !important;
    letter-spacing: -0.02em;
  }

  .sidebar-links h4 {
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 18px 0 6px !important;
  }

  .sidebar .sidebar-links li a {
    color: #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 11px 12px !important;
    margin: 2px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  .sidebar .sidebar-links li a:hover {
    background: rgba(140, 4, 32, 0.18) !important;
    color: #fff !important;
  }

  .sidebar-links .active a {
    background: var(--ui-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px -6px rgba(140, 4, 32, 0.75) !important;
  }

  .sidebar-links .menu-separator {
    background: rgba(148, 163, 184, 0.18) !important;
  }

  .sidebar .submenu-links li a {
    background: rgba(148, 163, 184, 0.08) !important;
    color: #cbd5e1 !important;
    margin-left: 8px !important;
    border-radius: 8px !important;
  }

  .sidebar .submenu-links li a:hover {
    background: rgba(140, 4, 32, 0.2) !important;
    color: #fff !important;
  }

  .sidebar .submenu-links li .active {
    background: var(--ui-primary) !important;
    color: #fff !important;
  }

  .sidebar:hover .user-account {
    background: #111c33 !important;
  }

  .user-profile {
    color: #EADDE1 !important;
  }

  .sidebar-links::-webkit-scrollbar-thumb {
    background-color: #334155 !important;
  }

  .sidebar-links::-webkit-scrollbar-thumb:hover {
    background-color: #7A6268 !important;
  }

  .home-section {
    color: var(--ui-ink-soft);
  }

  .home-section header {
    background: #fff !important;
    border-bottom: 1px solid var(--ui-line) !important;
    box-shadow: var(--ui-shadow-sm);
  }

  .home-section .search-box {
    background: #f1f5f9 !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 999px !important;
    width: min(40rem, 100%) !important;
  }

  .home-section .search-icon {
    background: transparent !important;
    color: var(--ui-muted) !important;
  }

  .home-section .search-input {
    background: transparent !important;
    color: var(--ui-ink) !important;
    font-size: 13px !important;
  }

  .home-section .search-input::placeholder {
    color: #94a3b8 !important;
  }

  .home-section .header_search_box {
    background: #FBF7F8 !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 12px !important;
  }

  .home-section .header_search_box input[type="text"] {
    color: var(--ui-ink) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-radius-sm) !important;
  }

  .home-section .header-nav .nav-item {
    background: #FBF7F8 !important;
    border: 1px solid var(--ui-line) !important;
    color: var(--ui-muted) !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .home-section .header-nav .nav-item:hover {
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary) !important;
  }

  .home-section .dropdown-menu,
  .dropdown-menu {
    border: 1px solid var(--ui-line) !important;
    border-radius: 12px !important;
    box-shadow: var(--ui-shadow) !important;
    padding: 8px !important;
  }

  .home-section .dropdown-item,
  .dropdown-item {
    border-radius: 8px !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    color: var(--ui-ink-soft) !important;
  }

  .home-section .dropdown-item:hover,
  .home-section .dropdown-item:focus,
  .dropdown-item:hover,
  .dropdown-item:focus {
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary) !important;
  }

  .home-section .btn {
    --bs-btn-border-radius: var(--ui-radius-sm) !important;
    --bs-btn-padding-x: 18px !important;
    --bs-btn-padding-y: 9px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    box-shadow: var(--ui-shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
  }

  .home-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(140, 4, 32, 0.45);
  }

  .home-section .btn:active {
    transform: translateY(0);
  }

  .home-section .btn-sm {
    --bs-btn-padding-x: 11px !important;
    --bs-btn-padding-y: 5px !important;
    font-size: 12px !important;
  }

  .home-section .btn-lg {
    --bs-btn-padding-x: 26px !important;
    --bs-btn-padding-y: 13px !important;
    font-size: 15px !important;
  }

  .home-section .btn-primary,
  .home-section .btn-main,
  .home-section .btnView,
  .btn-main,
  .btnView {
    --bs-btn-bg: #8C0420;
    --bs-btn-border-color: #8C0420;
    --bs-btn-hover-bg: #6F0319;
    --bs-btn-hover-border-color: #6F0319;
    background-color: var(--ui-primary) !important;
    border-color: var(--ui-primary) !important;
    color: #fff !important;
  }

  .home-section .btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--ui-primary) !important;
    color: var(--ui-primary) !important;
  }

  .home-section .btn-outline-primary:hover {
    background-color: var(--ui-primary) !important;
    color: #fff !important;
  }

  .home-section .btn-secondary-o,
  .home-section .btn-light-o,
  .home-section .back_btn {
    background: #fff !important;
    border: 1px solid var(--ui-line) !important;
    color: var(--ui-muted) !important;
    box-shadow: var(--ui-shadow-sm);
  }

  .home-section .btn-secondary-o:hover,
  .home-section .btn-light-o:hover,
  .home-section .back_btn:hover {
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary) !important;
    border-color: #E9A7B5 !important;
  }

  .home-section .form-control,
  .home-section .form-select,
  .login_box_v2 .form-control {
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-radius-sm) !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 13px !important;
    color: var(--ui-ink) !important;
    background-color: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  .home-section .form-control:focus,
  .home-section .form-select:focus,
  .login_box_v2 .form-control:focus {
    border-color: var(--ui-primary) !important;
    box-shadow: 0 0 0 3px rgba(140, 4, 32, 0.13) !important;
    outline: none !important;
  }

  .home-section .form-control::placeholder,
  .login_box_v2 .form-control::placeholder {
    color: #94a3b8 !important;
  }

  .home-section .form-label,
  .home-section label,
  .login_box_v2 label {
    color: var(--ui-ink-soft) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
  }

  .home-section .card {
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: var(--ui-shadow) !important;
  }

  .home-section .card-header {
    background: #fff !important;
    border-bottom: 1px solid var(--ui-line) !important;
    color: var(--ui-ink);
    font-weight: 700;
  }

  .home-section .table {
    --bs-table-bg: transparent !important;
    color: var(--ui-ink-soft) !important;
    font-size: 13px !important;
    margin-bottom: 0;
  }

  .home-section thead,
  .home-section .table thead,
  .home-section .table thead th {
    background-color: #f1f5f9 !important;
  }

  .home-section thead th,
  .home-section .table thead th {
    color: var(--ui-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--ui-line) !important;
    white-space: normal;
  }

  .home-section .table td {
    border-color: #eef2f6 !important;
    padding: 12px 14px !important;
    vertical-align: middle !important;
  }

  .home-section .table tbody tr {
    transition: background-color 0.15s ease;
  }

  .home-section .table tbody tr:hover {
    background-color: #FBF7F8 !important;
  }

  .home-section .table-striped > tbody > tr:nth-of-type(odd) > * {
    background: #fff !important;
  }

  .home-section .nav-tabs {
    border-bottom: 1px solid var(--ui-line) !important;
  }

  .home-section .nav-tabs .nav-link {
    color: var(--ui-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border-radius: 10px 10px 0 0 !important;
  }

  .home-section .nav-tabs .nav-link.active {
    background: #fff !important;
    color: var(--ui-primary) !important;
    border-color: var(--ui-line) !important;
    border-bottom-color: #fff !important;
  }

  .home-section .dash_navs .nav-link {
    color: var(--ui-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .home-section .dash_navs .nav-link.active {
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary) !important;
    border: 1px solid #E9A7B5 !important;
    border-radius: 10px !important;
  }

  .home-section .dash_icon_bx {
    background: #fff !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: var(--ui-shadow) !important;
    padding: 16px !important;
  }

  .home-section .dash_icon_bx .icon_dash {
    border-radius: 12px !important;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-section .dash_order .icon_dash {
    background: #FCE8ED !important;
  }

  .home-section .dash_order .icon_dash i {
    color: #8C0420 !important;
  }

  .home-section .dash_order_rea_pickup .icon_dash {
    background: #fff7ed !important;
  }

  .home-section .dash_order_rea_pickup .icon_dash i {
    color: #ea580c !important;
  }

  .home-section .dash_order_intransit .icon_dash {
    background: #ecfeff !important;
  }

  .home-section .dash_order_intransit .icon_dash i {
    color: #0891b2 !important;
  }

  .home-section .dash_order_delivered .icon_dash {
    background: #ecfdf5 !important;
  }

  .home-section .dash_order_delivered .icon_dash i {
    color: #059669 !important;
  }

  .home-section .dash_order_ndr .icon_dash {
    background: #fef2f2 !important;
  }

  .home-section .dash_order_ndr .icon_dash i {
    color: #e11d48 !important;
  }

  .home-section .dash_order_rto .icon_dash {
    background: #f5f3ff !important;
  }

  .home-section .dash_order_rto .icon_dash i {
    color: #C2415B !important;
  }

  .home-section .dash_order_pickdup .icon_dash {
    background: #f0fdfa !important;
  }

  .home-section .dash_order_pickdup .icon_dash i {
    color: #0d9488 !important;
  }

  .home-section .dash_icon_bx h5 {
    color: var(--ui-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .home-section .dash_icon_bx h2 {
    color: var(--ui-ink) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
  }

  .home-section .wallet_card {
    background: linear-gradient(135deg, #8C0420 0%, #C2415B 100%) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 28px -12px rgba(140, 4, 32, 0.65) !important;
  }

  .home-section .badge_verified,
  .home-section .badge_unverified,
  .home-section .status_badge {
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .home-section .badge_verified {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
  }

  .home-section .badge_unverified {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
  }

  .home-section .shipm_tablew .status,
  .home-section .basic_status .status {
    border-radius: 999px !important;
    padding: 6px 12px !important;
    width: auto !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border: 1px solid transparent !important;
  }

  .home-section .shipm_tablew .pickup_awit,
  .home-section .basic_status .pickup_awit {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
  }

  .home-section .shipm_tablew .pickup_sechdls,
  .home-section .basic_status .pickup_sechdls {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
  }

  .home-section .shipm_tablew .pickedup,
  .home-section .basic_status .pickedup {
    background: #FCE8ED !important;
    color: #6F0319 !important;
    border-color: #E9A7B5 !important;
  }

  .home-section .shipm_tablew .in_transit,
  .home-section .basic_status .in_transit {
    background: #f5f3ff !important;
    color: #6d28d9 !important;
    border-color: #ddd6fe !important;
  }

  .home-section .shipm_tablew .out_f_deli,
  .home-section .basic_status .out_f_deli {
    background: #ecfeff !important;
    color: #0e7490 !important;
    border-color: #a5f3fc !important;
  }

  .home-section .shipm_tablew .delivered,
  .home-section .basic_status .delivered,
  .home-section .basic_status .active {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0 !important;
  }

  .home-section .shipm_tablew .cancelled,
  .home-section .basic_status .cancelled {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border-color: #fecdd3 !important;
  }

  .home-section .shipm_tablew .failed,
  .home-section .basic_status .failed {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
  }

  .home-section .modal-content {
    border: 1px solid var(--ui-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px -20px rgba(36, 7, 14, 0.35) !important;
  }

  .home-section .modal-header,
  .home-section .modal-footer {
    border-color: var(--ui-line) !important;
  }

  .home-section .modal-title {
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  .home-section .offcanvas {
    background: #fff !important;
    border-color: var(--ui-line) !important;
  }

  .home-section .MuiTablePagination-root {
    color: var(--ui-muted) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12.5px !important;
  }

  .home-section .MuiOutlinedInput-notchedOutline {
    border-color: var(--ui-line) !important;
    border-radius: 8px !important;
  }

  .home-section .MuiTablePagination-actions button {
    color: var(--ui-muted) !important;
  }

  .login_box_v2 {
    max-width: 1120px;
    margin: 40px auto !important;
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px -24px rgba(36, 7, 14, 0.35) !important;
    overflow: hidden;
  }

  .login_box_v2 h4 {
    color: var(--ui-ink) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    margin: 28px 0 8px !important;
  }

  .login_box_v2 .right {
    background: linear-gradient(150deg, rgba(94, 2, 21, 0.94) 0%, rgba(140, 4, 32, 0.86) 55%, rgba(194, 65, 91, 0.82) 100%), url(/img/del_1.jpeg) center / cover no-repeat !important;
  }

  .login_box_v2 .right .carousel-caption h3 {
    color: #fff !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 12px rgba(36, 7, 14, 0.45);
  }

  .login_box_v2 .right .carousel-caption p {
    color: #e0e7ff !important;
    font-size: 13px !important;
  }

  .login_box_v2 .right .carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.55);
  }

  .login_box_v2 .right .carousel-indicators .active {
    background-color: #fff;
  }

  .login_box_v2 .nav {
    margin-top: 4rem !important;
  }

  .login_box_v2 .nav-link {
    color: var(--ui-muted) !important;
    font-size: 12px !important;
  }

  .login_box_v2 .nav-link:hover {
    color: var(--ui-primary) !important;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-section,
  .sidebar:hover ~ .home-section {
    height: auto !important;
    min-height: 100vh !important;
  }

  .home-section header {
    position: sticky;
    top: 0;
    z-index: 1030;
    margin: -12px -12px 18px !important;
    padding: 0 28px !important;
  }

  .home-section header .navbar {
    min-height: 74px;
    padding: 0 !important;
  }

  .home-section header .container-fluid {
    gap: 18px;
    padding: 0 !important;
  }

  .home-section header .navbar-collapse {
    margin-bottom: 0 !important;
    flex-grow: 1;
  }

  .home-section header .navbar-toggler {
    border: 1px solid var(--ui-line) !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    box-shadow: none !important;
  }

  .home-section header hr {
    display: none;
  }

  .brand-lockup {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .brand-lockup img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
  }

  .sidebar-header .brand-lockup img {
    height: 38px;
    max-width: 170px;
  }

  .sidebar-header .brand-lockup .brand-favicon {
    display: block;
    height: 40px;
    width: 40px;
    max-width: 40px;
    border-radius: 8px;
  }

  .sidebar-header .brand-lockup .brand-full {
    display: none;
    height: 38px;
    width: auto;
    max-width: 170px;
    border-radius: 0;
  }

  .sidebar:hover .sidebar-header .brand-lockup .brand-favicon {
    display: none;
  }

  .sidebar:hover .sidebar-header .brand-lockup .brand-full {
    display: block;
  }

  .login_box_v2 .brand-lockup img {
    height: 44px;
    max-width: 190px;
  }

  .home-section .display_logo {
    display: flex;
    align-items: center;
  }

  .home-section .display_logo::before {
    content: none;
    display: none;
  }

  .home-section header form.d-flex {
    flex: 1 1 auto;
    max-width: 520px;
    margin: 0 auto;
  }

  .home-section header .search-box {
    height: 42px;
    width: 100% !important;
    max-width: 520px;
    background: #FBF7F8 !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 12px !important;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .home-section header .search-box:focus-within {
    border-color: #D77A90 !important;
    box-shadow: 0 0 0 3px rgba(140, 4, 32, 0.1);
  }

  .home-section header .search-icon {
    padding: 0 8px 0 16px !important;
    background: transparent !important;
    color: var(--ui-primary) !important;
  }

  .home-section header .search-input {
    font-size: 13px !important;
    padding-left: 4px !important;
  }

  .home-section .headericon {
    gap: 14px;
    align-items: center;
  }

  .home-section header .header-balance {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid #E9A7B5;
    border-radius: 10px;
    background: var(--ui-primary-soft);
    line-height: 1.2;
    white-space: nowrap;
  }

  .home-section header .header-balance span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--ui-muted);
  }

  .home-section header .header-balance strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--ui-primary);
  }

  .home-section .headericon > .btn-primary {
    --bs-btn-padding-y: 8px;
    --bs-btn-padding-x: 18px;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #8C0420, #C2415B) !important;
    box-shadow: 0 8px 18px -8px rgba(140, 4, 32, 0.8) !important;
  }

  .home-section header .header-nav {
    gap: 8px;
    align-items: center;
  }

  .home-section header .header-nav .nav-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 42px !important;
    width: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  }

  .home-section header .header-nav .nav-item:hover {
    background: var(--ui-primary-soft) !important;
    border-color: #E9A7B5 !important;
    transform: translateY(-1px);
  }

  .home-section header .header-nav .nav-item i {
    font-size: 20px;
    color: var(--ui-muted);
  }

  .home-section header .header-nav .nav-item:nth-child(2) i {
    color: var(--ui-primary);
  }

  .home-section header .dropdown-menu {
    min-width: 260px !important;
    padding: 12px !important;
  }

  .home-section header .dropdown-item {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    white-space: normal !important;
  }

  .home-section header .dropdown-item h4 {
    font-size: 20px !important;
    margin: 4px 0 0 !important;
    color: var(--ui-primary) !important;
  }

  .home-section header .dropdown-divider {
    border-color: var(--ui-line) !important;
    opacity: 1 !important;
    margin: 8px 0 !important;
  }

  .home-section header .header-nav-dropdown-apps .dropdown-menu {
    min-width: 244px !important;
    padding: 10px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px -18px rgba(36, 7, 14, .35) !important;
  }

  .home-section header .header-nav-dropdown-apps .dropdown-menu li {
    display: block !important;
    margin: 2px 0 !important;
    background: transparent !important;
    border-radius: 10px !important;
  }

  .home-section header .header-quick-title {
    padding: 6px 10px 9px !important;
    margin: 0 0 4px !important;
    border-bottom: 1px solid var(--ui-line);
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ui-primary) !important;
  }

  .home-section header .header-nav-dropdown-apps .dropdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 10px !important;
    text-align: left !important;
    color: var(--ui-ink) !important;
    border-radius: 10px !important;
  }

  .home-section header .header-nav-dropdown-apps .dropdown-item:hover {
    background: var(--ui-primary-soft) !important;
  }

  .home-section header .header-nav-dropdown-apps .dropdown-item i {
    flex: 0 0 24px;
    font-size: 18px !important;
    color: var(--ui-primary) !important;
  }

  .home-section header .header-quick-item-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .home-section header .header-quick-item-copy strong {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ui-ink);
  }

  .home-section header .header-quick-item-copy small {
    font-size: 10.5px;
    color: var(--ui-muted);
  }

  .home-section .content-wrapper-data {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-section canvas {
    max-width: 100% !important;
    height: auto !important;
  }

  .home-section .dashboard_box_ne::before {
    content: 'Dashboard';
    display: block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ui-ink);
    margin: 4px 0 2px;
  }

  .home-section .dashboard_box_ne::after {
    content: 'Track your shipments, orders and wallet activity at a glance.';
    display: block;
    font-size: 13px;
    color: var(--ui-muted);
    margin: 0 0 18px;
  }

  .home-section .dashboard_box_ne .dash_navs {
    display: inline-flex;
    background: #FCE8ED;
    border-radius: 14px;
    padding: 5px;
    box-shadow: var(--ui-shadow-sm);
    margin-bottom: 18px;
  }

  .home-section .dashboard_box_ne .nav-tabs {
    border: 0 !important;
    gap: 4px;
  }

  .home-section .dashboard_box_ne .nav-tabs .nav-link {
    border: 0 !important;
    border-radius: 10px !important;
    padding: 9px 22px !important;
  }

  .home-section .dashboard_box_ne .nav-tabs .nav-link.active {
    background: #fff !important;
    color: var(--ui-primary) !important;
    border-bottom-color: transparent !important;
    box-shadow: var(--ui-shadow-sm);
  }

  .home-section .dashboard_box_ne h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
  }

  .home-section .dashboard_box_ne .card {
    background: #fff !important;
  }

  .home-section .dash_icon_bx {
    min-height: 92px;
    align-items: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .home-section .dash_icon_bx:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -14px rgba(36, 7, 14, 0.25) !important;
  }

  .home-section .cod_dash_box {
    background: #fff !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--ui-shadow-sm) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .home-section .cod_dash_box:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow) !important;
  }

  .home-section .cod_dash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border-radius: 14px !important;
  }

  .home-section .cod_dash_box_1 .cod_dash {
    background: #FCE8ED !important;
  }

  .home-section .cod_dash_box_1 .cod_dash i {
    color: #8C0420 !important;
  }

  .home-section .cod_dash_box_2 .cod_dash {
    background: #fff7ed !important;
  }

  .home-section .cod_dash_box_2 .cod_dash i {
    color: #ea580c !important;
  }

  .home-section .cod_dash_box_3 .cod_dash {
    background: #ecfeff !important;
  }

  .home-section .cod_dash_box_3 .cod_dash i {
    color: #0891b2 !important;
  }

  .home-section .cod_dash_box h5 {
    color: var(--ui-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .home-section .cod_dash_box h2 {
    color: var(--ui-ink) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
  }

  .home-section .wallet_card,
  .home-section .shipment_card {
    border: 1px solid var(--ui-line) !important;
    border-radius: 16px !important;
    box-shadow: var(--ui-shadow) !important;
    overflow: hidden;
  }

  .home-section .shipment_card {
    background: #fff !important;
  }

  .home-section .wallet_card_box,
  .home-section .wallet_card_box h1,
  .home-section .wallet_card_box h4,
  .home-section .wallet_card_box h6,
  .home-section .wallet_card_box a {
    color: #fff !important;
  }

  .home-section .wallet_card_box a {
    text-decoration: underline !important;
  }

  .home-section .shipment_card_box h4 {
    color: var(--ui-ink) !important;
  }

  .home-section .shipment_card_box h6 {
    color: var(--ui-muted) !important;
  }

  .home-section .shipment_card_box a {
    color: var(--ui-primary) !important;
    font-weight: 600 !important;
  }

  .home-section .order_summary,
  .home-section .carrier_summary {
    background: #fff !important;
    border-left: 3px solid var(--ui-primary) !important;
  }

  .login_box_v2 .right {
    background: linear-gradient(155deg, #3A0711 0%, #5E0215 42%, #8C0420 100%) !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .showcase {
    position: relative;
    width: 100%;
    min-height: 620px;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 42px;
  }

  .showcase-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 38px 38px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
    animation: showcase-grid-drift 18s linear infinite;
  }

  .showcase-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    animation: showcase-orb-float 12s ease-in-out infinite alternate;
  }

  .showcase-orb-a {
    width: 340px;
    height: 340px;
    top: -120px;
    left: -90px;
    background: radial-gradient(circle, #C2415B, transparent 68%);
  }

  .showcase-orb-b {
    width: 300px;
    height: 300px;
    bottom: -110px;
    right: -80px;
    background: radial-gradient(circle, #22d3ee, transparent 68%);
    animation-duration: 16s;
    animation-delay: -4s;
  }

  .showcase-orb-c {
    width: 220px;
    height: 220px;
    top: 32%;
    right: 6%;
    background: radial-gradient(circle, #f472b6, transparent 70%);
    opacity: 0.35;
    animation-duration: 14s;
    animation-delay: -8s;
  }

  .showcase-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
  }

  .showcase-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E9A7B5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .showcase-copy h2 {
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 18px 0 12px;
  }

  .showcase-copy p {
    color: #E9A7B5;
    font-size: 13px;
    line-height: 1.7;
    max-width: 420px;
  }

  .showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }

  .showcase-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e0e7ff;
    font-size: 11px;
    font-weight: 600;
  }

  .showcase-window {
    position: relative;
    margin-top: 36px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 70px -20px rgba(2, 6, 23, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.18);
    animation: showcase-window-float 8s ease-in-out infinite;
  }

  .showcase-window-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #eef2f6;
    border-radius: 16px 16px 0 0;
    background: #fff;
  }

  .showcase-dots {
    display: flex;
    gap: 5px;
  }

  .showcase-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EADDE1;
  }

  .showcase-dots i:first-child {
    background: #f87171;
  }

  .showcase-dots i:nth-child(2) {
    background: #fbbf24;
  }

  .showcase-dots i:nth-child(3) {
    background: #34d399;
  }

  .showcase-url {
    font-size: 10px;
    color: #94a3b8;
    background: #FBF7F8;
    padding: 4px 10px;
    border-radius: 6px;
  }

  .showcase-window-main {
    display: flex;
    min-height: 250px;
    background: #fbfdff;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }

  .showcase-rail {
    width: 46px;
    flex: 0 0 46px;
    background: #3A0711;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
  }

  .showcase-rail i {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
  }

  .showcase-rail i.active {
    background: #818cf8;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.2);
  }

  .showcase-panel {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
  }

  .showcase-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    color: #24070E;
  }

  .showcase-live {
    font-size: 9px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 999px;
  }

  .showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0 12px;
  }

  .showcase-metric {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 9px 10px;
    box-shadow: 0 2px 6px rgba(36, 7, 14, 0.04);
  }

  .showcase-metric small {
    display: block;
    font-size: 8px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .showcase-metric strong {
    display: block;
    font-size: 15px;
    color: #24070E;
    margin: 3px 0;
  }

  .showcase-metric em {
    font-size: 9px;
    color: #059669;
    font-style: normal;
    font-weight: 700;
  }

  .showcase-chart {
    height: 78px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 6px;
  }

  .showcase-chart svg {
    width: 100%;
    height: 100%;
  }

  .showcase-line {
    stroke-dasharray: 520;
    stroke-dashoffset: 520;
    animation: showcase-draw 3.5s ease forwards 0.6s;
  }

  .showcase-list {
    margin-top: 10px;
    display: grid;
    gap: 6px;
  }

  .showcase-list-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 7px 9px;
  }

  .showcase-avatar {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E9A7B5, #818cf8);
  }

  .showcase-list-row b {
    display: block;
    width: 45%;
    height: 5px;
    border-radius: 99px;
    background: #EADDE1;
  }

  .showcase-list-row i {
    display: block;
    width: 22%;
    height: 5px;
    margin-left: auto;
    border-radius: 99px;
    background: #FCE8ED;
  }

  .showcase-float {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 9px 12px;
    box-shadow: 0 14px 30px -10px rgba(2, 6, 23, 0.35);
    animation: showcase-bob 5s ease-in-out infinite;
  }

  .showcase-float-top {
    top: 34%;
    right: -18px;
  }

  .showcase-float-bottom {
    bottom: 14%;
    left: -22px;
    animation-delay: -2.4s;
  }

  .showcase-float span:last-child {
    display: flex;
    flex-direction: column;
  }

  .showcase-float b {
    font-size: 10px;
    color: #24070E;
  }

  .showcase-float small {
    font-size: 8px;
    color: #94a3b8;
  }

  .showcase-float-icon,
  .showcase-float-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-weight: 800;
  }

  .showcase-float-icon {
    background: #ecfdf5;
    color: #059669;
  }

  .showcase-float-ring {
    background: #FCE8ED;
    color: #8C0420;
  }

  @keyframes showcase-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 38px 38px, 38px 38px; }
  }

  @keyframes showcase-orb-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(24px, -30px, 0) scale(1.08); }
  }

  @keyframes showcase-window-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes showcase-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
  }

  @keyframes showcase-draw {
    to { stroke-dashoffset: 0; }
  }

  @media (max-width: 991.98px) {
    .showcase {
      min-height: 480px;
      padding: 36px 28px;
    }

    .showcase-copy h2 {
      font-size: 28px;
    }

    .showcase-float-top {
      right: 0;
    }

    .showcase-float-bottom {
      left: 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .showcase-grid,
    .showcase-orb,
    .showcase-window,
    .showcase-float,
    .showcase-line {
      animation: none !important;
    }

    .showcase-line {
      stroke-dashoffset: 0;
    }
  }

  .home-section .dashboard_box_ne .dashv2-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 26px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3A0711 0%, #5E0215 45%, #8C0420 100%);
    box-shadow: 0 18px 40px -18px rgba(94, 2, 21, .75);
    color: #fff;
  }

  .dashv2-hero::before,
  .dashv2-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
  }

  .dashv2-hero::before {
    width: 380px;
    height: 380px;
    right: -120px;
    top: -210px;
    background: radial-gradient(circle, rgba(129, 140, 248, .45), transparent 65%);
  }

  .dashv2-hero::after {
    width: 320px;
    height: 320px;
    left: -110px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 65%);
  }

  .dashv2-hero-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .dashv2-eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #D77A90;
  }

  .home-section .dashboard_box_ne .dashv2-hero-head h3 {
    margin: 0 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #fff !important;
  }

  .dashv2-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 700;
    color: #e0e7ff;
    white-space: nowrap;
  }

  .dashv2-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
    animation: dashv2-pulse 2s infinite;
  }

  @keyframes dashv2-pulse {
    50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  }

  .dashv2-kpis {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .dashv2-kpi {
    min-width: 0;
    padding: 15px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(6px);
    transition: transform .2s ease, background .2s ease;
  }

  .dashv2-kpi:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .13);
  }

  .dashv2-kpi-primary {
    background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
    border-color: rgba(255, 255, 255, .3);
  }

  .dashv2-kpi-icon,
  .dashv2-panel-icon,
  .dashv2-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--dashv2-tint-bg, #FCE8ED);
    color: var(--dashv2-tint-fg, #8C0420);
  }

  .dashv2-kpi .dashv2-kpi-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
  }

  .dashv2-kpi-label {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #E9A7B5;
  }

  .dashv2-kpi strong {
    display: block;
    margin-top: 2px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
  }

  .dashv2-kpi-foot {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #D77A90;
  }

  .dashv2-tint-indigo { --dashv2-tint-bg: #FCE8ED; --dashv2-tint-fg: #8C0420; }
  .dashv2-tint-violet { --dashv2-tint-bg: #f5f3ff; --dashv2-tint-fg: #C2415B; }
  .dashv2-tint-amber  { --dashv2-tint-bg: #fffbeb; --dashv2-tint-fg: #d97706; }
  .dashv2-tint-cyan   { --dashv2-tint-bg: #ecfeff; --dashv2-tint-fg: #0891b2; }
  .dashv2-tint-emerald{ --dashv2-tint-bg: #ecfdf5; --dashv2-tint-fg: #059669; }
  .dashv2-tint-rose   { --dashv2-tint-bg: #fff1f2; --dashv2-tint-fg: #e11d48; }

  .dashv2-ops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
  }

  .dashv2-panel {
    min-width: 0;
    padding: 20px;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px -22px rgba(36, 7, 14, .4);
  }

  .dashv2-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .dashv2-panel-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 19px;
  }

  .home-section .dashboard_box_ne .dashv2-panel-head h4 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #24070E !important;
  }

  .dashv2-panel-head p {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
  }

  .dashv2-panel-tag {
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #FCE8ED;
    color: #8C0420;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }

  .dashv2-rows {
    display: grid;
    gap: 9px;
    margin-top: 18px;
  }

  .dashv2-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto 64px;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #eef2f6;
    border-radius: 11px;
    background: #FBF7F8;
  }

  .dashv2-row-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .dashv2-row-label {
    font-size: 12px;
    font-weight: 600;
    color: #7A6268;
  }

  .dashv2-row strong {
    font-size: 14px;
    font-weight: 800;
    color: #24070E;
  }

  .dashv2-bar {
    height: 5px;
    border-radius: 999px;
    background: #EADDE1;
    overflow: hidden;
  }

  .dashv2-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #A31635, #C2415B);
  }

  .dashv2-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
  }

  .dashv2-chart-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px -22px rgba(36, 7, 14, .4);
    overflow: hidden;
  }

  .dashv2-wallet {
    background: linear-gradient(180deg, #f5f3ff 0%, #fff 65%);
  }

  .dashv2-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .dashv2-chart-head span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #A31635;
  }

  .dashv2-chart-head h2 {
    margin: 6px 0 0 !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.1;
    color: #24070E !important;
  }

  .dashv2-chart-head p {
    margin: 4px 0 0 !important;
    font-size: 11px;
    color: #94a3b8;
  }

  .dashv2-chart-head a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 11px;
    border: 1px solid #E9A7B5;
    border-radius: 999px;
    background: #fff;
    color: #8C0420;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
  }

  .dashv2-chart-head a:hover {
    background: #8C0420;
    color: #fff;
  }

  .dashv2-chart-card canvas {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px;
  }

  .dashv2-status-panel {
    margin-top: 18px;
  }

  .dashv2-status-body {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin-top: 18px;
  }

  .dashv2-status-stats {
    display: grid;
    gap: 12px;
  }

  .dashv2-status-stat {
    padding: 14px 16px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    background: linear-gradient(135deg, #FCE8ED, #FBF7F8);
  }

  .dashv2-status-alt {
    border-color: #cffafe;
    background: linear-gradient(135deg, #ecfeff, #FBF7F8);
  }

  .dashv2-status-stat span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #8C0420;
  }

  .dashv2-status-alt span {
    color: #0891b2;
  }

  .dashv2-status-stat small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #7A6268;
  }

  .dashv2-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    color: #7A6268;
  }

  .dashv2-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .dashv2-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .dashv2-dot-today { background: #8C0420; }
  .dashv2-dot-week { background: #06b6d4; }

  .dashv2-status-chart {
    min-width: 0;
  }

  .dashv2-status-chart canvas {
    width: 100% !important;
    max-width: 100% !important;
  }

  @media (max-width: 1199.98px) {
    .dashv2-kpis {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 991.98px) {
    .dashv2-ops-grid,
    .dashv2-chart-grid {
      grid-template-columns: 1fr;
    }

    .dashv2-status-body {
      grid-template-columns: 1fr;
    }

    .dashv2-status-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashv2-legend {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 575.98px) {
    .dashv2-hero {
      padding: 20px 16px;
    }

    .dashv2-kpis {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashv2-live {
      display: none;
    }

    .dashv2-row {
      grid-template-columns: 30px minmax(0, 1fr) auto;
    }

    .dashv2-bar {
      display: none;
    }

    .dashv2-chart-head {
      flex-direction: column;
    }

    .home-section header .header-balance span {
      display: none;
    }

    .home-section header .header-balance {
      padding: 7px 10px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .dashv2-kpi,
    .dashv2-chart-head a {
      transition: none !important;
    }

    .dashv2-live i {
      animation: none !important;
    }
  }

  .home-section .impv2-page {
    padding-bottom: 28px;
  }

  .home-section .impv2-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3A0711 0%, #5E0215 45%, #8C0420 100%);
    box-shadow: 0 18px 40px -18px rgba(94, 2, 21, .75);
    color: #fff;
  }

  .impv2-hero::before,
  .impv2-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
  }

  .impv2-hero::before {
    width: 360px;
    height: 360px;
    right: 120px;
    top: -230px;
    background: radial-gradient(circle, rgba(129, 140, 248, .4), transparent 65%);
  }

  .impv2-hero::after {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -230px;
    background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 65%);
  }

  .impv2-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 660px;
  }

  .impv2-eyebrow,
  .impv2-kicker {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #D77A90;
  }

  .home-section .impv2-hero h2 {
    margin: 7px 0 8px !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    color: #fff !important;
  }

  .impv2-hero p {
    margin: 0;
    font-size: 13px;
    color: #E9A7B5;
  }

  .impv2-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  .impv2-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 600;
  }

  .impv2-hero-art {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
  }

  .impv2-file-card {
    position: relative;
    width: 190px;
    height: 124px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    transform: rotate(-4deg);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  }

  .impv2-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #fff;
    color: #8C0420;
    font-size: 21px;
  }

  .impv2-file-lines {
    display: block;
    margin-top: 14px;
  }

  .impv2-file-lines i {
    display: block;
    height: 7px;
    margin-bottom: 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .35);
  }

  .impv2-file-lines i:nth-child(2) { width: 75%; }
  .impv2-file-lines i:nth-child(3) { width: 55%; }

  .impv2-file-check {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #34d399;
    color: #fff;
  }

  .impv2-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }

  .impv2-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--ui-line);
    border-radius: 14px;
    background: #fff;
  }

  .impv2-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    background: #f1f5f9;
    color: var(--ui-muted);
    font-size: 12px;
    font-weight: 800;
  }

  .impv2-step-active {
    border-color: #E9A7B5;
    background: linear-gradient(135deg, #FCE8ED, #fff);
  }

  .impv2-step-active > span {
    background: var(--ui-primary);
    color: #fff;
  }

  .impv2-step strong {
    display: block;
    font-size: 12px;
    color: var(--ui-ink);
  }

  .impv2-step small {
    display: block;
    font-size: 10.5px;
    color: var(--ui-muted);
  }

  .impv2-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 16px;
    margin-top: 16px;
  }

  .impv2-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
  }

  .impv2-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .home-section .impv2-card h4 {
    margin: 5px 0 4px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--ui-ink) !important;
  }

  .impv2-card-head p {
    margin: 0;
    font-size: 11.5px;
    color: var(--ui-muted);
  }

  .impv2-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
  }

  .impv2-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 210px;
    margin-top: 20px;
    padding: 26px;
    border: 2px dashed #E9A7B5;
    border-radius: 16px;
    background: linear-gradient(180deg, #FBF7F8, #fff);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
  }

  .impv2-dropzone:hover {
    border-color: var(--ui-primary);
    background: #f5f3ff;
  }

  .impv2-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .impv2-drop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #FCE8ED;
    color: var(--ui-primary);
    font-size: 27px;
  }

  .impv2-dropzone strong {
    font-size: 14px;
    color: var(--ui-ink);
  }

  .impv2-dropzone small {
    font-size: 11px;
    color: var(--ui-muted);
  }

  .impv2-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #E9A7B5;
    border-radius: 12px;
    background: #f5f3ff;
  }

  .impv2-selected-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #fff;
    color: var(--ui-primary);
    font-size: 18px;
  }

  .impv2-selected-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .impv2-selected-copy strong {
    overflow: hidden;
    font-size: 12.5px;
    color: var(--ui-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .impv2-selected-copy small {
    font-size: 10.5px;
    color: var(--ui-muted);
  }

  .impv2-selected-check {
    margin-left: auto;
    color: #059669;
    font-size: 20px;
  }

  .impv2-upload-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ui-line);
  }

  .impv2-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
  }

  .impv2-hint {
    font-size: 11px;
    color: var(--ui-muted);
  }

  .impv2-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #8C0420, #C2415B) !important;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px -8px rgba(140, 4, 32, .8);
    text-decoration: none;
  }

  .impv2-btn:hover {
    color: #fff;
    transform: translateY(-1px);
  }

  .impv2-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ui-primary);
    font-size: 12px;
    font-weight: 700;
  }

  .impv2-error {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    background: #fff1f2;
    color: #e11d48;
  }

  .impv2-error > i {
    font-size: 19px;
  }

  .impv2-error strong {
    display: block;
    font-size: 12px;
  }

  .impv2-error small {
    display: block;
    font-size: 11px;
    color: #9f1239;
  }

  .impv2-side {
    display: grid;
    gap: 14px;
    align-content: start;
  }

  .impv2-guide-card {
    background: linear-gradient(180deg, #f5f3ff, #fff 60%);
  }

  .impv2-guide-card p {
    margin: 8px 0 16px;
    font-size: 12px;
    color: var(--ui-muted);
    line-height: 1.6;
  }

  .impv2-download {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border: 1px solid #E9A7B5;
    border-radius: 11px;
    background: #fff;
    color: var(--ui-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
  }

  .impv2-download:hover {
    background: var(--ui-primary);
    color: #fff;
  }

  .impv2-download small {
    margin-left: auto;
    color: #94a3b8;
    font-weight: 600;
  }

  .impv2-download:hover small {
    color: #e0e7ff;
  }

  .impv2-tips {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .impv2-tips li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--ui-ink-soft);
  }

  .impv2-tips i {
    color: #059669;
    font-size: 15px;
  }

  .impv2-note {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #bae6fd;
    border-radius: 14px;
    background: #f0f9ff;
  }

  .impv2-note > i {
    color: #0284c7;
    font-size: 18px;
  }

  .impv2-note p {
    margin: 0;
    font-size: 11px;
    color: #0c4a6e;
    line-height: 1.6;
  }

  .impv2-history-card {
    margin-top: 16px;
  }

  .impv2-count {
    padding: 6px 10px;
    border-radius: 999px;
    background: #FCE8ED;
    color: var(--ui-primary);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
  }

  .impv2-table {
    margin-top: 16px;
  }

  .impv2-table thead th {
    padding: 10px 12px !important;
    border-bottom: 1px solid var(--ui-line) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ui-muted) !important;
  }

  .impv2-table tbody td {
    padding: 13px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 12px;
    color: var(--ui-ink-soft);
    vertical-align: middle;
  }

  .impv2-file-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ui-ink);
  }

  .impv2-file-name i {
    color: #059669;
    font-size: 17px;
  }

  .impv2-time {
    display: block;
    font-size: 10.5px;
    color: var(--ui-muted);
  }

  .impv2-number {
    font-weight: 800;
    color: var(--ui-primary);
  }

  .impv2-number-success {
    color: #059669;
  }

  .impv2-log-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ui-primary);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
  }

  .impv2-loading-cell {
    padding: 30px !important;
    text-align: center;
  }

  @media (max-width: 991.98px) {
    .impv2-grid {
      grid-template-columns: 1fr;
    }

    .impv2-hero-art {
      display: none;
    }

    .impv2-steps {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 575.98px) {
    .impv2-hero {
      padding: 22px 18px;
    }

    .home-section .impv2-hero h2 {
      font-size: 22px !important;
    }

    .impv2-card {
      padding: 16px;
    }

    .impv2-card-head,
    .impv2-upload-foot {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  .home-section .allocv2-page {
    padding-bottom: 28px;
  }

  .home-section .allocv2-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3A0711 0%, #5E0215 45%, #8C0420 100%);
    box-shadow: 0 18px 40px -18px rgba(94, 2, 21, .75);
    color: #fff;
  }

  .allocv2-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: 90px;
    top: -230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, .4), transparent 65%);
    pointer-events: none;
  }

  .allocv2-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 660px;
  }

  .allocv2-eyebrow,
  .allocv2-status-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #D77A90;
  }

  .allocv2-kicker {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--ui-primary);
  }

  .home-section .allocv2-hero h2 {
    margin: 7px 0 8px !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    color: #fff !important;
  }

  .allocv2-hero p {
    margin: 0;
    font-size: 13px;
    color: #E9A7B5;
  }

  .allocv2-status-card {
    position: relative;
    z-index: 1;
    flex: 0 0 250px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
  }

  .allocv2-status-card strong {
    display: block;
    margin-top: 7px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
  }

  .allocv2-status-card small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #E9A7B5;
  }

  .allocv2-section-head {
    margin: 24px 0 14px;
  }

  .home-section .allocv2-section-head h4 {
    margin: 5px 0 4px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--ui-ink) !important;
  }

  .allocv2-section-head p {
    margin: 0;
    font-size: 11.5px;
    color: var(--ui-muted);
  }

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

  .allocv2-mode {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }

  .allocv2-mode:hover {
    border-color: #E9A7B5;
    transform: translateY(-2px);
  }

  .allocv2-mode-active {
    border-color: var(--ui-primary) !important;
    background: linear-gradient(135deg, #FCE8ED, #fff);
    box-shadow: 0 10px 24px -16px rgba(140, 4, 32, .8);
  }

  .allocv2-mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    font-size: 22px;
  }

  .allocv2-mode-cheap {
    background: #ecfdf5;
    color: #059669;
  }

  .allocv2-mode-custom {
    background: #f5f3ff;
    color: #C2415B;
  }

  .allocv2-mode-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .allocv2-mode-copy strong {
    display: block;
    font-size: 14px;
    color: var(--ui-ink);
  }

  .allocv2-mode-copy small {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--ui-muted);
  }

  .allocv2-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
  }

  .allocv2-radio i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
  }

  .allocv2-mode-active .allocv2-radio {
    border-color: var(--ui-primary);
  }

  .allocv2-mode-active .allocv2-radio i {
    background: var(--ui-primary);
  }

  .allocv2-card {
    min-width: 0;
    margin-top: 16px;
    padding: 22px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
  }

  .allocv2-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .home-section .allocv2-card h4 {
    margin: 5px 0 4px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--ui-ink) !important;
  }

  .allocv2-card-head p {
    margin: 0;
    font-size: 11.5px;
    color: var(--ui-muted);
  }

  .allocv2-count {
    padding: 6px 10px;
    border-radius: 999px;
    background: #FCE8ED;
    color: var(--ui-primary);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
  }

  .allocv2-list-wrap {
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #EADDE1;
    border-radius: 14px;
    background: #FBF7F8;
  }

  .allocv2-list {
    display: block;
  }

  .allocv2-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid #EADDE1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(36, 7, 14, .04);
    cursor: grab;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .allocv2-list-item:last-child {
    margin-bottom: 0;
  }

  .allocv2-list-item:hover {
    border-color: #E9A7B5;
    box-shadow: 0 8px 18px -12px rgba(140, 4, 32, .6);
    transform: translateY(-1px);
  }

  .allocv2-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    background: #FCE8ED;
    color: var(--ui-primary);
    font-size: 11px;
    font-weight: 800;
  }

  .allocv2-carrier-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid #eef2f6;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
  }

  .allocv2-carrier-img img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
  }

  .allocv2-carrier-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .allocv2-carrier-copy strong {
    display: block;
    font-size: 13px;
    color: var(--ui-ink);
  }

  .allocv2-carrier-copy small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--ui-muted);
  }

  .allocv2-drag {
    color: #94a3b8;
    font-size: 20px;
  }

  .allocv2-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 48px 20px;
    border: 2px dashed #EADDE1;
    border-radius: 14px;
    background: #FBF7F8;
    text-align: center;
  }

  .allocv2-empty > i {
    color: #D77A90;
    font-size: 30px;
  }

  .allocv2-empty strong {
    font-size: 13px;
    color: var(--ui-ink);
  }

  .allocv2-empty small {
    font-size: 11.5px;
    color: var(--ui-muted);
  }

  .allocv2-savebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--ui-sidebar);
    color: #cbd5e1;
  }

  .allocv2-savebar > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
  }

  .allocv2-savebar > span i {
    color: #818cf8;
    font-size: 17px;
  }

  .allocv2-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #8C0420, #C2415B);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px -8px rgba(140, 4, 32, .8);
  }

  .allocv2-save-btn:hover {
    color: #fff;
    transform: translateY(-1px);
  }

  @media (max-width: 991.98px) {
    .allocv2-hero {
      flex-direction: column;
      align-items: flex-start;
    }

    .allocv2-status-card {
      flex: 1 1 auto;
      width: 100%;
    }

    .allocv2-modes {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 575.98px) {
    .allocv2-hero {
      padding: 22px 18px;
    }

    .home-section .allocv2-hero h2 {
      font-size: 22px !important;
    }

    .allocv2-card {
      padding: 16px;
    }

    .allocv2-card-head,
    .allocv2-savebar {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  .ordv2-nav .ordv2-nav-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
  }

  .ordv2-tabs {
    padding-bottom: 2px;
  }

  .ordv2-nav .ordv2-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--ui-line);
    border-radius: 11px;
    background: #fff !important;
    color: var(--ui-ink) !important;
    box-shadow: var(--ui-shadow-sm);
  }

  .ordv2-nav .ordv2-back i,
  .ordv2-nav .ordv2-back i.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .ordv2-nav .ordv2-nav-title span {
    display: block;
    color: var(--ui-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .ordv2-nav .ordv2-nav-title h3 {
    margin: 2px 0 0 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
  }

  .ordv2-nav .nav-pills {
    gap: 8px;
    border-bottom: 1px solid var(--ui-line);
  }

  .ordv2-nav .nav-pills .nav-link {
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 10px 10px 0 0 !important;
    background: transparent !important;
    padding: 10px 18px !important;
    color: var(--ui-muted) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .ordv2-nav .nav-pills .nav-link.active {
    border-bottom-color: var(--ui-primary) !important;
    background: transparent !important;
    color: var(--ui-primary) !important;
  }

  .ordv2-nav hr {
    display: none;
  }

  .ordv2-help-modal .modal-content {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 60px -20px rgba(36, 7, 14, 0.35) !important;
    overflow: hidden;
  }

  .ordv2-help-modal .modal-header {
    border: 0 !important;
    background: linear-gradient(135deg, #8C0420, #C2415B) !important;
    padding: 20px 24px !important;
  }

  .ordv2-help-modal .modal-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  .ordv2-help-modal .btn-close {
    filter: brightness(0) invert(1);
  }

  .ordv2-help-modal .modal-body {
    padding: 24px !important;
  }

  .ordv2-help-modal .card {
    border: 0 !important;
    background: var(--ui-canvas) !important;
    border-radius: 14px !important;
  }

  .ordv2-help-modal .card-body {
    padding: 22px !important;
  }

  .ordv2-help-modal h5 {
    margin-bottom: 6px !important;
    color: var(--ui-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .ordv2-help-modal p {
    margin-bottom: 16px !important;
    color: var(--ui-muted) !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  .ordv2-help-modal .alert-info {
    border: 0 !important;
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary-hover) !important;
    font-size: 12px !important;
  }

  .ordv2-help-modal .modal-footer {
    border: 0 !important;
    padding-top: 0 !important;
  }

  .ordv2-page {
    padding-top: 4px;
  }

  .ordv2-page .row {
    --bs-gutter-x: 20px;
  }

  .ordv2-page .ordv2-main {
    min-width: 0;
  }

  .ordv2-steps-wrap {
    position: sticky;
    top: 90px;
  }

  .ordv2-steps {
    gap: 6px !important;
  }

  .ordv2-step a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 12px 10px !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: var(--ui-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .ordv2-step a.disabled {
    opacity: 0.65;
    cursor: default;
  }

  .ordv2-step-num {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 0 !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 9px !important;
    background-color: #fff !important;
    color: var(--ui-muted) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .ordv2-step.is-active a {
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary-hover) !important;
  }

  .ordv2-step.is-active .ordv2-step-num {
    border-color: var(--ui-primary) !important;
    background-color: var(--ui-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px -6px rgba(140, 4, 32, 0.8);
  }

  .ordv2-step.is-done .ordv2-step-num {
    border-color: #BFE3D2 !important;
    background-color: #E6F4EE !important;
    color: #0F7A4A !important;
  }

  .ordv2-step-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
  }

  .ordv2-step-copy small {
    display: block;
    margin-top: 2px;
    color: var(--ui-muted);
    font-size: 11px;
    font-weight: 500;
  }

  .ordv2-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .ordv2-eyebrow {
    display: block;
    color: var(--ui-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .home-section .ordv2-page-head h4 {
    margin: 4px 0 2px !important;
    font-size: 24px !important;
    font-weight: 800 !important;
  }

  .ordv2-page-head p {
    margin: 0 !important;
    font-size: 13px !important;
  }

  .ordv2-page-badge {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ui-primary-soft);
    color: var(--ui-primary-hover);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .ordv2-card {
    border: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--ui-shadow) !important;
    overflow: hidden;
  }

  .ordv2-card-body {
    padding: 26px 28px !important;
  }

  .ordv2-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--ui-line);
  }

  .ordv2-section:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }

  .ordv2-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .ordv2-section-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    background: var(--ui-primary-soft);
    color: var(--ui-primary);
    font-size: 11px;
    font-weight: 800;
  }

  .home-section .ordv2-section h6 {
    margin: 0 !important;
    color: var(--ui-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .ordv2-section .text-muted {
    color: var(--ui-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }

  .ordv2-payment-note {
    display: block;
    margin: -8px 0 14px !important;
    color: var(--ui-muted) !important;
    font-size: 12px !important;
  }

  .ordv2-card .form-label {
    margin-bottom: 7px !important;
    color: var(--ui-ink) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .ordv2-card .form-control,
  .ordv2-card .form-select {
    min-height: 44px;
    border: 1px solid var(--ui-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--ui-ink) !important;
    font-size: 13px !important;
    padding: 10px 13px !important;
  }

  .ordv2-card .form-control:focus,
  .ordv2-card .form-select:focus {
    border-color: var(--ui-primary) !important;
    box-shadow: 0 0 0 3px rgba(140, 4, 32, 0.12) !important;
  }

  .ordv2-card .form-control:disabled {
    background: var(--ui-canvas) !important;
    color: var(--ui-muted) !important;
  }

  .ordv2-card .input-group {
    border-radius: 12px;
  }

  .ordv2-card .input-group > .form-control,
  .ordv2-card .input-group > .form-select {
    min-height: 44px;
    border: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .ordv2-card .input-group > * + * {
    margin-left: -1px;
  }

  .ordv2-card .input-group > :first-child {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
  }

  .ordv2-card .input-group > :last-child {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
  }

  .ordv2-card .input-group > :focus {
    z-index: 2;
  }

  .ordv2-card .input-group-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 13px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .ordv2-card .input-group-text.ordv2-unit {
    min-width: 52px;
    letter-spacing: 0.06em;
  }

  .ordv2-card .form-check-input {
    width: 16px;
    height: 16px;
    border-color: var(--ui-line) !important;
    accent-color: var(--ui-primary);
    box-shadow: none !important;
  }

  .ordv2-card .form-check-label {
    color: var(--ui-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .ordv2-card hr {
    margin: 0 0 22px !important;
    border-color: var(--ui-line) !important;
    opacity: 1 !important;
  }

  .ordv2-card small[style] {
    display: block;
    margin: 5px 0 0 !important;
    color: var(--ui-primary-hover) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
  }

  .ordv2-page .ordv2-actions,
  .ordv2-page .py-4.text-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  .ordv2-page .ordv2-actions {
    margin-top: 4px;
    padding-top: 20px !important;
    border-top: 1px solid var(--ui-line);
  }

  .ordv2-page .btn {
    border-radius: 10px !important;
    padding: 11px 22px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .ordv2-page .btn-primary {
    border: 0 !important;
    background: linear-gradient(135deg, #8C0420, #C2415B) !important;
    box-shadow: 0 10px 20px -10px rgba(140, 4, 32, 0.9) !important;
    color: #fff !important;
  }

  .ordv2-page .btn-secondary {
    border: 1px solid var(--ui-line) !important;
    background: #fff !important;
    box-shadow: var(--ui-shadow-sm) !important;
    color: var(--ui-ink) !important;
  }

  .ordv2-page .btn-xs {
    padding: 4px 7px !important;
    border-radius: 8px !important;
    background: var(--ui-primary-soft) !important;
    box-shadow: none !important;
    color: var(--ui-primary) !important;
  }

  .ordv2-page .add_btns {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 0 !important;
  }

  .ordv2-address-card {
    min-height: 170px !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .ordv2-address-card:hover {
    transform: translateY(-2px);
    border-color: var(--ui-primary) !important;
    box-shadow: var(--ui-shadow) !important;
  }

  .ordv2-address-card.active {
    border-color: var(--ui-primary) !important;
    background: var(--ui-primary-softer) !important;
    box-shadow: 0 0 0 2px rgba(140, 4, 32, 0.12) !important;
  }

  .ordv2-address-card .card-body {
    padding: 18px !important;
  }

  .ordv2-address-card h6 {
    margin: 10px 0 8px !important;
    color: var(--ui-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .ordv2-address-card small {
    display: block;
    color: var(--ui-muted) !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
  }

  .ordv2-address-card .badge {
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary-hover) !important;
    font-size: 9px !important;
  }

  .ordv2-address-add {
    min-height: 170px !important;
    border: 1px dashed var(--ui-primary) !important;
    border-radius: 14px !important;
    background: var(--ui-primary-softer) !important;
  }

  .ordv2-address-add .text-primary {
    color: var(--ui-primary) !important;
  }

  .ordv2-address-add i {
    font-size: 28px;
  }

  .ordv2-product-row {
    align-items: flex-end;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--ui-line);
    border-radius: 14px;
    background: var(--ui-canvas);
  }

  .ordv2-product-label {
    color: var(--ui-primary) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .ordv2-choice-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--ui-line);
  }

  .ordv2-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .ordv2-choice.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 14px;
    border: 1px solid var(--ui-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  }

  .ordv2-choice.form-check:hover {
    border-color: var(--ui-primary) !important;
    background: var(--ui-primary-softer) !important;
  }

  .ordv2-choice.form-check:has(input:checked) {
    border-color: var(--ui-primary) !important;
    background: var(--ui-primary-soft) !important;
    box-shadow: 0 0 0 2px rgba(140, 4, 32, 0.1);
  }

  .ordv2-choice .form-check-input {
    float: none !important;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0 !important;
  }

  .ordv2-choice .form-check-label {
    margin: 0 !important;
    color: var(--ui-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
  }

  .ordv2-choice.form-check:has(input:checked) .form-check-label {
    color: var(--ui-primary-hover) !important;
  }

  .ordv2-total-card {
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--ui-primary-softer), #fff) !important;
  }

  .home-section .ordv2-total-card h5 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  .ordv2-total-card .d-flex > div:last-child h5 {
    color: var(--ui-primary) !important;
  }

  .ordv2-metric-card {
    border: 1px solid var(--ui-line) !important;
    border-radius: 14px !important;
    background: var(--ui-canvas) !important;
  }

  .ordv2-metric-value {
    color: var(--ui-primary) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  .ordv2-note-card {
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--ui-primary-soft) !important;
    color: var(--ui-primary-hover) !important;
  }

  .ordv2-note-card small {
    color: var(--ui-primary-hover) !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
  }

  @media (max-width: 991.98px) {
    .ordv2-steps-wrap {
      position: static;
      margin-bottom: 18px;
    }

    .ordv2-steps {
      flex-direction: row !important;
      overflow-x: auto;
      padding-bottom: 6px;
    }

    .ordv2-step a {
      min-width: 150px;
    }

    .ordv2-step-copy small {
      display: none;
    }
  }

  @media (max-width: 575.98px) {
    .ordv2-nav .ordv2-nav-top {
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .ordv2-page-head {
      align-items: flex-start;
      flex-direction: column;
    }

    .ordv2-card-body {
      padding: 20px 16px !important;
    }

    .ordv2-page .py-4.text-end {
      justify-content: stretch;
    }

    .ordv2-page .py-4.text-end .btn {
      flex: 1 1 auto;
    }

    .ordv2-product-row {
      padding: 12px;
    }
  }
}

.co-orders-page .co-orders-home,
.shp-shipments-page .shp-shipments-home {
  --ops-primary: #8C0420;
  --ops-primary-dark: #5E0215;
  --ops-primary-soft: #FCE8ED;
  --ops-ink: #25171B;
  --ops-muted: #7A6268;
  --ops-line: #EADDE1;
  --ops-canvas: #FBF7F8;
  --ops-surface: #FFFFFF;
  --ops-radius: 18px;
  background: var(--ops-canvas) !important;
}

.co-orders-header,
.shp-shipments-header {
  position: relative !important;
  margin: 0 0 18px !important;
  padding: 54px 24px 20px !important;
  align-items: center !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCE8ED 100%) !important;
  border: 1px solid var(--ops-line) !important;
  border-radius: var(--ops-radius) !important;
  box-shadow: 0 12px 28px -18px rgba(36, 7, 14, 0.35) !important;
  overflow: hidden;
}

.shp-shipments-header {
  z-index: 20 !important;
  overflow: visible !important;
}

.shp-shipments-header::after {
  right: 0 !important;
  top: 0 !important;
  border-top-right-radius: var(--ops-radius) !important;
}

.shp-shipments-header .filter_order {
  position: relative !important;
  z-index: 20 !important;
}

.shp-shipments-header .dropdown-menu {
  z-index: 1050 !important;
  max-height: 360px !important;
  overflow-y: auto !important;
}

.co-orders-header::before,
.shp-shipments-header::before {
  content: "ORDER MANAGEMENT";
  position: absolute;
  top: 16px;
  left: 24px;
  color: var(--ops-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shp-shipments-header::before {
  content: "SHIPMENT OPERATIONS";
}

.co-orders-header::after,
.shp-shipments-header::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(140, 4, 32, 0.06);
  pointer-events: none;
}

.co-orders-header > div,
.shp-shipments-header > div {
  position: relative;
  z-index: 1;
}

.co-orders-header h3,
.co-orders-header h4,
.shp-shipments-header h3,
.shp-shipments-header h4 {
  margin: 0 !important;
  color: var(--ops-ink) !important;
  font-size: 22px !important;
  letter-spacing: -0.03em !important;
}

.co-orders-header .back_btn,
.shp-shipments-header .back_btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ops-line) !important;
  color: var(--ops-primary) !important;
  box-shadow: 0 3px 10px rgba(36, 7, 14, 0.06);
}

.co-orders-filters,
.shp-shipments-filters {
  margin-bottom: 18px !important;
}

.co-orders-filter-grid,
.shp-shipments-filter-grid {
  width: 100%;
  margin: 0 !important;
  padding: 18px !important;
  align-items: flex-end !important;
  background: var(--ops-surface) !important;
  border: 1px solid var(--ops-line) !important;
  border-radius: var(--ops-radius) !important;
  box-shadow: 0 8px 24px -18px rgba(36, 7, 14, 0.3) !important;
}

.co-orders-filter-grid .input-group,
.shp-shipments-filter-grid .input-group {
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(36, 7, 14, 0.04);
}

.co-orders-filter-grid .form-control,
.co-orders-filter-grid .form-select,
.shp-shipments-filter-grid .form-control,
.shp-shipments-filter-grid .form-select {
  border-color: var(--ops-line) !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  color: var(--ops-ink) !important;
  min-height: 38px;
}

.co-orders-filter-grid .form-control:focus,
.co-orders-filter-grid .form-select:focus,
.shp-shipments-filter-grid .form-control:focus,
.shp-shipments-filter-grid .form-select:focus {
  border-color: var(--ops-primary) !important;
  box-shadow: 0 0 0 3px rgba(140, 4, 32, 0.1) !important;
}

.co-orders-filter-grid > [class*="col-"],
.shp-shipments-filter-grid > [class*="col-"] {
  display: flex !important;
  align-items: flex-end !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.co-orders-filter-grid .mb-3,
.shp-shipments-filter-grid .mb-3 {
  margin-bottom: 0 !important;
}

.co-orders-filter-grid .input-group,
.shp-shipments-filter-grid .input-group {
  height: 38px !important;
  align-items: stretch !important;
}

.co-orders-filter-grid .form-control,
.co-orders-filter-grid .form-select,
.co-orders-filter-grid .btn,
.shp-shipments-filter-grid .form-control,
.shp-shipments-filter-grid .form-select,
.shp-shipments-filter-grid .btn {
  height: 38px !important;
  min-height: 38px !important;
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.co-orders-filter-grid .input-group > .form-control,
.shp-shipments-filter-grid .input-group > .form-control {
  height: 100% !important;
  min-height: 0 !important;
}

.co-orders-filter-grid .dropdown,
.shp-shipments-filter-grid .dropdown {
  width: 100% !important;
}

.co-orders-filter-grid .dropdown-toggle,
.shp-shipments-filter-grid .dropdown-toggle {
  width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.co-orders-filters .btn,
.shp-shipments-filters .btn {
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.co-orders-filters .btn-theme,
.shp-shipments-filters .btn-theme {
  background: #FFFFFF !important;
  border: 1px solid var(--ops-line) !important;
  color: var(--ops-ink) !important;
}

.co-orders-filters .dropdown-menu,
.shp-shipments-filters .dropdown-menu {
  border: 1px solid var(--ops-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px -12px rgba(36, 7, 14, 0.25) !important;
  padding: 12px !important;
}

.co-orders-filters .filter_order,
.shp-shipments-filters .filter_order {
  position: relative;
}

.co-orders-bulkbar,
.shp-shipments-bulkbar {
  margin-bottom: 16px !important;
  padding: 12px 18px !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCE8ED 100%) !important;
  border: 1px solid #E7B8C4 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px -16px rgba(36, 7, 14, 0.35) !important;
}

.co-orders-bulkbar:empty,
.shp-shipments-bulkbar:empty {
  display: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.co-orders-bulkbar .btn,
.shp-shipments-bulkbar .btn {
  border-radius: 9px !important;
  font-weight: 700 !important;
}

.co-orders-table-region,
.shp-shipments-table-region {
  padding: 0 !important;
}

.co-orders-table-card,
.shp-shipments-table-card {
  border: 1px solid var(--ops-line) !important;
  border-radius: var(--ops-radius) !important;
  box-shadow: 0 16px 36px -22px rgba(36, 7, 14, 0.35) !important;
  overflow: hidden !important;
}

.co-orders-table-body,
.shp-shipments-table-body {
  padding: 0 !important;
}

.co-orders-table-scroll,
.shp-shipments-table-scroll {
  max-width: 100%;
  padding: 0 !important;
}

.co-orders-table-scroll > div[style],
.shp-shipments-table-scroll > div[style] {
  margin: 0 !important;
  height: 340px !important;
  min-height: 340px !important;
}

.co-orders-table,
.shp-shipments-table {
  width: 100% !important;
  margin: 0 !important;
  min-width: 1080px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.co-orders-table thead th,
.shp-shipments-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px !important;
  background: #F8F4F5 !important;
  border-bottom: 1px solid var(--ops-line) !important;
  color: #5A3B43 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.co-orders-table tbody td,
.shp-shipments-table tbody td {
  padding: 14px 16px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #F1E8EB !important;
  color: var(--ops-ink) !important;
  font-size: 13px !important;
}

.co-orders-table tbody tr:hover,
.shp-shipments-table tbody tr:hover {
  background: #FDF8F9 !important;
}

.co-orders-table .form-check-input,
.shp-shipments-table .form-check-input {
  width: 16px;
  height: 16px;
  border-color: #C9AFB6 !important;
  border-radius: 5px !important;
}

.co-orders-table .form-check-input:checked,
.shp-shipments-table .form-check-input:checked {
  background-color: var(--ops-primary) !important;
  border-color: var(--ops-primary) !important;
}

.co-orders-table .badge,
.shp-shipments-table .badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.co-orders-row-actions,
.shp-shipments-row-actions {
  display: none !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

.co-orders-table tbody tr:hover .co-orders-row-actions,
.co-orders-table tbody tr:focus-within .co-orders-row-actions,
.shp-shipments-table tbody tr:hover .shp-shipments-row-actions,
.shp-shipments-table tbody tr:focus-within .shp-shipments-row-actions {
  display: flex !important;
}

.co-orders-row-actions .ship_now_2,
.shp-shipments-row-actions .ship_now_2 {
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 4;
  padding: 6px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ops-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px -12px rgba(36, 7, 14, 0.35) !important;
}

.co-orders-row-actions .btn,
.shp-shipments-row-actions .btn {
  min-width: 34px;
  padding: 6px 10px !important;
  border-radius: 9px !important;
  border: 1px solid var(--ops-line) !important;
  background: #FFFFFF !important;
  color: var(--ops-primary) !important;
  box-shadow: none !important;
}

.co-orders-row-actions .btn:hover,
.shp-shipments-row-actions .btn:hover {
  background: var(--ops-primary-soft) !important;
  border-color: #E7B8C4 !important;
}

.co-orders-row-actions i,
.shp-shipments-row-actions i,
.co-orders-row-actions .btn:hover i,
.shp-shipments-row-actions .btn:hover i {
  color: var(--ops-primary) !important;
}

.co-orders-row-actions .ship_now,
.shp-shipments-row-actions .ship_now {
  position: absolute !important;
  right: 55px !important;
  top: 50% !important;
  bottom: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 140px !important;
  height: 50px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  padding: 0 !important;
  background: var(--ops-primary) !important;
  border-color: var(--ops-primary) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px -10px rgba(36, 7, 14, 0.45) !important;
}

.co-orders-row-actions .ship_now:hover,
.shp-shipments-row-actions .ship_now:hover {
  background: var(--ops-primary-dark) !important;
  border-color: var(--ops-primary-dark) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 22px -10px rgba(36, 7, 14, 0.55) !important;
}

.co-orders-pagination,
.shp-shipments-pagination {
  display: flex !important;
  justify-content: flex-end !important;
  padding: 8px 18px !important;
  background: #FFFFFF !important;
  border-top: 1px solid var(--ops-line) !important;
}

.co-orders-pagination .MuiTablePagination-root,
.shp-shipments-pagination .MuiTablePagination-root {
  color: var(--ops-muted) !important;
  font-family: inherit !important;
  font-size: 12px !important;
}

.co-orders-pagination .MuiTablePagination-toolbar,
.shp-shipments-pagination .MuiTablePagination-toolbar {
  min-height: 52px !important;
}

.co-orders-pagination .MuiButtonBase-root,
.shp-shipments-pagination .MuiButtonBase-root {
  border-radius: 8px !important;
  color: var(--ops-primary) !important;
}

.co-orders-product-drawer,
.co-orders-detail-drawer,
.shp-shipments-drawer {
  border-radius: 20px 0 0 20px !important;
  box-shadow: -18px 0 48px -24px rgba(36, 7, 14, 0.45) !important;
}

.co-orders-detail-shell .offcanvas-header,
.co-orders-product-drawer .offcanvas-header,
.shp-shipments-drawer .offcanvas-header {
  border-bottom: 1px solid var(--ops-line) !important;
  background: #FFFFFF !important;
}

.co-orders-detail-shell .card,
.co-orders-product-drawer .card,
.shp-shipments-drawer .card {
  border: 1px solid var(--ops-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px -16px rgba(36, 7, 14, 0.3) !important;
}

@media (max-width: 991.98px) {
  .co-orders-header,
  .shp-shipments-header {
    margin-top: 12px !important;
  }

  .co-orders-table,
  .shp-shipments-table {
    min-width: 960px;
  }
}
