@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #0891b2;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(99, 102, 241, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Bai Jamjuree', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 10%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 90%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
  z-index: -1;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px;
}

.container-wide {
  max-width: 1100px;
}

/* Header */
h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.period {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 32px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card:nth-child(1)::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.card:nth-child(2)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.card:nth-child(3)::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.card:nth-child(4)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card strong {
  font-size: 22px;
  font-weight: 700;
}

.blue { color: #4f46e5; }
.green { color: #059669; }
.purple { color: #7c3aed; }
.orange { color: #d97706; }

/* Panels */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

/* Chart */
.chart {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 40px 0;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: 8px 8px 0 0;
  min-height: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar:hover {
  background: linear-gradient(180deg, #06b6d4, var(--primary));
  transform: scaleY(1.03);
  transform-origin: bottom;
}

.months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 12px 40px 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* Table */
thead tr {
  border-bottom: 1px solid var(--border);
}

th {
  text-align: center;
  color: #000000;
  font-weight: 500;
  font-size: 12px;
  padding: 10px 6px;
  letter-spacing: 0.3px;
  border: 1px solid #000000;
  background: var(--bg);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

th:first-child {
  text-align: left;
  white-space: normal;
}

td {
  padding: 10px 6px;
  font-size: 13px;
  border: 1px solid #000000;
  text-align: center;
  color: #000000;
}

td:first-child {
  text-align: left;
  font-weight: 500;
}

tr:last-child td {
  border-bottom: 1px solid #000000;
}

/* Menu Page */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 28px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(6, 182, 212, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(99, 102, 241, 0.3);
}

.menu-icon {
  font-size: 52px;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-daily {
  color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
}

.icon-monthly {
  color: #0891b2;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
}

.icon-customers {
  color: #7c3aed;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
}

.menu-card:hover .menu-icon {
  transform: scale(1.08);
}

.menu-card:hover .icon-daily {
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.menu-card:hover .icon-monthly {
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.2);
}

.menu-card:hover .icon-customers {
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.menu-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.menu-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.2s ease;
}

.back-link:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-dark);
  transform: translateX(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container > * {
  animation: fadeInUp 0.4s ease forwards;
}

.container > :nth-child(2) { animation-delay: 0.08s; }
.container > :nth-child(3) { animation-delay: 0.16s; }
.container > :nth-child(4) { animation-delay: 0.24s; }
.container > :nth-child(5) { animation-delay: 0.32s; }

/* Page Layout - Sidebar */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar h1 {
  font-size: 24px;
  margin-top: 16px;
}

.sidebar .period {
  margin-bottom: 32px;
}

.sidebar .back-link {
  margin-bottom: 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sidebar-btn:hover {
  color: var(--text);
  background: rgba(99, 102, 241, 0.04);
}

.sidebar-btn.active {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.sidebar-btn svg {
  flex-shrink: 0;
}

.main-content {
  padding: 40px 48px;
  flex: 1;
  min-width: 0;
}

/* Tabs (inline style for other pages) */
.tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tab-btn {
  padding: 12px 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(99, 102, 241, 0.04);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* Forms */
.goal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row-5 {
  grid-template-columns: repeat(5, 1fr);
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

/* Filter Row */
.filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.filter-group input,
.filter-group select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.filter-group select {
  cursor: pointer;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #000000;
  table-layout: auto;
  font-size: 13px;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
  align-self: flex-start;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

/* Goal Board */
.goal-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.goal-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s ease;
}

.goal-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.goal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.goal-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.goal-date {
  font-size: 13px;
  color: var(--text-muted);
}

.goal-progress {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.goal-progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.goal-progress-bar.complete {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.goal-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.goal-stats .current {
  font-weight: 600;
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-export, .btn-print {
  padding: 10px 20px;
  border: 1px solid #000000;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-export {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.btn-export:hover {
  background: #059669;
}

.btn-print {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.btn-print:hover {
  background: #4f46e5;
}

.btn-refresh {
  padding: 10px 20px;
  border: 1px solid #0891b2;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #0891b2;
  color: #ffffff;
}

.btn-refresh:hover {
  background: #0e7490;
}

/* Loading Bar */
.loading-bar {
  padding: 16px;
  text-align: center;
}

.loading-progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.loading-progress::after {
  content: '';
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  animation: loadingSlide 1.2s ease-in-out infinite;
}

@keyframes loadingSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

.loading-text {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-delete {
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* District grouping */
.district-row td {
  background: rgba(99, 102, 241, 0.06);
  font-weight: 600;
  font-size: 13px;
  color: #000000;
  padding: 8px 14px !important;
  text-align: left !important;
  border: 1px solid #000000;
}

.customer-indent {
  padding-left: 20px !important;
}

.customer-no-purchase {
  background: rgba(245, 158, 11, 0.2) !important;
}

/* Table input cells */
.input-cell {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: #fff;
}

.input-cell:focus {
  outline: none;
  border-color: var(--primary);
}

.input-locked {
  background: #f1f5f9 !important;
  color: #1e293b;
  cursor: not-allowed;
}

.btn-edit {
  margin-top: 6px;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  width: 100%;
}

.btn-edit:hover {
  background: rgba(245, 158, 11, 0.2);
}

.btn-cancel {
  margin-top: 4px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  width: 100%;
}

.btn-cancel:hover {
  background: rgba(239, 68, 68, 0.2);
}

.select-cell {
  width: 100%;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

.select-cell:focus {
  outline: none;
  border-color: var(--primary);
}

/* Schedule Toggle */
.schedule-toggle {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.toggle-option {
  flex: 1;
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.schedule-toggle.input-locked .toggle-option {
  cursor: not-allowed;
  opacity: 0.7;
}

.cell-empty {
  background: rgba(239, 68, 68, 0.15) !important;
}

/* Total row */
.total-row td {
  background: rgba(99, 102, 241, 0.08) !important;
  font-weight: 700;
  border-top: 2px solid #000000;
}

/* Sum column (every 6 days) */
.sum-col {
  background: rgba(16, 185, 129, 0.1) !important;
  font-weight: 600 !important;
  color: #059669 !important;
  min-width: 60px !important;
  width: 60px !important;
}

.sum-col-data {
  background: rgba(16, 185, 129, 0.06) !important;
  font-weight: 600;
  color: #059669;
  min-width: 60px !important;
  width: 60px !important;
}

/* Login Page */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
  text-align: center;
  animation: fadeInUp 0.5s ease forwards;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.login-input-group {
  margin-bottom: 20px;
}

.login-input-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  letter-spacing: 4px;
}

.login-input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.login-btn {
  width: 100%;
  padding: 14px 32px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.login-error {
  margin-top: 16px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { padding: 24px 16px; }
  h1 { font-size: 26px; }
  .cards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .chart, .months { padding-left: 10px; padding-right: 10px; }
  .card strong { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .main-content { padding: 24px 16px; }
}

/* Print */
@media print {

#stockTable th:first-child,
#stockTable td:first-child,
#dailyTable th:first-child,
#dailyTable td:first-child {
  min-width: 130px;
}

/* Board Table */
.board-title {
  text-align: center !important;
  width: 100%;
}

.board-title-text {
  font-size: 18px;
  font-weight: 700;
  text-align: center !important;
  margin-bottom: 4px;
}

.board-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center !important;
  margin-bottom: 16px;
  font-weight: 600;
}

.board-table {
  table-layout: auto !important;
  width: auto !important;
  max-width: 100%;
}

#boardTable {
  width: auto !important;
  table-layout: auto !important;
}

#boardTable th,
#boardTable td {
  padding: 8px 10px;
  white-space: nowrap;
  font-size: 15px;
  min-width: unset !important;
}

#boardTable th:first-child,
#boardTable td:first-child {
  min-width: unset !important;
  width: auto !important;
  text-align: center;
}

#boardTable th:nth-child(2),
#boardTable td:nth-child(2) {
  min-width: unset !important;
  width: auto !important;
}

.board-separator td {
  border-bottom: 3px solid #000000 !important;
}

.board-has-sale td:nth-child(4) {
  background: #fce7f3 !important;
  color: #be185d;
  font-weight: 700;
}

.text-red {
  color: #ef4444 !important;
  font-weight: 600;
}

.text-green {
  color: #10b981 !important;
  font-weight: 600;
}

.board-footer {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: 8px;
}

.board-summary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 8px;
}

.board-summary-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.board-product-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Print */
@media print {
  .sidebar, .back-link, .filter-row, .action-buttons, .loading-bar {
    display: none !important;
  }
  .page-layout {
    display: block;
  }
  .main-content {
    padding: 0;
  }
  .panel {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  body {
    background: #fff;
  }
}
