/**
 * 文件职责：秒杀活动主编辑抽屉样式。
 */
.sk-editor-drawer {
  .ant-drawer-header {
    min-height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid #f0f0f0;
  }

  .ant-drawer-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
  }

  .ant-drawer-body {
    padding: 14px 16px 12px;
  }

  .ant-drawer-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
  }

  .sk-editor-form {
    .ant-form-item {
      margin-bottom: 14px;
    }

    .ant-form-item-label {
      padding-bottom: 6px;
    }

    .ant-form-item-label > label {
      font-size: 13px;
      font-weight: 500;
      color: #374151;
    }
  }

  .ant-input,
  .ant-input-number,
  .ant-picker,
  .ant-select-selector {
    border-color: #e5e7eb !important;
    border-radius: 6px !important;
  }

  .ant-input,
  .ant-input-number-input,
  .ant-picker-input > input {
    font-size: 13px;
  }

  .ant-input {
    height: 34px;
    padding: 0 10px;
  }

  .ant-input-number {
    height: 34px;
  }

  .ant-input-number-input {
    height: 32px;
  }

  .ant-picker {
    height: 34px;
    padding: 0 10px;
  }

  .ant-input-number:focus-within,
  .ant-picker-focused,
  .ant-input:focus {
    border-color: #1677ff !important;
    box-shadow: 0 0 0 2px rgb(22 119 255 / 10%) !important;
  }

  .sk-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sk-pill {
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 30px;
    color: #4b5563;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
  }

  .sk-pill:hover {
    color: #1677ff;
    border-color: #91caff;
  }

  .sk-pill.checked {
    color: #fff;
    background: #1677ff;
    border-color: #1677ff;
  }

  .sk-range-picker {
    width: 100%;
    max-width: 360px;
  }

  .sk-session-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }

  .sk-session-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fb;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
  }

  .sk-session-time {
    width: 100px;
  }

  .sk-session-duration {
    width: 88px;
  }

  .sk-session-label {
    font-size: 12px;
    color: #6b7280;
  }

  .sk-session-remove {
    width: 24px;
    height: 24px;
    margin-left: auto;
    font-size: 14px;
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 6px;
    transition: all 0.2s;
  }

  .sk-session-remove:hover {
    color: #ef4444;
    background: #fef2f2;
  }

  .sk-product-empty {
    padding: 14px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    background: #f8f9fb;
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
  }

  .sk-drawer-prod {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
  }

  .sk-drawer-prod-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fb;
    border-bottom: 1px solid #e5e7eb;
  }

  .sk-drawer-prod-hd span {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
  }

  .sk-drawer-prod-remove {
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 6px;
    transition: all 0.2s;
  }

  .sk-drawer-prod-remove:hover {
    color: #ef4444;
    background: #fef2f2;
  }

  .sk-drawer-prod-bd {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
  }

  .sk-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .sk-field label {
    font-size: 11px;
    color: #6b7280;
  }

  .sk-field .ant-input,
  .sk-field .ant-input-number {
    width: 124px;
  }

  .sk-limit-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .sk-limit-row .ant-input-number {
    width: 100px;
  }

  .sk-unit {
    font-size: 13px;
    color: #6b7280;
  }

  .sk-preheat-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .sk-preheat-row .ant-input-number {
    width: 84px;
  }

  .sk-drawer-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
  }

  .sk-drawer-footer .ant-btn {
    min-width: 64px;
    height: 32px;
    border-radius: 6px;
  }
}
