/* 文件职责：堂食管理桌位区块样式。 */
.page-store-dinein {
  .dinein-table-header-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }

  .dinein-table-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .dinein-table-card {
    padding: 14px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgb(15 23 42 / 8%);
    transition: all 0.2s ease;
  }

  .dinein-table-card:hover {
    box-shadow: 0 6px 20px rgb(15 23 42 / 10%);
    transform: translateY(-1px);
  }

  .dinein-table-card.disabled {
    opacity: 0.6;
  }

  .dinein-table-code {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a2e;
  }

  .dinein-table-seat {
    margin-bottom: 8px;
    font-size: 13px;
    color: #4b5563;
  }

  .dinein-table-status {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
  }

  .dinein-table-status .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
  }

  .dinein-table-status.status-free {
    color: #22c55e;
  }

  .dinein-table-status.status-free .status-dot {
    background: #22c55e;
  }

  .dinein-table-status.status-dining {
    color: #f59e0b;
  }

  .dinein-table-status.status-dining .status-dot {
    background: #f59e0b;
  }

  .dinein-table-status.status-reserved {
    color: #1677ff;
  }

  .dinein-table-status.status-reserved .status-dot {
    background: #1677ff;
  }

  .dinein-table-status.status-disabled {
    color: #9ca3af;
  }

  .dinein-table-status.status-disabled .status-dot {
    background: #9ca3af;
  }

  .dinein-table-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 24px;
    margin-bottom: 10px;
  }

  .dinein-table-footer {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
  }
}
