/* 文件职责：堂食管理抽屉与批量弹窗样式。 */
.dinein-area-drawer-wrap,
.dinein-table-drawer-wrap {
  .ant-select {
    width: 100%;
  }

  .ant-drawer-body {
    padding: 16px 20px 90px;
  }

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

.dinein-table-drawer-wrap {
  .drawer-tag-select .ant-select-selector {
    min-height: 38px !important;
    padding: 3px 10px !important;
  }
}

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

.drawer-form-block {
  margin-bottom: 14px;
}

.drawer-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
}

.drawer-form-label.required::before {
  margin-right: 4px;
  color: #ef4444;
  content: '*';
}

.drawer-input-with-unit {
  display: flex;
  gap: 6px;
  align-items: center;
}

.drawer-input {
  width: 88px;
}

.drawer-form-hint {
  font-size: 12px;
  color: #9ca3af;
}

.drawer-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.drawer-status-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.business-status-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.business-status-dot {
  width: 9px;
  height: 9px;
  background: currentcolor;
  border-radius: 50%;
}

.business-status-pill.business-status--free {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.business-status-pill.business-status--dining {
  color: #d97706;
  background: #fffbeb;
  border-color: #fde68a;
}

.business-status-pill.business-status--reserved {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.business-status-pill.business-status--disabled {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #d1d5db;
}

.drawer-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.drawer-footer .ant-btn {
  min-width: 96px;
  height: 40px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: 10px;
}

.dinein-batch-modal-wrap {
  .ant-modal-content {
    overflow: hidden;
    border-radius: 12px;
  }

  .ant-modal-body {
    padding-top: 18px;
  }
}

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

.batch-form-item.full {
  grid-column: span 2;
}

.batch-form-item label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
}

.batch-input-number {
  width: 100%;
}

.batch-preview-wrap {
  padding: 12px;
  margin-top: 16px;
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.batch-preview-title {
  margin-bottom: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.batch-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
