/* PC 전용 스타일 */
.pc-app { max-width: 1400px; margin: 0 auto; min-height: 100vh; }

.pc-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.pc-header h1 { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.75rem; }
.pc-header-right { display: flex; align-items: center; gap: 1rem; }
.pc-header .user-info { font-size: 0.875rem; opacity: 0.9; }
.pc-header .user-info .sub-account { color: #FFD93D; font-weight: 600; }

.pc-toolbar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 1rem 2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.pc-toolbar-left { display: flex; align-items: center; gap: 1rem; flex: 1; }
.pc-toolbar-right { display: flex; align-items: center; gap: 0.75rem; }

.pc-search {
  position: relative; flex: 1; max-width: 400px;
}
.pc-search input {
  width: 100%; padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 1px solid var(--border); border-radius: 0.5rem;
  font-size: 0.9375rem; font-family: inherit;
}
.pc-search input:focus { outline: none; border-color: var(--primary); }
.pc-search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted); }

.pc-content { padding: 1.5rem 2rem; display: flex; gap: 1.5rem; }
.pc-sidebar { width: 240px; flex-shrink: 0; }
.pc-main { flex: 1; min-width: 0; }

/* Product Table */
.pc-product-table {
  background: white; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.pc-product-table table { width: 100%; border-collapse: collapse; }
.pc-product-table thead th {
  background: linear-gradient(135deg, #FFF8F5, #FFEFEA);
  padding: 0.875rem 1rem; text-align: left;
  font-size: 0.8125rem; font-weight: 600; color: var(--foreground);
  border-bottom: 2px solid var(--border); white-space: nowrap;
  letter-spacing: 0.02em;
}
.pc-product-table tbody td {
  padding: 0.875rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.9375rem; vertical-align: middle;
}
.pc-product-table tbody tr { transition: background 0.15s; }
.pc-product-table tbody tr:hover { background: #FFF8F5; }
.pc-product-table tbody tr:last-child td { border-bottom: none; }
.pc-product-table tbody tr.set-row { background: linear-gradient(135deg, rgba(236,72,153,0.04), white); }
.pc-product-table tbody tr.set-row:hover { background: rgba(236,72,153,0.08); }

.table-stock { font-weight: 700; font-size: 1.125rem; }
.table-stock.low { color: var(--danger); }
.table-stock.medium { color: var(--warning); }
.table-stock.good { color: var(--accent); }

.table-actions { display: flex; gap: 0.375rem; }
.table-action-btn {
  padding: 0.375rem 0.75rem; border: 1px solid var(--border);
  background: white; border-radius: 0.375rem; font-size: 0.75rem;
  font-family: inherit; cursor: pointer; font-weight: 500;
  transition: all 0.2s;
}
.table-action-btn:hover { background: var(--background); }
.table-action-btn.sale { color: var(--danger); border-color: var(--danger); }
.table-action-btn.sale:hover { background: #fef2f2; }
.table-action-btn.return { color: var(--accent); border-color: var(--accent); }
.table-action-btn.return:hover { background: #ecfdf5; }

/* PC Bottom Actions */
.pc-bottom-actions {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  max-width: 1400px; width: 100%;
  background: white; border-top: 2px solid var(--primary);
  padding: 0.75rem 2rem; display: flex; align-items: center; gap: 0.75rem;
  z-index: 100; box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

/* PC Sidebar */
.pc-sidebar .sidebar-section { margin-bottom: 1.5rem; }
.pc-sidebar .sidebar-title {
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.75rem; padding: 0 0.5rem;
}
.sidebar-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.625rem 0.75rem; border-radius: 0.5rem;
  cursor: pointer; transition: all 0.2s; font-size: 0.9375rem;
}
.sidebar-item:hover { background: var(--background); }
.sidebar-item.active { background: rgba(255,59,92,0.1); color: var(--primary); font-weight: 600; }
.sidebar-count {
  background: var(--background); padding: 0.125rem 0.5rem;
  border-radius: 9999px; font-size: 0.75rem; color: var(--muted);
}

/* PC Barcode Indicator - 헤더 중앙 */
.pc-app .barcode-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  z-index: 250;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  border-top: none;
}

/* PC Modal - Center */
@media (min-width: 769px) {
  .modal-overlay { align-items: center; }
  .modal { border-radius: 1.5rem; max-width: 500px; }
}

/* PC Summary */
.pc-summary { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.pc-summary-card {
  flex: 1; background: white; padding: 1.25rem; border-radius: 0.75rem;
  border: 1px solid var(--border);
}
.pc-summary-card .label { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.25rem; }
.pc-summary-card .value { font-size: 1.75rem; font-weight: 700; }
.pc-summary-card .value.primary { color: var(--primary); }
.pc-summary-card .value.danger { color: var(--danger); }
.pc-summary-card .value.accent { color: var(--accent); }
