/* ============================================================
   KOPERWIEK — Minimal Header Styles
   Only includes styles used in index.html
   Font:     Barlow Condensed
   Colors from CSS variables:
     --primary-500:   rgb(74,79,72)    = #4a4f48
     --primary-700:   rgb(56,59,54)    = #383b36
     --secondary-500: rgb(165,165,104) = #a5a568
     --cta-500:       rgb(70,179,129)  = #46b381
     --cta-700:       rgb(53,134,97)   = #358661
     --black:         rgb(29,29,27)    = #1d1d1b
============================================================ */

/* ── CSS custom properties ────────────────────────────────── */
:root {
  --primary-500:   74,79,72;
  --primary-700:   56,59,54;
  --secondary-500: 165,165,104;
  --cta-500:       70,179,129;
  --cta-700:       53,134,97;
  --black:         29,29,27;
  --white:         255,255,255;
  --gray-50:       247,248,249;
  --gray-100:      239,239,241;
  --gray-200:      215,216,219;
  --gray-500:      94,98,110;
  --gray-600:      55,58,65;

  /* semantic aliases */
  --color-topbar-bg:        #4a4f48;
  --color-topbar-text:      rgba(var(--secondary-500),1);
  --color-topbar-hover:     rgba(var(--white),1);
  --color-topbar-cart:      rgba(var(--cta-500),1);
  --color-header-bg:        #696c52;
  --color-nav-text:         rgba(var(--white),1);
  --color-nav-active:       rgba(var(--secondary-500),1);
  --color-nav-hover:        rgba(var(--secondary-500),1);
  --color-submenu-bg:       rgba(var(--white),1);
  --color-submenu-text:     rgba(var(--primary-500),1);
  --color-submenu-hover:    rgba(var(--secondary-500),1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  border-color: rgba(var(--gray-200),1);
}

body {
  margin: 0;
  font-family: 'Barlow Condensed', ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4A4F48;
  background: rgba(var(--white),1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}

h1, h2 {
  font-family: "Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h1, h2 {
  color: #4A4F48;
  text-transform: uppercase;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px)  { .container { max-width: 640px;  } }
@media (min-width: 768px)  { .container { max-width: 768px;  } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* ════════════════════════════════════════════════════════════
   TOP BAR  —  .ms_thintopbar
════════════════════════════════════════════════════════════ */
.ms_thintopbar {
  background-color: var(--color-topbar-bg);
  color: var(--color-topbar-text);
}

.ms_thintopbar .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -1rem;
  margin-right: -1rem;
}

/* Slogan */
.ms_thintopbar .slogan-block {
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
  text-align: center;
}
@media (min-width: 640px) {
  .ms_thintopbar .slogan-block {
    flex: 0 0 auto;
    width: auto;
    text-align: left;
  }
}

.ms_thintopbar .slogan-block p {
  color: var(--color-topbar-text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 1.25rem;
  text-transform: uppercase;
  margin: 0;
}

/* Menu block */
.ms_thintopbar .menu-block {
  font-size: .875rem;
  line-height: 1.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .ms_thintopbar .menu-block {
    flex: 1 1 0%;
    width: auto;
  }
}

/* Flex menu */
.menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.ms_thintopbar .menu {
  align-items: center;
}
@media (min-width: 640px) {
  .ms_thintopbar .menu {
    justify-content: flex-end;
  }
}

/* Top-bar menu items */
.ms_thintopbar .menu > li {
  border-style: none;
}

.ms_thintopbar .menu > li > a {
  color: var(--color-topbar-text);
  display: flex;
  align-items: center;
  gap: .25rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
  padding: .75rem 1rem;
  background-color: transparent;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}

.ms_thintopbar .menu > li > a:hover {
  color: var(--color-topbar-hover);
}

/* Cart link */
.ms_thintopbar .menu > li.shopping-cart-button > a {
  color: var(--color-topbar-cart);
  position: relative;
}
.ms_thintopbar .menu > li.shopping-cart-button > a:hover {
  color: rgba(var(--cta-700),1);
}

/* Cart badge (top bar) */
.ms_thintopbar .menu > li.shopping-cart-button .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-topbar-cart);
  color: rgba(var(--white),1);
  border-radius: 9999px;
  height: 1.25rem;
  width: 1.25rem;
  padding: .4rem;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  margin-left: .15rem;
}

/* SVG icons inside topbar */
.ms_thintopbar .menu .icon-lg {
  width: 1.33em;
  height: 1.33em;
  vertical-align: -.2em;
  flex-shrink: 0;
}
.ms_thintopbar .menu .icon-fw {
  width: 1.25em;
}

/* ════════════════════════════════════════════════════════════
   MAIN HEADER  —  .ms_flexible-rearrangeable-elements-header
════════════════════════════════════════════════════════════ */
.ms_flexible-rearrangeable-elements-header {
  position: relative;
  height: 100px;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
  background-color: var(--color-header-bg);
  transform: translateZ(0);
}

/* row + column grid helpers */
.row { width: 100%; }
.row > .columns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -1rem;
  margin-right: -1rem;
}

.cell { padding-left: 1rem; padding-right: 1rem; }
.cell-logo  { flex: 0 0 auto; }
.cell-nav   { flex: 1 1 0%; }

/* ── Logo ──────────────────────────────────────────────────── */
.ms_flexible-rearrangeable-elements-header .logo-block {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.ms_flexible-rearrangeable-elements-header .logo-block .logo-image {
  height: 68px;
  width: auto;
  transition: all .2s cubic-bezier(.4,0,.2,1);
}

/* ── Main nav menu ─────────────────────────────────────────── */
.ms_flexible-rearrangeable-elements-header .menu-block {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.ms_flexible-rearrangeable-elements-header .menu-block > ul {
  justify-content: flex-end;
  align-items: center;
}

/* All nav links */
.ms_flexible-rearrangeable-elements-header .sticky .menu-block .menu .menu-item > a {
  color: var(--color-nav-text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2.7px;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .75rem 1rem;
  background-color: transparent;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}

/* Active */
.ms_flexible-rearrangeable-elements-header .sticky .menu-block .menu .menu-item.active > a {
  color: var(--color-nav-active);
  font-weight: 700;
}

/* Hover */
.ms_flexible-rearrangeable-elements-header .sticky .menu-block .menu .menu-item > a:hover {
  color: var(--color-nav-hover);
  text-decoration: none;
}

/* Chevron SVG */
.chevron {
  width: .875em;
  height: .875em;
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform .18s ease;
}

.is-dropdown-submenu-parent:hover .chevron,
.is-dropdown-submenu-parent:focus-within .chevron {
  transform: rotate(180deg);
}

/* ── Dropdown submenu ──────────────────────────────────────── */
.is-dropdown-submenu-parent {
  position: relative;
}

.is-dropdown-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--color-submenu-bg);
  border-radius: 1rem;
  border-style: none;
  padding: .5rem;
  z-index: 100;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.is-dropdown-submenu-parent:hover > .is-dropdown-submenu,
.is-dropdown-submenu-parent:focus-within > .is-dropdown-submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Vertical sub-menu layout */
.menu.vertical {
  flex-direction: column;
  flex-wrap: nowrap;
}

.is-dropdown-submenu > li {
  width: 100%;
  border-style: none;
}

.ms_flexible-rearrangeable-elements-header .sticky .menu-block .menu .menu-item.is-submenu-item > a {
  color: var(--color-submenu-text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
  line-height: 1.5rem;
  padding: .25rem .5rem;
  border-radius: .5rem;
  transition: color .15s ease, background-color .15s ease;
}

.ms_flexible-rearrangeable-elements-header .sticky .menu-block .menu .menu-item.is-submenu-item > a:hover {
  color: var(--color-submenu-hover);
  text-decoration: none;
}

/* ── Placeholder body ──────────────────────────────────────── */
.placeholder {
  min-height: 80vh;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  color: #4A4F48;
  font-size: 16px;
  letter-spacing: 1px;
}

/* ── Notifications ─────────────────────────────────────────── */
.notification {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  animation: slide-in 0.3s ease-out;
  min-width: 250px;
}
.toast-info { background-color: rgba(var(--primary-500), 1); }
.toast-success { background-color: rgba(var(--cta-500), 1); }
.toast-error { background-color: #ef4444; }

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ── Order table row optimizations ─────────────────────────── */
#productBody tr {
  content-visibility: auto;
  contain-intrinsic-size: 40px;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-out-right {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@keyframes slide-in-left {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.slide-out-right {
  animation: slide-out-right 0.4s ease-in forwards !important;
}

.slide-in-left {
  animation: slide-in-left 0.3s ease-out !important;
}

/* ════════════════════════════════════════════════════════════
   ADMIN — Product Categories
   moved from views/admin-productcategories.ejs
════════════════════════════════════════════════════════════ */
.category-card {
  border: 1px solid rgba(var(--gray-200),1);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.category-header {
  /*display: flex;
  align-items: center;
  justify-content: space-between;*/
  padding: 2px 20px 2px 20px;
  background: rgba(var(--gray-50),1);
  border-bottom: 1px solid rgba(var(--gray-200),1);
}
.category-body {
  padding: 1rem;
}
.add-product-btn {
  padding: 0.25rem 0.5rem;
  background: rgba(var(--cta-500),1);
  color: rgba(var(--white),1);
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: rgba(var(--white),1);
  border-radius: 0.5rem;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(var(--gray-200),1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}
.modal-footer {
  padding: 1rem;
  border-top: 1px solid rgba(var(--gray-200),1);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.product-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(var(--gray-200),1);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.product-checkbox:hover {
  background: rgba(var(--gray-50),1);
}
.product-checkbox input {
  width: 1.25rem;
  height: 1.25rem;
}
.search-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid rgba(var(--gray-200),1);
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}
.empty-message {
  color: rgba(var(--gray-500),1);
  font-style: italic;
}
.product-info {
  display: flex;
  flex-direction: column;
}
.product-name {
  font-weight: 500;
}
.product-sizes {
  font-size: 0.75rem;
  color: rgba(var(--gray-500),1);
}
.product-count {
  color: rgba(var(--gray-600),1);
}

/* ════════════════════════════════════════════════════════════
   ADMIN — Blocked Dates Calendar
   moved from views/admin-blocked-dates.ejs
════════════════════════════════════════════════════════════ */
.blocked-dates-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.year-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.year-navigation button {
  background: #2e7d32;
  color: rgba(var(--white),1);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
}

.year-navigation button:hover {
  background: #1b5e20;
}

.year-navigation h2 {
  margin: 0;
  min-width: 120px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.month-card {
  background: rgba(var(--white),1);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.month-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.month-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  padding: 5px 0;
}

.day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  user-select: none;
  transition: background-color 0.1s;
}

.day-cell:hover {
  background-color: #e0e0e0;
}

.day-cell.empty {
  cursor: default;
  background: transparent;
}

.day-cell.empty:hover {
  background: transparent;
}

.day-cell.weekend {
  background-color: #f5f5f5;
  color: #999;
}

.day-cell.blocked {
  background-color: #ef4444;
  color: rgba(var(--white),1);
}

.day-cell.blocked:hover {
  background-color: #dc2626;
}

.day-cell.selecting {
  background-color: #fbbf24;
}

.legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.legend-color.weekend {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
}

.legend-color.blocked {
  background-color: #ef4444;
}

.instructions {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.instructions h3 {
  margin-top: 0;
  color: #0369a1;
}

.instructions ul {
  margin: 10px 0;
  padding-left: 20px;
}

.instructions li {
  margin-bottom: 5px;
}

.save-indicator {
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
  display: none;
}

.save-indicator.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.save-indicator.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ════════════════════════════════════════════════════════════
   ORDER OVERVIEW — Flatpickr overrides
   moved from views/order-overview.ejs
════════════════════════════════════════════════════════════ */
.flatpickr-day.manually-blocked {
  background: #fecaca !important;
  border-color: #fca5a5 !important;
  color: #7f1d1d !important;
  cursor: not-allowed !important;
}
.flatpickr-day.manually-blocked:hover {
  background: #fca5a5 !important;
}
.flatpickr-day:not(.flatpickr-disabled):not(.flatpickr-day.manually-blocked):not(.today):not(.selected):not(.inRange):not(.startRange):not(.endRange) {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #166534 !important;
}
.flatpickr-day:not(.flatpickr-disabled):not(.flatpickr-day.manually-blocked):not(.today):not(.selected):hover {
  background: #bbf7d0 !important;
}

/* ════════════════════════════════════════════════════════════
   ZOEKLIJST — Uitleg modal
   styles for #explanation-content fetched HTML
════════════════════════════════════════════════════════════ */
#explanation-content ul {
  list-style: none;
  margin: 0.75rem 0;
  padding-left: 0;
}

#explanation-content li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
  color: #4A4F48;
}

#explanation-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(var(--secondary-500), 1);
}

#explanation-content p {
  color: #666;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   PHOTO ICON — Product admin photo link column
════════════════════════════════════════════════════════════ */
.photo-icon {
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
  vertical-align: middle;
}
.photo-icon-active {
  color: rgba(70,179,129,1);
}
.photo-icon-inactive {
  color: #999;
  opacity: 0.35;
}

.delete-row-btn {
  background: #4A4F48;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

#orderFooter {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid #4A4F48;
  padding: 15px 20px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

#discountInfo {
  font-size: 0.85rem;
  color: #46b381;
  font-weight: 600;
}

#discountRow {
  justify-content: space-between;
  margin-bottom: 10px;
  color: #46b381;
  font-weight: 600;
}

/* ── Category pills ─────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 16px;
  font-size: 0.85rem;
  cursor: pointer;
  background: #fff;
  font-family: inherit;
  line-height: inherit;
}
.pill--active {
  background: #333;
  color: #fff;
  border-color: #333;
}
.pill--expanded {
  border-color: #2e7d32;
  background: #e8f5e9;
  font-weight: 600;
}
.pill--checked {
  background: #e8f5e9;
}
.pill--sub {
  gap: 3px;
  padding: 4px 10px;
  border-color: #ddd;
  border-radius: 12px;
  font-size: 0.8rem;
}
.pill-checkbox {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #2e7d32;
  margin: 0;
}
.pill-checkbox--sub {
  width: 12px;
  height: 12px;
}
.pill-arrow {
  font-size: 0.65rem;
  color: #666;
  margin-left: 2px;
}
.pill-arrow--expanded {
  color: #2e7d32;
}
.sub-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 4px;
  width: 100%;
  border-top: 1px solid #e0e0e0;
  margin-top: 4px;
}
.sub-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.sub-group-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e7d32;
  margin-right: 4px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  cursor: pointer;
  font-family: inherit;
  border: none;
}
.btn-primary {
  background-color: rgb(var(--cta-500));
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0.25rem;
  padding: 0.75rem;
}
.btn-primary--lg {
  padding: 1rem;
  font-size: 1.125rem;
}
.btn-primary--sm {
  padding: 0.5rem 1rem;
}
.btn-primary--wide {
  padding: 0.75rem 1.5rem;
}
.btn-order {
  background: #46b381;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  padding: 10px 20px;
}
.btn-order--lg {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
}
.btn-outline {
  background: transparent;
  color: rgb(var(--cta-500));
  border: 2px solid rgb(var(--cta-500));
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0.25rem;
  padding: 0.75rem;
  display: block;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
}
.btn-ghost {
  background: none;
  border: none;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}
.btn-danger {
  background: #ef4444;
  color: white;
  border: none;
}
.btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon--circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-sm {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
}
.btn-white {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
}
.btn-green-bg {
  background: rgba(70,179,129,1);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
}

/* ── Forms ──────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.form-input {
  padding: 0.75rem;
  border: 1px solid rgba(var(--gray-200),1);
  border-radius: 0.25rem;
  font-family: inherit;
}

/* ── Tables ─────────────────────────────────────────────── */
.table-full {
  width: 100%;
  border-collapse: collapse;
}
.th-bg {
  background-color: #f4f4f4;
}
.th-compact {
  padding: 6px;
}
.td-compact {
  padding: 4px 6px;
}
.td-md {
  padding: 10px;
}
.tr-border {
  border-bottom: 1px solid #eee;
}
.td-right {
  text-align: right;
}

/* ── Required star ──────────────────────────────────────── */
.required-star {
  color: #ef4444;
}

