/* ==========================================================================
   China Business Trip Samples Management Page Styling
   ========================================================================== */

.trip-management-page {
  display: none;
  background-color: var(--loewe-bone, #f7f6f2);
  min-height: 100vh;
  padding: 30px 24px 80px;
}

body.trip-management-view .trip-management-page {
  display: block !important;
}

body.trip-management-view .season-landing,
body.trip-management-view .category-index-bar,
body.trip-management-view .gallery-section,
body.trip-management-view .brand-spec-section,
body.trip-management-view .order-list-section,
body.trip-management-view .company-management-page {
  display: none !important;
}

.trip-management-shell {
  max-width: 1600px;
  margin: 0 auto;
}

.trip-management-nav {
  margin-bottom: 20px;
}

.trip-management-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ced4da;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trip-management-back:hover {
  background: #212529;
  color: #fff;
  border-color: #212529;
}

.trip-management-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

.trip-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 2px solid #212529;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.trip-header-title h2 {
  font-family: var(--font-display, inherit);
  font-size: 26px;
  font-weight: 800;
  color: #212529;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trip-header-title p {
  margin: 0;
  font-size: 13px;
  color: #6c757d;
}

.trip-stats-bar {
  display: flex;
  gap: 12px;
}

.trip-stat-badge {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #495057;
}

.trip-stat-badge strong {
  color: #2b8a3e;
  font-size: 14px;
}

/* Trip Tabs & Filter Controls */
.trip-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.trip-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trip-tab-btn {
  background: #f1f3f5;
  border: 1px solid #ced4da;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #495057;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trip-tab-btn:hover {
  background: #e9ecef;
  color: #212529;
}

.trip-tab-btn.active {
  background: #212529;
  color: #fff;
  border-color: #212529;
}

.trip-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 6px 14px;
  width: 320px;
  max-width: 100%;
}

.trip-search-box i {
  color: #868e96;
}

.trip-search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

/* Trip Table */
.trip-table-wrapper {
  overflow-x: auto;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
}

.trip-samples-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.trip-samples-table th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 800;
  padding: 12px 10px;
  border-bottom: 2px solid #dee2e6;
  white-space: nowrap;
}

.trip-samples-table td {
  padding: 10px;
  border-bottom: 1px solid #f1f3f5;
  vertical-align: middle;
}

.trip-samples-table tr:hover {
  background: #f8f9fa;
}

.trip-img-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  background: #f1f3f5;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.trip-img-thumb:hover {
  transform: scale(1.08);
}

.trip-no-img {
  width: 64px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  color: #adb5bd;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.trip-badge-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  background: #e7f5ff;
  color: #1971c2;
  white-space: nowrap;
}

.trip-badge-tag.tag-0802 {
  background: #e7f5ff;
  color: #1971c2;
}

.trip-badge-tag.tag-0703 {
  background: #f3d9fa;
  color: #9c36b5;
}

.trip-badge-tag.tag-0602 {
  background: #e6fcf5;
  color: #0ca678;
}

.price-rmb {
  font-weight: 800;
  color: #e03131;
}

.price-cost {
  font-weight: 700;
  color: #212529;
}

.price-margin {
  font-weight: 700;
  color: #2b8a3e;
}

.price-offer {
  font-weight: 800;
  color: #d9480f;
}

.btn-view-catalog {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2b8a3e;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-view-catalog:hover {
  background: #237032;
  transform: translateY(-1px);
}

.btn-view-catalog.unmatched {
  background: #f1f3f5;
  color: #868e96;
  cursor: default;
  border: 1px solid #ced4da;
}
