/* ========================================
   Main CSS File - Converted from SCSS
   ======================================== */

/* ========================================
   CSS Reset
   ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove default form element styles */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Image defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Table defaults */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Heading defaults */
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* Paragraph defaults */
p {
  margin: 0;
}

/* ========================================
   Typography
   ======================================== */

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.5;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

/* Responsive Typography */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.875rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  h5 {
    font-size: 1rem;
  }
  
  h6 {
    font-size: 0.875rem;
  }
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: #2266E3;
  transition: color 150ms ease-in-out;
}

a:hover {
  color: #2563eb;
}

a:focus-visible {
  outline: 2px solid #2266E3;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Strong and emphasis */
strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

/* Small text */
small {
  font-size: 0.875rem;
}

/* Code */
code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875em;
  background: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

/* Blockquote */
blockquote {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid #2266E3;
  color: #666666;
  font-style: italic;
}

/* Text utilities */
.text-primary {
  color: #1a1a1a;
}

.text-secondary {
  color: #666666;
}

.text-muted {
  color: #999999;
}

.text-success {
  color: #10b981;
}

.text-warning {
  color: #f59e0b;
}

.text-error {
  color: #ef4444;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

/* ========================================
   Base Styles
   ======================================== */

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Main container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.container--fluid {
  max-width: 100%;
}

.container--sm {
  max-width: 640px;
}

.container--md {
  max-width: 768px;
}

.container--lg {
  max-width: 1024px;
}

/* Selection */
::selection {
  background-color: #2266E3;
  color: #ffffff;
}

::-moz-selection {
  background-color: #2266E3;
  color: #ffffff;
}

/* Focus styles */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #2266E3;
  outline-offset: 2px;
}

/* Utility classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Display utilities */
.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

.d-none {
  display: none;
}

/* Spacing utilities */
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }

.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.mb-xl { margin-bottom: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.pt-sm { padding-top: 0.5rem; }
.pt-md { padding-top: 1rem; }
.pt-lg { padding-top: 1.5rem; }

.pb-sm { padding-bottom: 0.5rem; }
.pb-md { padding-bottom: 1rem; }
.pb-lg { padding-bottom: 1.5rem; }

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.loading-overlay__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top-color: #2266E3;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   Buttons - Reusable Component
   ======================================== */

/* Base Button */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 200ms ease-in-out;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Primary Button */
.btn--primary {
  background: #2266E3;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.btn--primary:hover:not(:disabled) {
  background: #2563eb;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

/* Secondary Button */
.btn--secondary {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.btn--secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* Outline Button */
.btn--outline {
  background: transparent;
  border: 2px solid #2266E3;
  color: #2266E3;
}

.btn--outline:hover:not(:disabled) {
  background: #2266E3;
  color: #ffffff;
}

/* Ghost Button */
.btn--ghost {
  background: transparent;
  color: #1a1a1a;
}

.btn--ghost:hover:not(:disabled) {
  background: #f3f4f6;
}

/* Success Button */
.btn--success {
  background: #10b981;
  color: #ffffff;
}

.btn--success:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-1px);
}

/* Danger/Error Button */
.btn--danger {
  background: #ef4444;
  color: #ffffff;
}

.btn--danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
}

/* Warning Button */
.btn--warning {
  background: #f59e0b;
  color: #ffffff;
}

.btn--warning:hover:not(:disabled) {
  background: #d97706;
  transform: translateY(-1px);
}

/* Button Sizes */
.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--xl {
  padding: 20px 40px;
  font-size: 18px;
}

/* Icon Only Button */
.btn--icon {
  padding: 12px;
  border-radius: 9999px;
}

.btn--icon.btn--sm {
  padding: 8px;
}

.btn--icon.btn--lg {
  padding: 16px;
}

/* Block Button (Full Width) */
.btn--block {
  width: 100%;
  display: flex;
}

/* Loading State */
.btn--loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 9999px;
  animation: spin 0.6s linear infinite;
}

/* Button Group */
.btn-group {
  display: inline-flex;
  gap: 8px;
}

.btn-group--attached {
  gap: 0;
}

.btn-group--attached .btn {
  border-radius: 0;
}

.btn-group--attached .btn:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.btn-group--attached .btn:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Orders Tab (Header Style) */
.orders-tab {
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 200ms ease-in-out;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .orders-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
}

.orders-tab:hover {
  background: rgba(255, 255, 255, 0.25);
}

.orders-tab--active {
  background: #2266E3;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
}

/* Pending Orders Button (Blue) */
.orders-tab--pending {
  background: #2266E3;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
}

.orders-tab--pending:hover {
  background: #2563eb;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* Completed Orders Button (White) */
.orders-tab--completed {
  background: #ffffff;
  color: #666666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orders-tab--completed:hover {
  background: #f9fafb;
  color: #1a1a1a;
}

/* Link to BL Button (Light Blue) */
.orders-tab--link {
  background: #8FAADB;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(135, 206, 235, 0.4);
}

.orders-tab--link:hover {
  background: #7BC4E8;
  box-shadow: 0 4px 12px rgba(135, 206, 235, 0.5);
}

/* Create Order Button (Dark Blue) */
.orders-tab--create {
  background: #2266E3;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.5);
}

.orders-tab--create:hover {
  background: #1e40af;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

.orders-tab--upload {
  padding: 10px 20px;
  font-size: 16px;
}

.orders-tab--upload:hover {
  background: inherit !important;
  color: inherit !important;
  transform: none !important;
}

/* ========================================
   Order Info Components
   ======================================== */

/* Order Info Container */
.order-info-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

/* Order Info Row */
.order-info-row {
  display: flex;
  flex-wrap: wrap;
}

.order-info-row:first-child {
  width: 73%;
}

.order-info-row:first-child .info-item {
  flex: 1;
  min-width: 160px;
}

.order-info-row:last-child {
  width: 77%;
  justify-content: space-between;
}

.order-info-row:last-child .info-item {
  flex: 1;
  min-width: 120px;
}

.order-info-row--second {
  display: flex;
  width: 100%;
}

.order-info-row--second .info-item {
  flex: 1;
  min-width: 0;
  max-width: none;
}

/* Order Info Row Container */
.order-info-row-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

/* Order Info Row Transport */
.order-info-row-transport {
  font-size: 24px;
  width: 15%;
  font-weight: 700;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 6px;
}

.order-info-row-transport .sea-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Info Item */
.info-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.info-item__label {
  font-size: 11px;
  color: #888;
  font-weight: 500;
  text-transform: capitalize;
}

.info-item__value {
  font-size: 14px;
  color: #333;
  font-weight: 700;
}

/* Transport Badge */
.transport-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.transport-badge i {
  color: #3b72e8;
  font-size: 16px;
}

.transport-badge--sea {
  color: #333;
}

/* ========================================
   Header Overrides
   ======================================== */

/* Header Section Background - Override for static background */
.header-section {
  background: url('../assets/images/header-img.jpg?v=1.0') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  transition: none !important;
  animation: none !important;
}

/* Header Navigation Avatar */
.header-nav__avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
  transition: none;
  animation: none;
}

/* Orders List Actions */
.orders-list__actions {
  justify-content: center;
  padding: 12px 0;
}

/* Orders Content */
.orders-content {
  padding: 20px 24px;
}

/* Orders List Header */
.orders-list__header {
  margin-bottom: 0;
}

/* Order Details Title */
.order-details__title {
  font-size: 20px;
  font-weight: bold;
  color: #2266E3;
  margin: 0;
}

/* Disabled Orders Tab */
.orders-tab:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.orders-tab:disabled.orders-tab--link {
  background: #8FAADB;
  color: #fff;
  box-shadow: 0 2px 8px rgba(135, 206, 235, 0.4);
}

/* ========================================
   Header - Orders Page
   ======================================== */

/* Header Section with Background */
.header-section {
  position: relative;
  background: url('../assets/images/header-img.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
}

@media (max-width: 768px) {
  .header-nav {
    padding: 16px 24px;
  }
}

@media (max-width: 640px) {
  .header-nav {
    padding: 12px 16px;
  }
}

.header-nav__logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .header-nav__logo {
    font-size: 20px;
  }
}

.header-nav__menu {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex: 1;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .header-nav__menu {
    display: none;
  }
}

.header-nav__menu--mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.header-nav__menu--mobile.active {
  display: flex;
}

.header-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 150ms ease-in-out;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .header-nav__link {
    padding: 12px 16px;
    font-size: 16px;
  }
}

.header-nav__link i {
  font-size: 16px;
}

.header-nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.header-nav__link--active {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50px;
}

.header-nav__user {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav__avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
}

@media (max-width: 640px) {
  .header-nav__avatar {
    width: 36px;
    height: 36px;
  }
}

.header-nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 150ms ease-in-out;
}

@media (max-width: 1024px) {
  .header-nav__mobile-toggle {
    display: block;
  }
}

.header-nav__mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Header Content (Title & Breadcrumb) */
.header-content {
  gap: 12px;
  padding: 16px 48px 16px;
  display: flex;
  align-items: baseline;
}

@media (max-width: 768px) {
  .header-content {
    padding: 16px 24px;
  }
}

@media (max-width: 640px) {
  .header-content {
    padding: 12px 16px;
  }
}

.header-content__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .header-content__title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .header-content__title {
    font-size: 24px;
  }
}

.header-content__breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 35px;
}

@media (max-width: 640px) {
  .header-content__breadcrumb {
    font-size: 12px;
  }
}

.header-content__breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 150ms ease-in-out;
}

.header-content__breadcrumb a:hover {
  color: #ffffff;
}

.header-content__breadcrumb .separator {
  margin: 0 8px;
}

/* Header Tabs (Tabs + Action Buttons) */
.header-tabs {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  padding: 0 48px 20px;
  gap: 16px;
  width: 65% !important;
  position: absolute;
  bottom: -28%;
  left: 35% !important;
}

@media (max-width: 768px) {
  .header-tabs {
    padding: 0 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .header-tabs {
    padding: 0 16px 20px;
    gap: 8px;
  }
}

.header-tabs__left {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .header-tabs__left {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-tabs__left {
    flex-direction: column;
    gap: 8px;
  }
}

.header-tabs__right {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .header-tabs__right {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-tabs__right {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   Orders Page - Content Area
   ======================================== */

/* Orders Container */
.orders-container {
  height: calc(100vh - 120px);
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.orders-content {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 24px;
  padding: 20px 24px;
  flex: 1;
  min-height: 0;
}

@media (max-width: 1024px) {
  .orders-content {
    grid-template-columns: 1fr;
    padding: 24px 24px;
  }
}

@media (max-width: 640px) {
  .orders-content {
    padding: 16px 16px;
    gap: 16px;
  }
}

/* Orders List Sidebar */
.orders-list {
  height: 100%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.orders-list__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 0 20px;
  flex-shrink: 0;
}

.orders-list__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.orders-list__select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666666;
  cursor: pointer;
}

.orders-list__select-all input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.orders-list__actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 6px 0;
  margin: 0 10px 10px 10px;
  background: #ffffff;
  justify-content: center;
  border-radius: 50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.orders-list__actions::-webkit-scrollbar {
  display: none;
}

.orders-list__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
  padding: 0 10px 20px 10px;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.orders-list__items::-webkit-scrollbar {
  display: none;
}

.action-btn {
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 150ms ease-in-out;
  white-space: nowrap;
  flex-shrink: 0;
}

.action-btn i {
  font-size: 12px;
}

.action-btn:hover {
  color: #2266E3;
  background: transparent;
}

.action-btn--danger {
  color: #dc2626;
}

.action-btn--danger:hover {
  color: #b91c1c;
  background: transparent;
}

.action-btn--success {
  color: #059669;
}

.action-btn--success:hover {
  color: #047857;
  background: transparent;
}

/* Order Card */
.order-card {
  padding: 12px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  position: relative;
}

.order-card:hover {
  border-color: #2266E3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Transport-specific left borders */
.order-card[data-transport="Sea"] {
  border-left: 4px solid rgba(59, 130, 246, 1);
}

.order-card[data-transport="Truck"] {
  border-left: 4px solid rgba(245, 158, 11, 1);
}

.order-card[data-transport="Air"] {
  border-left: 4px solid rgba(6, 182, 212, 1);
}

.order-card--active {
  border-color: #2266E3;
  background: #2266E3;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.order-card--active .order-card__id,
.order-card--active .order-card__date,
.order-card--active .order-card__row .label,
.order-card--active .order-card__row .value,
.order-card--active .stat__label,
.order-card--active .stat__value {
  color: #ffffff !important;
}

.order-card--active .order-card__row i {
  color: rgba(255, 255, 255, 0.9) !important;
}

.order-card--active .stat i {
  color: rgba(255, 255, 255, 0.9) !important;
}

.order-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.order-card__checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  border-radius: 3px;
}

.order-card__id {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  flex: 1;
}

.order-card__transport {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-card__transport i {
  font-size: 12px;
}

.order-card__transport--sea {
  background: rgba(59, 130, 246, 1);
  color: #ffffff;
}

.order-card__transport--truck {
  background: rgba(245, 158, 11, 1);
  color: #ffffff;
}

.order-card__transport--air {
  background: rgba(6, 182, 212, 1);
  color: #ffffff;
}

.order-card__date {
  font-size: 11px;
  color: #999999;
  margin-bottom: 8px;
  padding-left: 26px;
}

.order-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 26px;
  padding-right: 12px;
}

.order-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-card__row i {
  color: #999999;
  font-size: 11px;
  min-width: 12px;
  flex-shrink: 0;
}

.order-card__row .label {
  font-size: 11px;
  color: #999999;
  flex-shrink: 0;
}

.order-card__row .value {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 700;
  text-align: right;
  margin-left: auto;
}

.order-card__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 26px;
  padding-right: 12px;
  padding-top: 8px;
  flex-wrap: nowrap;
}

.order-card__stats .stat {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 0;
}

.order-card__stats .stat i {
  font-size: 18px;
  color: #999999;
  flex-shrink: 0;
}

.order-card__stats .stat > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.order-card__stats .stat__label {
  font-size: 9px;
  color: #999999;
  line-height: 1.2;
  white-space: nowrap;
}

.order-card__stats .stat__value {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  white-space: nowrap;
}

.order-card__stats .stat__icon-value {
  i {
    font-size: 20px;
    color: #10b981;
  }
}

.order-card__stats .stat--temp {
  flex: 0 0 auto;
}

.order-card__stats .stat--temp > i {
  font-size: 18px;
  color: #999999;
}

.order-card__stats .stat--temp > div {
  align-items: flex-start;
}

.order-card__stats .stat--temp .stat__label {
  font-size: 10px;
  color: #999999;
  font-weight: 700;
}

.order-card__stats .stat--temp .stat__icon-value i {
  color: #10b981;
}


/* Order Details Panel */
.order-details {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.order-details__tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0 24px;
}

.order-details__content {
  padding: 24px;
  overflow-x: auto;
  overflow-y: auto;
  flex: 1;
  min-width: 0;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.order-details__content::-webkit-scrollbar {
  display: none;
}

.order-details__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.order-details__title {
  font-size: 20px;
  font-weight: 700;
  color: #2266E3;
  margin: 0;
}

.order-details__header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-tab {
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}

.detail-tab:hover {
  color: #2266E3;
}

.detail-tab--active {
  color: #1a1a1a;
  border-bottom-color: #2266E3;
  font-weight: 600;
}

.order-details-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 2;
  min-width: 0;
  overflow: visible;
  padding-top: 20px;
  height: 100%;
}

.order-details__heading {
  margin: 0;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  padding: 0;
}

.eta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 20px;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, .1);
}

.eta-badge i {
  font-size: 14px;
  color: #F0934B;
}

.eta-badge__label {
  font-size: 11px;
  font-weight: 700;
}

.eta-badge__date {
  font-size: 12px;
  color: #F0934B;
  font-weight: 500;
}

/* Disabled button styling */
.orders-tab:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

/* Order Info Grid */
.order-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .order-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-item__label {
  font-size: 11px;
  color: #888888;
  margin-bottom: 4px;
  text-transform: capitalize;
  font-weight: 500;
}

.info-item__value {
  font-size: 16px;
  color: #333333;
  font-weight: 700;
}

.info-item--transport {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.transport-badge {
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333333;
}

.transport-badge--sea {
  color: #333333;
}

.transport-badge i {
  font-size: 16px;
  color: #3B72E8;
}

/* Order Table */
.order-table-wrapper {
  overflow-x: auto;
  background: #f5f5f5;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  display: block;
  white-space: nowrap;
  padding: 0;
}

.order-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.order-table-wrapper::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.order-table-wrapper::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 4px;
}

.order-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 1200px;
  background: white;
}

.order-table thead {
  background: white;
}

.order-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: bold;
  color: #666;
  white-space: nowrap;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
  line-height: 1.2;
}

.order-table thead th:nth-child(4), 
.order-table thead th:nth-child(5), 
.order-table thead th:nth-child(6), 
.order-table thead th:nth-child(7), 
.order-table thead th:nth-child(10), 
.order-table thead th:nth-child(11), 
.order-table thead th:nth-child(12), 
.order-table thead th:nth-child(13) {
  text-align: center;
}

.order-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  background: white;
}

.order-table tbody tr:last-child {
  border-bottom: none;
}

.order-table tbody td {
  padding: 12px 16px;
  color: #333;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.3;
}

.order-table tbody td:nth-child(4), 
.order-table tbody td:nth-child(5), 
.order-table tbody td:nth-child(6), 
.order-table tbody td:nth-child(7) {
  text-align: center;
}

.order-table tbody td:nth-child(8), 
.order-table tbody td:nth-child(13) {
  text-align: right;
}

.order-table tbody td:nth-child(1) {
  
  text-align: left;
}