/* 文件职责：配送模式切换与半径中心点输入样式。 */
.page-store-delivery {
  .delivery-active-mode {
    padding: 14px 16px;
    margin-bottom: 16px;
    background: #f8fbff;
    border: 1px solid #d6e4ff;
    border-radius: 10px;
  }

  .delivery-active-title {
    margin-bottom: 4px;
    font-size: 13px;
    color: #475569;
  }

  .delivery-active-value {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #1d4ed8;
  }

  .delivery-active-tip {
    margin-bottom: 10px;
    font-size: 12px;
    color: #64748b;
  }

  .delivery-active-switch {
    display: flex;
    gap: 2px;
    width: fit-content;
    padding: 3px;
    background: #f1f5ff;
    border-radius: 8px;
  }

  .delivery-config-title {
    margin-bottom: 8px;
    font-size: 13px;
    color: #475569;
  }

  .delivery-mode-switch {
    display: flex;
    gap: 2px;
    width: fit-content;
    padding: 3px;
    margin-bottom: 16px;
    background: #f8f9fb;
    border-radius: 8px;
  }

  .mode-switch-item {
    padding: 6px 18px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .mode-switch-item.active {
    font-weight: 600;
    color: #1677ff;
    background: #fff;
    box-shadow: 0 2px 6px rgb(15 23 42 / 8%);
  }

  .radius-center-panel {
    padding: 14px 16px;
    background: #fbfcfe;
    border: 1px solid #e5eaf5;
    border-radius: 10px;
  }

  .radius-center-title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
  }

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

  .radius-center-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .radius-center-field label {
    font-size: 12px;
    color: #64748b;
  }

  .radius-center-field .field-input {
    width: 100%;
  }

  .radius-center-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
  }

  .polygon-mode-hint {
    padding: 12px 14px;
    font-size: 12px;
    color: #64748b;
    background: #fafafa;
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .page-store-delivery {
    .radius-center-grid {
      grid-template-columns: 1fr;
    }
  }
}
