/* ===== IQIP ERP — Design System ===== */
:root {
  --accent: #C8D830;
  --accent-hover: #b5c32a;
  --accent-light: #f4f7d6;
  --accent-soft: #e8ed9a;
  --bg: #f7f8fa;
  --bg-card: #ffffff;
  --bg-sidebar: #1e1e1e;
  --text: #2c2c2c;
  --text-light: #6b7280;
  --text-sidebar: #e0e0e0;
  --border: #e5e7eb;
  --border-light: #f0f1f3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --sidebar-width: 240px;
  --mobile-header-height: 56px;
  --transition: 0.2s ease;

  /* Status colors */
  --status-ny: #3b82f6;
  --status-kontaktad: #8b5cf6;
  --status-ej-svar: #f59e0b;
  --status-demo: #06b6d4;
  --status-offert: #ec4899;
  --status-vunnen: #22c55e;
  --status-forlorad: #ef4444;

  /* Priority */
  --prio-high: #ef4444;
  --prio-medium: #f59e0b;
  --prio-low: #6b7280;

  /* Follow-up warnings */
  --warn-yellow: #fef3c7;
  --warn-yellow-border: #f59e0b;
  --warn-red: #fef2f2;
  --warn-red-border: #ef4444;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-header .logo {
  height: 28px;
  width: auto;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--text-sidebar);
  font-size: 24px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  padding: 12px 10px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-sidebar);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
}

.nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.nav-link.active {
  background: var(--accent);
  color: var(--bg-sidebar);
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 12px 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.sidebar-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ===== Mobile Header ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mobile-header-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  align-items: center;
  gap: 12px;
  z-index: 90;
}

.logo-mobile {
  height: 22px;
  width: auto;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 99;
}

.overlay.active { display: block; }

/* ===== Main Content ===== */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  padding: 28px 32px;
}

.page { display: none; }
.page.active { display: block; }

/* ===== Page Headers ===== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ===== Stat Cards (Dashboard) ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
}

.stat-clickable {
  cursor: pointer;
}

.stat-clickable:active {
  transform: scale(0.98) !important;
}

.stat-card.accent {
  border-left: 4px solid var(--accent);
}

.stat-card.warning {
  border-left: 4px solid var(--warn-yellow-border);
}

.stat-card.danger {
  border-left: 4px solid var(--warn-red-border);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-sidebar);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 8px rgba(200, 216, 48, 0.3);
}

.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border-light);
}

.btn-danger {
  background: #fef2f2;
  color: var(--status-forlorad);
  border: 1px solid #fecaca;
}

.btn-danger:hover {
  background: #fee2e2;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition);
}

.btn-icon:hover {
  background: var(--bg);
  color: var(--text);
}

.btn-icon.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--bg-sidebar);
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

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

/* ===== Table ===== */
.table-container {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  background: var(--bg);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.table th:hover {
  color: var(--text);
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: rgba(200, 216, 48, 0.04);
}

.table tr.clickable {
  cursor: pointer;
  transition: background var(--transition);
}

.table tr.clickable:active td {
  background: rgba(200, 216, 48, 0.08);
}

/* Follow-up warning rows */
.table tr.warn-yellow td { background: var(--warn-yellow); }
.table tr.warn-red td { background: var(--warn-red); }

/* ===== Status Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-ny { background: #dbeafe; color: #1e40af; }
.badge-kontaktad { background: #ede9fe; color: #5b21b6; }
.badge-ej-svar { background: #fef3c7; color: #92400e; }
.badge-demo { background: #cffafe; color: #155e75; }
.badge-offert { background: #fce7f3; color: #9d174d; }
.badge-vunnen { background: #dcfce7; color: #166534; }
.badge-forlorad { background: #fef2f2; color: #991b1b; }

/* Priority badges */
.badge-prio-high { background: #fef2f2; color: var(--prio-high); }
.badge-prio-medium { background: #fef3c7; color: #92400e; }
.badge-prio-low { background: #f3f4f6; color: var(--prio-low); }

/* ===== Tags / Etiketter ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--accent-light);
  color: #5a6400;
  white-space: nowrap;
}

.tag .tag-remove {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.tag .tag-remove:hover { opacity: 1; }

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

/* ===== Kanban Board ===== */
.kanban-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  min-height: 400px;
}

.kanban-column {
  min-width: 280px;
  flex: 1;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.kanban-column-header {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kanban-column-header .count {
  background: var(--border);
  color: var(--text-light);
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 10px;
}

.kanban-cards {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 60px;
}

.kanban-cards.drag-over {
  background: var(--accent-light);
  border-radius: var(--radius-sm);
}

.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: grab;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.kanban-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.kanban-card:active { cursor: grabbing; }

.kanban-card.dragging {
  opacity: 0.5;
  transform: rotate(2deg);
}

.kanban-card .card-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.kanban-card .card-subtitle {
  font-size: 12px;
  color: var(--text-light);
}

.kanban-card .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* ===== Filters Bar ===== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filters-bar .form-input,
.filters-bar .form-select {
  width: auto;
  min-width: 140px;
  padding: 7px 12px;
  font-size: 13px;
}

.filters-bar .search-input {
  flex: 1;
  min-width: 200px;
}

.view-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

/* ===== Modal ===== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 200;
  animation: fadeIn 0.2s ease;
}

.modal-backdrop.active { display: block; }

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 201;
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.25s ease;
}

.modal.active { display: block; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--bg);
  color: var(--text);
}

.modal-body {
  padding: 20px 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ===== Detail View ===== */
.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.detail-title {
  font-size: 22px;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-field {
  margin-bottom: 4px;
}

.detail-field .field-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.detail-field .field-value {
  font-size: 14px;
  color: var(--text);
}

/* ===== Contact Log ===== */
.contact-log {
  list-style: none;
}

.contact-log-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-log-item:last-child { border-bottom: none; }

.log-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}

.log-date {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.log-text {
  font-size: 14px;
  color: var(--text);
}

/* ===== Section Headers ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  margin-top: 24px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-sidebar);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success { border-left: 4px solid var(--accent); }
.toast.error { border-left: 4px solid var(--status-forlorad); }
.toast.warning { border-left: 4px solid var(--warn-yellow-border); }

/* ===== Activity List ===== */
.activity-list {
  list-style: none;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.activity-item:last-child { border-bottom: none; }

.activity-time {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 60px;
}

/* ===== Charts (simple bar) ===== */
.chart-bar-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chart-bar-label {
  font-size: 13px;
  font-weight: 500;
  min-width: 110px;
  color: var(--text);
}

.chart-bar {
  flex: 1;
  height: 24px;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 0.5s ease;
  min-width: 2px;
}

.chart-bar-count {
  font-size: 13px;
  font-weight: 600;
  min-width: 28px;
  text-align: right;
  color: var(--text-light);
}

/* ===== Images grid ===== */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.images-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.images-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ===== Contact Person Card ===== */
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 8px;
}

.contact-card .contact-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-card .contact-info {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-state p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* ===== Dashboard: 3D Shape Inline + Glow + Live Indicators ===== */
#page-dashboard {
  position: relative;
  min-height: calc(100vh - 56px);
}

.dash-content {
  position: relative;
}

.dash-cols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.dash-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.dash-3d-area {
  flex: 1;
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
}

.dash-3d-area canvas {
  display: block;
  width: 100%;
  height: 100%;
}


/* Hover glow effect on stat-cards and cards */
.stat-card-glow {
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(200, 216, 48, 0.15), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card-glow:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(200, 216, 48, 0.18), 0 2px 6px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.stat-card-glow:hover::before {
  opacity: 1;
}

.stat-card-glow > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .dash-3d-area {
    min-height: 260px;
  }
}

/* Live indicator (LIVE label) */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  background: var(--accent-light);
  border: 1px solid var(--accent-soft);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #5a6400;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Stat pulse — small dot next to label */
.stat-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  margin-right: 6px;
  vertical-align: middle;
  animation: stat-pulse-anim 2.2s ease-in-out infinite;
}

.stat-pulse-green {
  background: var(--status-vunnen);
  box-shadow: 0 0 6px var(--status-vunnen);
}

.stat-pulse-yellow {
  background: var(--warn-yellow-border);
  box-shadow: 0 0 6px var(--warn-yellow-border);
}

.stat-pulse-red {
  background: var(--warn-red-border);
  box-shadow: 0 0 6px var(--warn-red-border);
  animation-duration: 1.4s;
}

@keyframes stat-pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

/* Stat value transition */
.stat-card .stat-value {
  font-variant-numeric: tabular-nums;
}

/* Smooth chart bar growth */
.chart-bar-fill {
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dashboard list row hover */
.dash-list-row {
  transition: all var(--transition);
}

.dash-list-row:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Chain Color ===== */
.chain-row td {
  background: color-mix(in srgb, var(--row-color) 10%, transparent) !important;
  border-bottom-color: color-mix(in srgb, var(--row-color) 15%, var(--border-light)) !important;
}

.chain-row:hover td {
  background: color-mix(in srgb, var(--row-color) 16%, transparent) !important;
}

.chain-row td:first-child {
  border-left: 3px solid var(--row-color);
}

.chain-color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chain-color-picker {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color var(--transition), transform var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.chain-color-picker::-webkit-color-swatch-wrapper { padding: 0; }
.chain-color-picker::-webkit-color-swatch { border: none; border-radius: 50%; }

.chain-color-picker:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

.chain-color-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Checkerboard = transparent/no color indicator */
.chain-color-none {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: repeating-conic-gradient(#d1d5db 0% 25%, #fff 0% 50%) 50% / 8px 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
}

.chain-color-none:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

.chain-color-none-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: repeating-conic-gradient(#d1d5db 0% 25%, #fff 0% 50%) 50% / 6px 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
}

.chain-color-none-sm:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

/* Color swatch (shows chosen color, clickable) */
.chain-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
}

.chain-color-swatch:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

.chain-color-swatch-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
}

.chain-color-swatch-sm:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

/* Inline color picker row with confirm */
.color-pick-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chain-color-clear,
.chain-color-clear-sm {
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all var(--transition);
  flex-shrink: 0;
  font-family: inherit;
}

.chain-color-clear:hover,
.chain-color-clear-sm:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--status-forlorad);
}

.chain-color-picker-sm {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  background: none;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.chain-color-picker-sm::-webkit-color-swatch-wrapper { padding: 0; }
.chain-color-picker-sm::-webkit-color-swatch { border: none; border-radius: 50%; }

.chain-color-picker-sm:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

.chain-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.chain-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chain-input-row .form-input {
  flex: 1;
  min-width: 0;
}

#form-chain-color-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* ===== Detail Save Bar ===== */
.detail-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-top: 24px;
  background: var(--accent-light);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-sm);
}

/* Table inline clickable badges */
.table-clickable {
  cursor: pointer;
  transition: transform var(--transition);
  display: inline-block;
}

.table-clickable:hover {
  transform: scale(1.08);
}

/* ===== Dropdown Menu (picker for status/priority) ===== */
.dropdown-menu {
  position: fixed;
  z-index: 10000;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 4px;
  min-width: 160px;
  animation: section-expand 0.15s ease;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.dropdown-item:hover {
  background: var(--bg);
}

.dropdown-item-active {
  background: var(--accent-light);
  font-weight: 700;
}

.dropdown-item-active:hover {
  background: var(--accent-soft);
}

.dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Demo Status ===== */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: #f3f4f6;
  color: #6b7280;
}

.demo-badge.demo-blue { background: #dbeafe; color: #1e40af; }
.demo-badge.demo-yellow { background: #fef3c7; color: #92400e; }
.demo-badge.demo-green { background: #dcfce7; color: #166534; }
.demo-badge.demo-red { background: #fef2f2; color: #991b1b; }

.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-clickable {
  cursor: pointer;
  transition: all var(--transition);
}

.demo-clickable:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

/* ===== Units / Serial Numbers ===== */
.units-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.unit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.unit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
}

.unit-field {}

.unit-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.unit-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Consolas', 'Monaco', monospace;
  letter-spacing: 0.03em;
}

.unit-note {
  margin-bottom: 6px;
  font-style: italic;
}

.unit-actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .unit-row { grid-template-columns: 1fr; }
}

/* ===== Process Steps (traffic lights) ===== */
.process-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
  min-width: 140px;
}

.process-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.step-light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.step-yellow {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.step-green {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.step-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.step-status-label {
  font-size: 11px;
  color: var(--text-light);
}

/* ===== Document Upload Slots ===== */
.doc-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.doc-slot {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.doc-slot-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.doc-slot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: var(--accent-light);
  color: #5a6400;
}

.doc-slot-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.doc-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.doc-file-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-hover);
  cursor: pointer;
  word-break: break-all;
}

.doc-file-name:hover {
  text-decoration: underline;
}

.doc-file-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

/* Inline step lights (stepper in customer table) */
.step-lights-inline {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-light-mini {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
  position: relative;
  cursor: default;
  flex-shrink: 0;
}

.step-light-mini:hover {
  transform: scale(1.3);
  z-index: 10;
}

/* Connector lines between dots */
.step-connector {
  width: 14px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.step-connector.done {
  background: #22c55e;
}

/* Tooltip on hover */
.step-light-mini .step-tooltip {
  display: none;
  position: fixed;
  z-index: 9999;
  background: var(--bg-card);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.step-light-mini:hover .step-tooltip {
  display: block;
}

.step-tooltip-name {
  font-weight: 700;
  margin-bottom: 2px;
}

.step-tooltip-status {
  font-size: 11px;
  color: var(--text-light);
}

.step-tooltip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* Floating tooltip (body-level, above everything) */
.step-tooltip-float {
  display: none;
  position: fixed;
  z-index: 10000;
  background: var(--bg-card);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.step-tooltip-float .step-tooltip-name {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}

.step-tooltip-float .step-tooltip-status {
  font-size: 11px;
  color: var(--text-light);
}

/* Contact log images */
.log-images {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.log-images img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition);
}

.log-images img:hover {
  transform: scale(1.1);
}

/* Contact log files */
.log-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.log-file-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
}

.log-file-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.log-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  background: var(--accent-light);
  color: #5a6400;
  letter-spacing: 0.02em;
}

/* Offers */
.offers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.offer-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.offer-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offer-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Consolas', 'Monaco', monospace;
  letter-spacing: 0.02em;
}

.offer-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.offer-file {
  display: flex;
}

/* Categorized images */
.image-category {
  margin-bottom: 12px;
}

.image-category-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-light);
}

.image-thumb-wrap {
  position: relative;
  display: inline-block;
}

.image-thumb-wrap img {
  display: block;
}

.image-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition);
}

.image-thumb-wrap:hover .image-remove-btn {
  display: flex;
}

.image-remove-btn:hover {
  background: var(--status-forlorad);
}

@media (max-width: 480px) {
  .doc-upload-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
}

/* ===== Inline Toggle (e.g. address under company name) ===== */
.inline-toggle {
  margin-top: 6px;
}

.inline-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  background: none;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.inline-toggle-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-light);
}

.inline-toggle-btn svg {
  transition: transform var(--transition);
}

.inline-toggle.expanded .inline-toggle-btn {
  display: none;
}

.inline-toggle-body {
  display: none;
  margin-top: 8px;
  animation: section-expand 0.2s ease;
}

.inline-toggle.expanded .inline-toggle-body {
  display: block;
}

.inline-toggle-input-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.inline-toggle-input-row .form-input {
  flex: 1;
}

/* Address fields layout */
.address-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.address-field-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.address-field-row .form-input {
  flex: 1;
  min-width: 0;
}

.address-field-row-split .address-postal {
  flex: 0 0 110px;
}

.address-field-row-split .address-city {
  flex: 1;
}

/* Postal code lookup loader & auto-filled highlight */
.address-city-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.address-city-wrap .form-input {
  width: 100%;
  padding-right: 28px;
}

.postal-loading {
  display: none;
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
}

.postal-loading.active {
  display: block;
  animation: postal-spin 0.7s linear infinite;
}

@keyframes postal-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.form-input.auto-filled {
  background: var(--accent-light);
  border-color: var(--accent);
  transition: background 1.5s ease, border-color 1.5s ease;
}

.inline-toggle-remove {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: inherit;
  padding: 0;
}

.inline-toggle-remove:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--status-forlorad);
}

/* ===== Collapsible Form Sections ===== */
.form-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition);
}

.form-section[open] {
  border-color: var(--accent-soft);
}

.form-section:hover {
  border-color: #d1d5db;
}

.form-section[open]:hover {
  border-color: var(--accent);
}

.form-section-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  list-style: none;
  transition: background var(--transition);
}

.form-section-summary::-webkit-details-marker { display: none; }
.form-section-summary::marker { display: none; }

.form-section-summary:hover {
  background: var(--bg);
}

.form-section[open] .form-section-summary {
  background: var(--accent-light);
  border-bottom: 1px solid var(--accent-soft);
}

.form-section-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}

.form-section[open] .form-section-icon {
  transform: rotate(45deg);
  border-color: var(--text);
}

.form-section-hint {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
}

.form-section[open] .form-section-hint {
  display: none;
}

.form-section-body {
  padding: 16px;
  animation: section-expand 0.2s ease;
}

@keyframes section-expand {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .form-section-hint {
    display: none;
  }
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.tab:hover { color: var(--text); }

.tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close { display: block; }

  .mobile-header { display: flex; }

  .main-content {
    margin-left: 0;
    padding: 16px;
    padding-top: calc(var(--mobile-header-height) + 16px);
  }

  .page-header { flex-direction: column; align-items: flex-start; }

  .kanban-board { flex-direction: column; }
  .kanban-column { min-width: unset; }

  .form-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-bar .form-input,
  .filters-bar .form-select {
    width: 100%;
  }

  .view-toggle { margin-left: 0; }

  .modal {
    width: 95%;
    max-height: 90vh;
  }

  .table th, .table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ===== Utility ===== */
.text-muted { color: var(--text-light); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
