/* 文件职责：包装费卡片样式。 */
.page-store-fees {
  .packaging-mode-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
  }

  .packaging-mode-header {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .packaging-mode-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
  }

  .packaging-mode-badge {
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #155eef;
    background: #eff4ff;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
  }

  .packaging-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .packaging-mode-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 92px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d8dde6;
    border-radius: 10px;
    transition: all 0.18s ease;
  }

  .packaging-mode-card:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

  .packaging-mode-card:hover:not(:disabled) {
    border-color: #86a6ff;
    box-shadow: 0 4px 12px rgb(17 24 39 / 8%);
  }

  .packaging-mode-card.active {
    background: linear-gradient(160deg, #ecf3ff 0%, #f8fbff 100%);
    border-color: #5b8bff;
    box-shadow: 0 6px 18px rgb(32 94 255 / 15%);
  }

  .packaging-mode-card-title {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
  }

  .packaging-mode-dot {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
  }

  .packaging-mode-card.active .packaging-mode-dot {
    background: #2563eb;
    box-shadow: 0 0 0 4px rgb(37 99 235 / 16%);
  }

  .packaging-mode-card-hint {
    font-size: 12px;
    line-height: 1.55;
    color: #556070;
  }

  .packaging-mode-effect {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #1f3a8a;
    background: #f5f8ff;
    border: 1px solid #dbe7ff;
    border-radius: 8px;
  }

  .packaging-tier-block {
    padding-top: 16px;
    margin-top: 18px;
    border-top: 1px solid #f3f4f6;
  }

  .packaging-tier-toggle-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
  }

  .packaging-tier-toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
  }

  .packaging-tier-note {
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
  }

  .packaging-tier-table-wrap {
    overflow: hidden;
    border: 1px solid #edf0f5;
    border-radius: 10px;
  }

  .packaging-tier-table {
    width: 100%;
    border-collapse: collapse;
  }

  .packaging-tier-table th {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: left;
    background: #f8f9fb;
    border-bottom: 1px solid #edf0f5;
  }

  .packaging-tier-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
  }

  .packaging-tier-table tr:last-child td {
    border-bottom: none;
  }

  .fees-table-link {
    margin-right: 8px;
    font-size: 12px;
    color: #1677ff;
    cursor: pointer;
  }

  .fees-table-link.danger {
    color: #ef4444;
  }

  .packaging-tier-add-row {
    margin-top: 10px;
  }

  .packaging-item-mode-tip {
    padding: 18px;
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
  }

  .packaging-item-mode-tip .tip-title {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
  }

  .packaging-item-mode-tip .tip-desc {
    font-size: 12px;
    color: #6b7280;
  }
}
