/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Corridor Freight — Operations Dashboard (1920×1080) */

.corridor-console-wrap,
.corridor-console-wrap *,
.corridor-console-wrap *::before,
.corridor-console-wrap *::after {
  box-sizing: border-box;
}

.corridor-console-wrap {
  --bg: #f8fafd;
  --surface: #ffffff;
  --border: #e5e7eb;
  --border-soft: #eef1f6;
  --text: #111827;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --primary: #2563eb;
  --primary-soft: #eff6ff;
  --primary-text: #1d4ed8;
  --sidebar-w: 260px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  width: 100%;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #e8edf5;
  -webkit-font-smoothing: antialiased;
}

/* Body / App frame â€” exact Figma canvas */
.app {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  width: 1920px;
  height: 1080px;
  background: #f8fafd;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  overflow: hidden;
  margin: 0 auto;
}

/* ========== Sidebar ========== */
.sidebar {
  width: var(--sidebar-w);
  height: 1080px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px 20px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 28px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.brand-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
}

.nav-item:hover {
  background: #f3f4f6;
  color: var(--text);
}

.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary-text);
  font-weight: 600;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.sign-out {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-top: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #4b5563;
  font-size: 13.5px;
  font-weight: 500;
}

.sign-out:hover {
  background: #f3f4f6;
  color: var(--text);
}

/* ========== Main ========== */
.main {
  flex: 1;
  height: 1080px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: transparent;
  gap: 24px;
}

.search {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow);
}

.search input::placeholder {
  color: #9ca3af;
}

.search input:focus {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.bell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #4b5563;
}

.bell svg {
  width: 18px;
  height: 18px;
}

.bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-right: 4px;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.user-role {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.25;
}

/* ========== Content ========== */
.content {
  flex: 1;
  padding: 8px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

.page-head h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}

.page-head p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Stats grid */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
  min-height: 104px;
}

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

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
}

.stat-hint {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: -2px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}
.stat-icon.sky {
  background: #e0f2fe;
  color: #0284c7;
}
.stat-icon.amber {
  background: #fffbeb;
  color: #d97706;
}
.stat-icon.green {
  background: #ecfdf5;
  color: #059669;
}
.stat-icon.slate {
  background: #f3f4f6;
  color: #6b7280;
}

/* Bottom panels */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
}

.panel-head h2 {
  font-size: 15px;
  font-weight: 650;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.panel-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.panel-head a:hover {
  text-decoration: underline;
}

/* Quote list */
.quote-list,
.customer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0 8px 10px;
  overflow: auto;
}

.quote-list li,
.customer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
}

.quote-list li:hover,
.customer-list li:hover {
  background: #f9fafb;
}

.quote-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quote-icon svg {
  width: 18px;
  height: 18px;
}

.quote-body,
.cust-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.quote-title,
.cust-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-meta,
.cust-meta {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status badges */
.badge {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.badge-sent {
  background: #eff6ff;
  color: #1d4ed8;
}
.badge-accepted {
  background: #ecfdf5;
  color: #047857;
}
.badge-preparing {
  background: #fffbeb;
  color: #b45309;
}
.badge-pending {
  background: #f3f4f6;
  color: #4b5563;
}
.badge-revision {
  background: #fff7ed;
  color: #c2410c;
}
.badge-rejected {
  background: #fef2f2;
  color: #b91c1c;
}

/* Customer list */
.cust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.cust-avatar.teal {
  background: #ccfbf1;
  color: #0f766e;
}
.cust-avatar.violet {
  background: #ede9fe;
  color: #6d28d9;
}
.cust-avatar.rose {
  background: #ffe4e6;
  color: #be123c;
}
.cust-avatar.amber {
  background: #ffedd5;
  color: #c2410c;
}
.cust-avatar.slate {
  background: #e5e7eb;
  color: #374151;
}

.cust-count {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ========== Customers page ========== */
.page-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: #1d4ed8;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.25);
  flex-shrink: 0;
}

.btn-primary svg {
  width: 14px;
  height: 14px;
}

.btn-primary:hover {
  background: #1e40af;
}

.customers-page {
  gap: 20px;
}

.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
}

.table-search {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.table-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9ca3af;
  pointer-events: none;
}

.table-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.table-search input::placeholder {
  color: #9ca3af;
}

.table-search input:focus {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}

.filter-select svg {
  width: 14px;
  height: 14px;
  color: #6b7280;
}

.filter-select:hover {
  background: #f9fafb;
}

.table-wrap {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.data-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
  white-space: nowrap;
}

.data-table th:first-child,
.data-table td:first-child {
  padding-left: 20px;
  width: 28%;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) {
  width: 16%;
}

.data-table th:nth-child(3),
.data-table td:nth-child(3) {
  width: 11%;
}

.data-table th:nth-child(4),
.data-table td:nth-child(4) {
  width: 10%;
}

.data-table th:nth-child(5),
.data-table td:nth-child(5) {
  width: 11%;
}

.data-table th:nth-child(6),
.data-table td:nth-child(6) {
  width: 12%;
}

.data-table th:last-child,
.data-table td:last-child {
  padding-right: 20px;
  width: 12%;
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

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

.data-table tbody tr:hover td {
  background: #fafbfc;
}

.company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.company-cell > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cell-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cell-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cell-plain {
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.status-active {
  background: #ecfdf5;
  color: #047857;
}

.status-active .status-dot {
  background: #10b981;
}

.status-inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.status-inactive .status-dot {
  background: #9ca3af;
}

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

.row-actions button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.row-actions button svg {
  width: 16px;
  height: 16px;
}

.row-actions button:hover {
  background: #f3f4f6;
  color: #111827;
}

.row-actions button.danger {
  color: #ef4444;
}

.row-actions button.danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--border-soft);
}

.table-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

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

.pagination button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}

.pagination button:disabled {
  color: #9ca3af;
  background: #f9fafb;
  cursor: not-allowed;
}

.page-indicator {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  min-width: 36px;
  text-align: center;
}

/* ========== Truck Companies page ========== */
.truck-page {
  gap: 20px;
}

.truck-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.truck-search {
  width: 420px;
  max-width: 100%;
}

.truck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.truck-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
}

.truck-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.truck-building {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.truck-building svg {
  width: 22px;
  height: 22px;
}

.truck-identity {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.truck-identity h2 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.truck-identity p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.truck-card-head .status-pill {
  flex-shrink: 0;
  margin-top: 2px;
}

.truck-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.truck-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #374151;
  font-weight: 500;
}

.truck-details svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.truck-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.truck-tags span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.truck-details-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.truck-details-btn svg {
  width: 14px;
  height: 14px;
}

.truck-details-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

/* ========== Truck company detail ========== */
.app-detail {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  position: relative;
  width: 1920px;
  height: 1080px;
  background: #fcfdff;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.detail-page {
  gap: 16px;
  overflow: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  width: fit-content;
}

.back-link svg {
  width: 14px;
  height: 14px;
}

.back-link:hover {
  color: var(--primary);
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.detail-head h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}

.detail-head p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #4b5563;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-delete svg {
  width: 16px;
  height: 16px;
}

.btn-delete:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.detail-top {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px 22px;
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.info-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 18px;
  height: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

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

.info-field-wide {
  grid-column: 1 / -1;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.info-value.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-value.with-icon svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fleet-stat {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fafbfc;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fleet-stat-total {
  background: #eff6ff;
  border-color: #dbeafe;
}

.fleet-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.fleet-stat-total .fleet-label {
  color: #2563eb;
}

.fleet-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
}

.fleet-stat-total .fleet-value {
  color: #1d4ed8;
}

.detail-tags-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tag-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  min-height: 120px;
}

.tag-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 600;
}

/* ========== Quote Requests table extras ========== */
.table-search-wide {
  width: 360px;
}

.quotes-table th {
  background: #f8fafd;
}

.quotes-table th:first-child,
.quotes-table td:first-child {
  width: 10%;
}

.quotes-table th:nth-child(2),
.quotes-table td:nth-child(2) {
  width: 20%;
}

.quotes-table th:nth-child(3),
.quotes-table td:nth-child(3) {
  width: 18%;
}

.quotes-table th:nth-child(4),
.quotes-table td:nth-child(4) {
  width: 12%;
}

.quotes-table th:nth-child(5),
.quotes-table td:nth-child(5) {
  width: 12%;
}

.quotes-table th:nth-child(6),
.quotes-table td:nth-child(6) {
  width: 16%;
}

.quotes-table th:last-child,
.quotes-table td:last-child {
  width: 12%;
}

.cell-id {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.cell-plain.strong {
  font-weight: 600;
  color: #111827;
}

.btn-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-open svg {
  width: 15px;
  height: 15px;
  color: #6b7280;
}

.btn-open:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

/* ========== Active Shipments ========== */
.shipments-table th {
  background: #f8fafd;
}

.shipments-table th:first-child,
.shipments-table td:first-child {
  width: 12%;
}

.shipments-table th:nth-child(2),
.shipments-table td:nth-child(2) {
  width: 16%;
}

.shipments-table th:nth-child(3),
.shipments-table td:nth-child(3) {
  width: 14%;
}

.shipments-table th:nth-child(4),
.shipments-table td:nth-child(4) {
  width: 12%;
}

.shipments-table th:nth-child(5),
.shipments-table td:nth-child(5) {
  width: 10%;
}

.shipments-table th:nth-child(6),
.shipments-table td:nth-child(6) {
  width: 10%;
}

.shipments-table th:nth-child(7),
.shipments-table td:nth-child(7) {
  width: 14%;
}

.shipments-table th:last-child,
.shipments-table td:last-child {
  width: 14%;
}

.shipment-id {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.shipment-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.shipment-icon svg {
  width: 16px;
  height: 16px;
}

.status-transit {
  background: #eff6ff;
  color: #1d4ed8;
}

.status-transit .status-dot {
  background: #3b82f6;
}

.status-delivery {
  background: #fff7ed;
  color: #c2410c;
}

.status-delivery .status-dot {
  background: #f97316;
}

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

.btn-view {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-view:hover {
  background: #f9fafb;
}

.btn-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-update svg {
  width: 13px;
  height: 13px;
}

.btn-update:hover {
  background: #1d4ed8;
}

/* ========== Completed Shipments ========== */
.completed-table th {
  background: #f8fafd;
}

.completed-table th:first-child,
.completed-table td:first-child {
  width: 16%;
}

.completed-table th:nth-child(2),
.completed-table td:nth-child(2) {
  width: 16%;
}

.completed-table th:nth-child(3),
.completed-table td:nth-child(3) {
  width: 18%;
}

.completed-table th:nth-child(4),
.completed-table td:nth-child(4) {
  width: 12%;
}

.completed-table th:nth-child(5),
.completed-table td:nth-child(5) {
  width: 12%;
}

.completed-table th:nth-child(6),
.completed-table td:nth-child(6) {
  width: 12%;
}

.completed-table th:last-child,
.completed-table td:last-child {
  width: 16%;
}

.completed-shipment {
  display: flex;
  align-items: center;
  gap: 12px;
}

.completed-shipment > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.completed-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #ecfdf5;
  color: #059669;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.completed-icon svg {
  width: 18px;
  height: 18px;
}

.view-details {
  font-size: 12.5px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.view-details:hover {
  text-decoration: underline;
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-doc svg {
  width: 14px;
  height: 14px;
  color: #6b7280;
}

.btn-doc:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* ========== Notifications ========== */
.app-isolate {
  isolation: isolate;
}

.notifications-page {
  gap: 20px;
}

.btn-mark-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-mark-all svg {
  width: 15px;
  height: 15px;
  color: #6b7280;
}

.btn-mark-all:hover {
  background: #f9fafb;
}

.notif-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notif-card-head {
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}

.notif-list {
  list-style: none;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-soft);
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item.unread {
  background: #fafbff;
}

.notif-bell-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.notif-bell-icon.unread {
  background: #2563eb;
}

.notif-bell-icon svg {
  width: 18px;
  height: 18px;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.notif-top h2 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.notif-top p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.notif-time {
  font-size: 12.5px;
  font-weight: 500;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.notif-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.btn-notif {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-notif svg {
  width: 12px;
  height: 12px;
  color: #6b7280;
}

.btn-notif:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* ========== Settings ========== */
.settings-page {
  gap: 18px;
}

.settings-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef1f6;
  border-radius: 10px;
  width: fit-content;
}

.settings-tab {
  height: 34px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.settings-tab.active {
  background: #fff;
  border-color: #d1d5db;
  color: #111827;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.settings-tab:not(.active):hover {
  color: #374151;
}

.settings-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px 26px;
  max-width: 920px;
}

.settings-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 22px;
}

.settings-form {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
}

.settings-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.settings-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-field-full {
  width: 100%;
}

.form-field span {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: #111827;
  outline: none;
  resize: vertical;
}

.form-field textarea {
  min-height: 84px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-save {
  align-self: flex-start;
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}

.btn-save:hover {
  background: #1d4ed8;
}

.email-fields {
  gap: 16px;
}

.security-fields {
  gap: 16px;
}

.form-row-three {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-row-third {
  grid-template-columns: minmax(140px, 220px) 1fr;
}

.settings-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.btn-secondary {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Responsive scale for smaller screens while keeping 1920 design */
@media (max-width: 1919px) {
  body {
    overflow: auto;
  }
  .app {
    transform-origin: top left;
  }
}
/* ========== SPA views ========== */
.view { display: none; height: 100%; }
.view.is-active { display: flex; flex-direction: column; gap: inherit; }
.content > .view.is-active { gap: 22px; }
.app[data-view="dashboard"] { background: #f8fafd; }
.app[data-view="customers"],
.app[data-view="quote-requests"],
.app[data-view="quotations"],
.app[data-view="active-shipments"],
.app[data-view="completed-shipments"],
.app[data-view="truck-companies"],
.app[data-view="truck-company-detail"],
.app[data-view="notifications"],
.app[data-view="settings"],
.app[data-view="settings-email"],
.app[data-view="settings-security"] { background: #fcfdff; }
