/* ============================================
   电商新品 OA 系统 — 全局样式
   设计参考：Ardot fileId=698735190636820
   ============================================ */

:root {
  /* 主色调 */
  --primary: #1A73E8;
  --primary-hover: #1557B0;
  --primary-light: #E8F0FE;
  --primary-bg: #EBF3FE;

  /* 语义色 */
  --success: #10B981;
  --success-light: #E6F9F2;
  --warning: #F59E0B;
  --warning-light: #FFF7E6;
  --danger: #EA4335;
  --danger-light: #FDE8E7;

  /* 中性色 */
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --text-white: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --bg-page: #F7F8FC;
  --bg-card: #FFFFFF;
  --bg-hover: #F9FAFB;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);

  /* 布局 */
  --sidebar-width: 256px;
  --header-height: 56px;

  /* 字体 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Sarasa Gothic SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   Layout — 侧边栏 + 主内容区
   ============================================ */

.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* ============================================
   Header
   ============================================ */

.app-header {
  height: var(--header-height);
  min-height: var(--header-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.app-header .logo {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.app-header .logo span {
  color: var(--primary);
}

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

.header-nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  text-decoration: none;
}
.header-nav-link:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.header-nav-approval {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}
.header-nav-approval:hover {
  background: #D4E4FC;
  color: var(--primary);
}
.header-nav-admin {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 500;
}
.header-nav-admin:hover {
  background: #FDE68A;
  color: #92400E;
}

.header-role-badge {
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 2px 8px;
  background: var(--border-light);
  border-radius: var(--radius-full);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
}

.header-user:hover {
  background: var(--bg-hover);
}

.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.header-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================
   Sidebar Filter (产品列表)
   ============================================ */

.sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 20px 8px;
}

.filter-group {
  padding: 0 12px 12px;
}

.filter-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 8px 6px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  font-size: 13px;
  color: var(--text-primary);
}

.filter-item:hover {
  background: var(--bg-hover);
}

.filter-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.filter-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  border: 2px solid var(--text-tertiary);
  flex-shrink: 0;
  transition: all 0.15s;
}

.filter-item.active .filter-dot {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-item .badge-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-page);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

.btn-danger {
  background: var(--danger);
  color: var(--text-white);
  border-color: var(--danger);
}

.btn-success {
  background: var(--success);
  color: var(--text-white);
  border-color: var(--success);
}

.btn-warning {
  background: var(--warning);
  color: var(--text-white);
  border-color: var(--warning);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 10px 24px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.card-header-title {
  font-size: 15px;
  font-weight: 600;
}

.card-body {
  padding: 20px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

/* ============================================
   Table
   ============================================ */

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

.data-table thead {
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 12px 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-page);
  white-space: nowrap;
}

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

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

.data-table td {
  padding: 14px 8px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.15s;
}

.data-table tbody tr:hover {
  background: var(--bg-hover);
}

.data-table tbody tr.clickable {
  cursor: pointer;
}

/* ============================================
   Status Badge (Pill)
   ============================================ */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
}

.status-badge.pending {
  background: #F3F4F6;
  color: #4B5563;
}
.status-badge.pending .dot { background: #9CA3AF; }

.status-badge.active {
  background: var(--primary-light);
  color: var(--primary);
}
.status-badge.active .dot { background: var(--primary); }

.status-badge.done {
  background: var(--success-light);
  color: var(--success);
}
.status-badge.done .dot { background: var(--success); }

.status-badge.warning {
  background: var(--warning-light);
  color: #B45309;
}
.status-badge.warning .dot { background: var(--warning); }

.status-badge.paused {
  background: var(--danger-light);
  color: var(--danger);
}
.status-badge.paused .dot { background: var(--danger); }

/* 阶段标签色 */
.status-badge.stage-1 { background: var(--primary-light); color: var(--primary); }
.status-badge.stage-1 .dot { background: var(--primary); }
.status-badge.stage-2 { background: var(--warning-light); color: #B45309; }
.status-badge.stage-2 .dot { background: var(--warning); }
.status-badge.stage-3 { background: var(--success-light); color: var(--success); }
.status-badge.stage-3 .dot { background: var(--success); }
.status-badge.stage-4 { background: var(--primary-light); color: var(--primary); }
.status-badge.stage-4 .dot { background: var(--primary); }
.status-badge.stage-5 { background: #F3F4F6; color: #4B5563; }
.status-badge.stage-5 .dot { background: #6B7280; }
.status-badge.stage-6 { background: var(--primary-light); color: var(--primary); }
.status-badge.stage-6 .dot { background: var(--primary); }
.status-badge.stage-7 { background: var(--primary-light); color: var(--primary); }
.status-badge.stage-7 .dot { background: var(--primary); }

/* ============================================
   Level Badge (A/B)
   ============================================ */

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.level-badge.a {
  background: #FEF3C7;
  color: #92400E;
}

.level-badge.b {
  background: #F3F4F6;
  color: #4B5563;
}

/* ============================================
   Form
   ============================================ */

.form-group {
  margin-bottom: 16px;
  min-width: 0;
  overflow: hidden;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-label.required::after {
  content: " *";
  color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: border-color 0.15s;
  outline: none;
  overflow-wrap: break-word;
  word-break: break-word;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-input:read-only,
.form-textarea:read-only,
.form-select:read-only {
  background: var(--bg-page);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.form-textarea {
  min-height: 48px;
  resize: none;
  overflow-y: hidden;
}

.form-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

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

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

/* ============================================
   Stage Detail Layout
   ============================================ */

.stage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.stage-header .back-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.stage-header .back-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.stage-title {
  font-size: 18px;
  font-weight: 600;
  flex: 1;
}

.stage-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-approval-status {
  margin-left: auto;
}

/* Stage Stepper */
.stage-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.stage-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s;
}

.stage-step:hover { color: var(--text-primary); }

.stage-step .step-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.stage-step.current .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.stage-step.current { color: var(--primary); font-weight: 500; }
.stage-step.done .step-dot {
  background: var(--success);
  border-color: var(--success);
  color: white;
}
.stage-step.done { color: var(--success); }

.stage-separator {
  width: 32px;
  height: 1px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ============================================
   Approval Section
   ============================================ */

.approval-timeline {
  padding: 0;
  list-style: none;
}

.approval-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.approval-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.approval-icon.approved {
  background: var(--success-light);
  color: var(--success);
}

.approval-icon.rejected {
  background: var(--danger-light);
  color: var(--danger);
}

.approval-icon.pending {
  background: var(--warning-light);
  color: var(--warning);
}

.approval-body {
  flex: 1;
}

.approval-actor {
  font-size: 13px;
  font-weight: 500;
}

.approval-time {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.approval-comment {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  padding: 8px 12px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
}

/* ============================================
   Delivery Change Timeline
   ============================================ */

.change-timeline {
  padding: 0;
  list-style: none;
}

.change-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  position: relative;
}

.change-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

/* ============================================
   Modal / Dialog
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.15s ease;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.modal-title {
  font-size: 17px;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 20px;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: var(--radius-md);
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 20px 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px 20px;
}

/* ============================================
   Toast / Notification
   ============================================ */

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  z-index: 2000;
  animation: slideDown 0.3s ease, fadeIn 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast.success { background: var(--success); color: white; }
.toast.error { background: var(--danger); color: white; }
.toast.warning { background: var(--warning); color: white; }
.toast.info { background: var(--primary); color: white; }

/* ============================================
   Empty State
   ============================================ */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state .empty-text {
  font-size: 14px;
  margin-bottom: 16px;
}

/* ============================================
   Loading
   ============================================ */

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================
   Product Image Thumb
   ============================================ */

.product-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
}

.product-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 20px;
}

/* ============================================
   Image Upload
   ============================================ */

.image-upload {
  width: 120px;
  height: 120px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
  overflow: hidden;
}

.image-upload:hover {
  border-color: var(--primary);
}

.image-upload.has-image {
  border-style: solid;
  border-color: var(--border);
}

.image-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-upload .upload-icon {
  font-size: 32px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.image-upload .upload-text {
  font-size: 12px;
  color: var(--text-tertiary);
}

.image-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ============================================
   Login Page
   ============================================ */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 40px;
  width: 360px;
  max-width: 90%;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 16px;
}

.login-logo h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.login-logo p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  transition: background 0.15s;
}

.login-btn:hover {
  background: var(--primary-hover);
}

.login-btn.outline {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: var(--border);
}

.login-btn.outline:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ============================================
   Basic Info Image Grid
   ============================================ */

.bi-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.bi-image-item {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  background: var(--bg-page);
}

.bi-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bi-img-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(234, 67, 53, 0.85);
  color: white;
  border: none;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.bi-img-del:hover {
  background: var(--danger);
}

/* ============================================
   Sampling Card Grid
   ============================================ */

.sampling-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sampling-card {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.sampling-card:hover {
  box-shadow: var(--shadow-md);
}

.sampling-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

.sampling-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.sampling-card-actions {
  display: flex;
  gap: 6px;
}

.sampling-card-body {
  padding: 12px 16px;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   Utility
   ============================================ */

.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-bold { font-weight: 600; }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-end { display: flex; align-items: center; justify-content: flex-end; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.hidden { display: none !important; }
