/* Old sidebar tab bar removed - tabs now in header strip */

/* Tab Panels */

/* Map Header Strip */
.map-header-strip {
  display: none;
}

.header-strip-left {
  display: none;
}

.header-tab-bar {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.header-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--color-text-faint);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
  position: relative;
}

.header-tab:hover {
  color: var(--color-text-muted);
  background: rgba(130, 21, 44, 0.05);
}

.header-tab.active {
  color: #F9E9D2;
  border-bottom-color: var(--color-brand-red);
  background: rgba(130, 21, 44, 0.06);
}

.header-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(130, 21, 44, 0.6), transparent);
  filter: blur(3px);
}

.header-chat-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  margin-left: 4px;
  border: 1px solid rgba(65,65,75,0.3);
  border-radius: 4px;
  background: transparent;
  color: var(--color-text-faint);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  font-family: inherit;
  white-space: nowrap;
  position: relative;
  height: 28px;
  align-self: center;
}
.header-chat-btn:hover {
  color: var(--color-text-muted);
  background: rgba(130, 21, 44, 0.08);
  border-color: var(--color-border-accent-medium);
}
.header-chat-btn.chat-open {
  color: #F9E9D2;
  background: rgba(130, 21, 44, 0.15);
  border-color: var(--color-brand-red);
}
.header-chat-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.header-tab svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
  flex-shrink: 0;
  transition: stroke 0.25s ease;
}

.header-tab.active svg {
  stroke: #c9a44a;
  filter: drop-shadow(0 0 4px rgba(130, 21, 44, 0.4));
}

.header-separator {
  display: none;
}

.header-stats-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-right: 16px;
}

.header-stat-badge {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  background: rgba(130, 21, 44, 0.12);
  color: var(--color-text-accent);
  border: 1px solid rgba(130, 21, 44, 0.2);
  transition: all 0.3s ease;
}

.header-stat-badge.secondary {
  background: rgba(36, 36, 44, 0.4);
  color: var(--color-text-muted);
  border-color: rgba(65, 65, 75, 0.4);
}

.map-search-container {
  position: relative;
  flex: 1;
  width: 100%;
}

.map-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-faint);
  pointer-events: none;
}

.map-search-input {
  width: 100%;
  padding: 6px 12px 6px 32px;
  border-radius: 6px;
  background: rgba(36, 36, 44, 0.5);
  border: 1px solid rgba(65, 65, 75, 0.4);
  color: var(--color-text-heading);
  font-size: 0.8125rem;
  font-family: inherit;
  box-sizing: border-box;
}

.map-search-input:focus {
  outline: none;
  border-color: rgba(130, 21, 44, 0.6);
}

.map-search-input::placeholder {
  color: var(--color-text-faint);
}

.map-header-controls {
  display: none;
}

.map-layers-widget {
  position: fixed;
  top: calc(var(--total-header-height) + 10px);
  right: 46px;
  z-index: var(--z-sidebar);
}


/* Two-column MAP panel layout (HOZINT-style) */
.map-panel-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.filter-column {
  flex: 1;
  min-width: 0;
  border-right: 1px solid rgba(65,65,75,0.3);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
  background: rgba(8,8,12,0.4);
}
.filter-column::-webkit-scrollbar { display: none; }

.feed-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.fc-section { padding: 0; }

.fc-top-row {
  padding: 8px 14px 4px;
}

.fc-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: rgba(39,39,42,0.5);
  border: 1px solid rgba(65,65,75,0.5);
  color: var(--color-text-muted);
  font-family: inherit;
  transition: all 0.2s;
}
.fc-reset-btn:hover { color: var(--color-text-accent); background: rgba(130,21,44,0.15); border-color: rgba(130,21,44,0.4); }

.fc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.fc-section-header:hover { color: var(--color-text-heading); }
.fc-section-header.open { color: var(--color-text-secondary); }
.fc-plus { font-size: 0.625rem; color: var(--color-text-faint); transition: color 0.2s; }
.fc-section-header:hover .fc-plus { color: var(--color-text-accent); }

.fc-section-body { padding: 0 14px 8px; }

.fc-divider {
  height: 1px;
  background: rgba(65,65,75,0.2);
  margin: 4px 14px;
}

.fc-label {
  padding: 8px 10px 6px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.fc-filter-group-inline {
  display: flex;
  flex-direction: column;
}

.fc-select-all-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px 2px;
}

.fc-select-all-btn {
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-size: 0.625rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.fc-select-all-btn:hover { color: var(--color-text-accent); }

.fc-row-pair {
  display: flex;
  gap: 8px;
  padding: 0 14px;
}
.fc-row-pair .fc-field-half {
  flex: 1;
  padding: 0 0 6px;
  min-width: 0;
}

.fc-sub-divider {
  height: 1px;
  background: rgba(65,65,75,0.15);
  margin: 6px 14px 2px;
}

.fc-sub-section {
  padding: 0;
}
.fc-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  cursor: pointer;
  color: var(--color-text-faint);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.fc-sub-header:hover { color: var(--color-text-muted); }
.fc-sub-header.open { color: var(--color-text-dim); }
.fc-sub-toggle {
  font-size: 0.5625rem;
  color: var(--color-text-ghost);
  transition: color 0.2s;
}
.fc-sub-header:hover .fc-sub-toggle { color: var(--color-text-dim); }
.fc-sub-body { padding: 0; }

.fc-field {
  padding: 3px 14px 6px;
}

.fc-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.fc-field-header .fc-field-label { margin-bottom: 0; }

.fc-field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.fc-countries-select {
  max-height: 100px;
  overflow-y: auto;
  scrollbar-width: none;
  border: 1px solid rgba(90,90,100,0.3);
  border-radius: 6px;
  padding: 6px;
}
.fc-countries-select::-webkit-scrollbar { display: none; }

.fc-spacer { flex: 1; }

.fc-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(65,65,75,0.2);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.fc-apply-btn {
  flex: 1;
  padding: 6px;
  font-size: 0.6875rem;
}

.fc-save-btn {
  flex: 1;
  padding: 6px;
  font-size: 0.6875rem;
  background: transparent;
  border: 1px solid rgba(65,65,75,0.5);
  color: var(--color-text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.fc-save-btn:hover { border-color: rgba(130,21,44,0.4); color: var(--color-text-accent); }

