/* 文件职责：自提设置页面时段预览样式。 */
.page-store-pickup {
  .pickup-preview-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
  }

  .pickup-preview-day-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
  }

  .pickup-preview-day-tab {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 14px;
    color: #4b5563;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .pickup-preview-day-tab.active {
    color: #fff;
    background: #1677ff;
    border-color: #1677ff;
  }

  .pickup-preview-day-tab .tab-date {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
  }

  .pickup-preview-day-tab .tab-sub {
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.85;
  }

  .pickup-preview-slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pickup-preview-slot-cell {
    width: 84px;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .pickup-preview-slot-cell .slot-time {
    font-size: 13px;
    font-weight: 500;
  }

  .pickup-preview-slot-cell .slot-status {
    margin-top: 2px;
    font-size: 11px;
  }

  .pickup-preview-slot-cell.expired {
    color: #b6bbc3;
    background: #f8f9fb;
    border-color: #e5e7eb;
  }

  .pickup-preview-slot-cell.available {
    color: #16a34a;
    background: #f0fdf4;
    border-color: #bbf7d0;
  }

  .pickup-preview-slot-cell.almost {
    color: #d97706;
    background: #fffbeb;
    border-color: #fde68a;
  }

  .pickup-preview-slot-cell.full {
    color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
  }

  .pickup-preview-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    font-size: 12px;
    color: #9ca3af;
  }

  .pickup-preview-legend span {
    display: inline-flex;
    gap: 4px;
    align-items: center;
  }

  .legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
  }

  .legend-dot.expired {
    background: #d9d9d9;
  }

  .legend-dot.available {
    background: #b7eb8f;
  }

  .legend-dot.almost {
    background: #ffd591;
  }

  .legend-dot.full {
    background: #ffa39e;
  }
}
