/* ============================================
   MULTI-LEVEL SELECTOR - DESIGN SYSTEM
   Variantes UX/UI pour sélecteur hiérarchique
   ============================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f5f5f5;
  padding: 40px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

h3 {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-header {
  margin-bottom: 40px;
}

.page-header p {
  color: #666;
  font-size: 15px;
}

/* Grid Layout */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
}

.variant-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
}

.variant-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 6px;
  border-left: 3px solid #ddd;
}

/* ============================================
   DÉCLENCHEURS (État fermé)
   ============================================ */

/* Base Trigger Styles */
.trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 42px;
}

.trigger:hover {
  border-color: #999;
  background: #fafafa;
}

.trigger:focus,
.trigger.is-open {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  outline: none;
}

.trigger-icon {
  color: #666;
  flex-shrink: 0;
}

.trigger-chevron {
  margin-left: auto;
  color: #999;
  transition: transform 0.2s ease;
}

.trigger.is-open .trigger-chevron {
  transform: rotate(180deg);
}

/* Variante A: Tags inline */
.trigger-tags {
  flex-wrap: wrap;
  gap: 6px;
  min-width: 300px;
}

.trigger-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #e8f0fe;
  color: #1a56db;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.trigger-tags .tag-remove {
  cursor: pointer;
  opacity: 0.6;
  font-size: 14px;
  line-height: 1;
}

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

.trigger-tags .tag-overflow {
  background: #f0f0f0;
  color: #666;
}

.trigger-tags .placeholder {
  color: #999;
}

/* Variante B: Résumé textuel */
.trigger-summary {
  min-width: 280px;
}

.trigger-summary .summary-text {
  color: #333;
}

.trigger-summary .summary-empty {
  color: #999;
}

.trigger-summary .summary-count {
  margin-left: 8px;
  padding: 2px 8px;
  background: #0066cc;
  color: white;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

/* Variante C: Bouton simple avec compteur */
.trigger-button {
  min-width: 200px;
  justify-content: space-between;
}

.trigger-button .button-label {
  font-weight: 500;
}

.trigger-button .button-count {
  padding: 2px 10px;
  background: #f0f0f0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.trigger-button .button-count.has-selection {
  background: #0066cc;
  color: white;
}

/* Variante D: Input recherche */
.trigger-search {
  min-width: 320px;
  padding: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.trigger-search .tags-area {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  padding: 6px 0;
}

.trigger-search .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #e8f0fe;
  color: #1a56db;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.trigger-search .tag-remove {
  cursor: pointer;
  opacity: 0.6;
  font-size: 14px;
  line-height: 1;
}

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

.trigger-search .more-count {
  padding: 3px 8px;
  background: #f0f0f0;
  color: #666;
  border-radius: 4px;
  font-size: 12px;
}

.trigger-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  background: transparent;
}

.trigger-search input::placeholder {
  color: #999;
}

.trigger-search .search-icon {
  padding-left: 14px;
  color: #999;
}

/* Variante E: Hybride (tags + compteur + search) */
.trigger-hybrid {
  min-width: 400px;
  flex-wrap: wrap;
  gap: 6px;
}

.trigger-hybrid .tags-area {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.trigger-hybrid .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #e8f0fe;
  color: #1a56db;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.trigger-hybrid .more-count {
  padding: 3px 8px;
  background: #f0f0f0;
  color: #666;
  border-radius: 4px;
  font-size: 12px;
}

/* ============================================
   PANELS (État ouvert)
   ============================================ */

/* Container pour positionner le panel */
.selector-container {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

/* Base Panel */
.panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 100;
  display: none;
  overflow: hidden;
}

.panel.is-open {
  display: flex;
  flex-direction: column;
}

/* Panel Header (commun) */
.panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.panel-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.panel-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
}

.panel-search input::placeholder {
  color: #999;
}

.panel-search .search-icon {
  color: #999;
  font-size: 14px;
}

/* Breadcrumb / Fil d'Ariane */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  font-size: 12px;
  overflow-x: auto;
}

.breadcrumb-item {
  color: #0066cc;
  cursor: pointer;
  white-space: nowrap;
  padding: 2px 4px;
  border-radius: 3px;
}

.breadcrumb-item:hover {
  background: #e8f0fe;
}

.breadcrumb-item.current {
  color: #333;
  font-weight: 500;
  cursor: default;
}

.breadcrumb-item.current:hover {
  background: transparent;
}

.breadcrumb-separator {
  color: #999;
}

/* Breadcrumb compact (avec ellipsis) */
.breadcrumb-compact {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-compact .ellipsis {
  color: #999;
  padding: 2px 6px;
  cursor: pointer;
}

.breadcrumb-compact .ellipsis:hover {
  background: #f0f0f0;
  border-radius: 3px;
}

/* ============================================
   VARIANTE 1: Drill-down vertical
   ============================================ */

.panel-drilldown {
  width: 320px;
  max-height: 450px;
}

.panel-drilldown .items-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.panel-drilldown .item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.panel-drilldown .item:hover {
  background: #f5f5f5;
}

.panel-drilldown .item.is-selected {
  background: #e8f0fe;
}

.panel-drilldown .item-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.panel-drilldown .item.is-selected .item-checkbox {
  background: #0066cc;
  border-color: #0066cc;
  color: white;
}

.panel-drilldown .item-checkbox .check {
  display: none;
  font-size: 12px;
}

.panel-drilldown .item.is-selected .item-checkbox .check {
  display: block;
}

.panel-drilldown .item-label {
  flex: 1;
  font-size: 14px;
}

.panel-drilldown .item-arrow {
  color: #999;
  font-size: 12px;
}

.panel-drilldown .item-count {
  color: #999;
  font-size: 12px;
}

/* Back button */
.panel-drilldown .back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #0066cc;
  cursor: pointer;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
}

.panel-drilldown .back-button:hover {
  background: #f5f5f5;
}

/* ============================================
   VARIANTE 2: Miller Columns
   ============================================ */

.panel-miller {
  width: 700px;
  max-height: 450px;
}

.panel-miller .columns-container {
  display: flex;
  flex: 1;
  overflow-x: auto;
}

.panel-miller .column {
  min-width: 200px;
  max-width: 200px;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.panel-miller .column:last-child {
  border-right: none;
}

.panel-miller .column-header {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
}

.panel-miller .column-items {
  flex: 1;
  overflow-y: auto;
}

.panel-miller .item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.1s ease;
}

.panel-miller .item:hover {
  background: #f5f5f5;
}

.panel-miller .item.is-active {
  background: #e8f0fe;
}

.panel-miller .item.is-selected .item-checkbox {
  background: #0066cc;
  border-color: #0066cc;
}

.panel-miller .item-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #d0d0d0;
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-miller .item-checkbox .check {
  display: none;
  color: white;
  font-size: 10px;
}

.panel-miller .item.is-selected .item-checkbox .check {
  display: block;
}

.panel-miller .item-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-miller .item-arrow {
  color: #999;
  font-size: 10px;
}

/* ============================================
   VARIANTE 3: Panel Large 2 zones
   ============================================ */

.panel-dual {
  width: 600px;
  max-height: 500px;
}

.panel-dual .dual-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.panel-dual .navigation-zone {
  width: 300px;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.panel-dual .selection-zone {
  width: 300px;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.panel-dual .zone-header {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  background: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
}

.panel-dual .zone-content {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.panel-dual .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.panel-dual .nav-item:hover {
  background: #f5f5f5;
}

.panel-dual .nav-item.is-active {
  background: #e8f0fe;
}

.panel-dual .nav-item-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-dual .nav-item.is-selected .nav-item-checkbox {
  background: #0066cc;
  border-color: #0066cc;
  color: white;
}

.panel-dual .nav-item-checkbox .check {
  display: none;
  font-size: 12px;
}

.panel-dual .nav-item.is-selected .nav-item-checkbox .check {
  display: block;
}

.panel-dual .nav-item-label {
  flex: 1;
  font-size: 14px;
}

.panel-dual .nav-item-arrow {
  color: #999;
}

/* Selection zone items */
.panel-dual .selected-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
}

.panel-dual .selected-item-path {
  flex: 1;
  color: #666;
  font-size: 11px;
}

.panel-dual .selected-item-name {
  font-weight: 500;
  color: #333;
}

.panel-dual .selected-item-remove {
  color: #999;
  cursor: pointer;
  padding: 4px;
}

.panel-dual .selected-item-remove:hover {
  color: #cc0000;
}

.panel-dual .empty-selection {
  padding: 24px 16px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* ============================================
   VARIANTE 4: Tree View (Arbre dépliable)
   ============================================ */

.panel-tree {
  width: 380px;
  max-height: 500px;
}

.panel-tree .tree-container {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.panel-tree .tree-node {
  user-select: none;
}

.panel-tree .tree-node-content {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.panel-tree .tree-node-content:hover {
  background: #f5f5f5;
}

.panel-tree .tree-node.is-selected > .tree-node-content {
  background: #e8f0fe;
}

.panel-tree .tree-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 10px;
  flex-shrink: 0;
  border-radius: 4px;
}

.panel-tree .tree-toggle:hover {
  background: #e0e0e0;
}

.panel-tree .tree-toggle.is-empty {
  visibility: hidden;
}

.panel-tree .tree-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #d0d0d0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-tree .tree-node.is-selected .tree-checkbox {
  background: #0066cc;
  border-color: #0066cc;
  color: white;
}

.panel-tree .tree-checkbox .check {
  display: none;
  font-size: 10px;
}

.panel-tree .tree-node.is-selected .tree-checkbox .check {
  display: block;
}

.panel-tree .tree-label {
  flex: 1;
  font-size: 13px;
}

.panel-tree .tree-count {
  color: #999;
  font-size: 11px;
}

.panel-tree .tree-children {
  display: none;
  padding-left: 20px;
}

.panel-tree .tree-node.is-expanded > .tree-children {
  display: block;
}

/* Level indicators */
.panel-tree .tree-node[data-level="1"] > .tree-node-content { padding-left: 12px; }
.panel-tree .tree-node[data-level="2"] > .tree-node-content { padding-left: 32px; }
.panel-tree .tree-node[data-level="3"] > .tree-node-content { padding-left: 52px; }
.panel-tree .tree-node[data-level="4"] > .tree-node-content { padding-left: 72px; }
.panel-tree .tree-node[data-level="5"] > .tree-node-content { padding-left: 92px; }

/* ============================================
   VARIANTE 5: Panel avec onglets de niveau
   ============================================ */

.panel-tabs {
  width: 400px;
  max-height: 500px;
}

.panel-tabs .tabs-header {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
  overflow-x: auto;
}

.panel-tabs .tab {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.panel-tabs .tab:hover {
  color: #333;
  background: #f0f0f0;
}

.panel-tabs .tab.is-active {
  color: #0066cc;
  border-bottom-color: #0066cc;
  background: white;
}

.panel-tabs .tab-count {
  margin-left: 6px;
  padding: 1px 6px;
  background: #e0e0e0;
  border-radius: 8px;
  font-size: 10px;
}

.panel-tabs .tab.is-active .tab-count {
  background: #e8f0fe;
  color: #0066cc;
}

.panel-tabs .tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.panel-tabs .tab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.panel-tabs .tab-item:hover {
  background: #f5f5f5;
}

.panel-tabs .tab-item.is-selected {
  background: #e8f0fe;
}

.panel-tabs .tab-item-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-tabs .tab-item.is-selected .tab-item-checkbox {
  background: #0066cc;
  border-color: #0066cc;
  color: white;
}

.panel-tabs .tab-item-checkbox .check {
  display: none;
  font-size: 12px;
}

.panel-tabs .tab-item.is-selected .tab-item-checkbox .check {
  display: block;
}

.panel-tabs .tab-item-label {
  flex: 1;
  font-size: 14px;
}

.panel-tabs .tab-item-path {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* ============================================
   SELECTION FOOTER (commun)
   ============================================ */

.panel-footer {
  padding: 12px 16px;
  border-top: 1px solid #e8e8e8;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-footer .selection-count {
  font-size: 13px;
  color: #666;
}

.panel-footer .selection-count strong {
  color: #333;
}

.panel-footer .actions {
  display: flex;
  gap: 8px;
}

.btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary {
  background: white;
  border: 1px solid #d0d0d0;
  color: #333;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #999;
}

.btn-primary {
  background: #0066cc;
  border: 1px solid #0066cc;
  color: white;
}

.btn-primary:hover {
  background: #0055aa;
}

.btn-text {
  background: transparent;
  border: none;
  color: #666;
  padding: 8px 12px;
}

.btn-text:hover {
  color: #333;
  background: #f0f0f0;
}

/* ============================================
   SEARCH RESULTS
   ============================================ */

.search-results {
  padding: 8px 0;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.search-result-item:hover {
  background: #f5f5f5;
}

.search-result-item.is-selected {
  background: #e8f0fe;
}

.search-result-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.search-result-checkbox .check {
  display: none;
  font-size: 12px;
}

.search-result-item.is-selected .search-result-checkbox {
  background: #0066cc;
  border-color: #0066cc;
  color: white;
}

.search-result-item.is-selected .search-result-checkbox .check {
  display: block;
}

.search-result-info {
  flex: 1;
  cursor: pointer;
}

.search-result-info[data-navigate]:hover {
  color: #0066cc;
}

.search-result-arrow,
.nav-item-arrow[data-navigate],
.tab-item-arrow {
  color: #0066cc;
  font-size: 24px;
  font-weight: 600;
  padding: 4px 12px;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.1s ease;
}

.search-result-arrow:hover,
.nav-item-arrow[data-navigate]:hover,
.tab-item-arrow:hover {
  background: #e8f0fe;
}

.search-result-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.search-result-name mark {
  background: #fff3cd;
  padding: 0 2px;
  border-radius: 2px;
}

.search-result-path {
  font-size: 12px;
  color: #666;
}

.search-result-path .separator {
  margin: 0 4px;
  color: #999;
}

.search-no-results {
  padding: 24px 16px;
  text-align: center;
  color: #999;
}

.search-no-results .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

/* ============================================
   ÉTATS & ANIMATIONS
   ============================================ */

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #999;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top-color: #0066cc;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Highlight animation for newly selected items */
@keyframes highlight {
  0% { background: #fff3cd; }
  100% { background: transparent; }
}

.item-highlight {
  animation: highlight 0.5s ease;
}

/* ============================================
   RESPONSIVE HELPERS (pour la démo)
   ============================================ */

.spacer {
  height: 200px;
}

.demo-section {
  margin-bottom: 48px;
}

.demo-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.demo-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  margin-bottom: 16px;
  min-height: 120px;
  position: relative;
  z-index: 1;
}

/* Classe ajoutée via JS quand le panel est ouvert */
.demo-item.has-open-panel {
  z-index: 100;
  margin-bottom: 480px;
}

.demo-item h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

/* Static panel display (for demo) */
.panel-static {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  margin-top: 12px;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-muted { color: #999; }
.text-small { font-size: 12px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.p-16 { padding: 16px; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
