/**
 * Circloud GUI - Section Styles
 * VPC, tenant cards, expandable sections
 */

/* Authentication Section */
.auth-section {
  background: var(--card-surface, rgba(16, 22, 44, 0.76));
  border-left: 3px solid rgba(94, 203, 255, 0.4);
  padding: 8px;
  margin-top: 4px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: fit-content;
}

.auth-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(94, 203, 255, 0.6), transparent);
}

.auth-section h4 {
  margin: 0 0 4px 0;
  color: var(--text, #ffffff);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-field {
  display: flex;
  align-items: center;
  margin: 4px 0;
  font-size: 10px;
}

.auth-field label {
  font-weight: 600;
  color: var(--text-secondary, #a7b0d1);
  margin-right: 6px;
}

.auth-field code {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text, #ffffff);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  user-select: all;
  display: inline-block;
  font-family: 'Courier New', monospace;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-field .auth-label {
  min-width: 100px;
}

.auth-field .auth-value {
  flex: 1;
}

.auth-label {
  font-weight: 600;
  color: var(--text-secondary, #a7b0d1);
  margin-right: 6px;
}

.auth-value {
  color: var(--text, #ffffff);
}

.auth-value code {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text, #ffffff);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  user-select: all;
  display: inline-block;
}

/* Tenant Card */
.tenant-card {
  margin-bottom: 6px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(94, 203, 255, 0.15);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  background:
    linear-gradient(150deg, rgba(16, 22, 44, var(--card-alpha)) 0%, rgba(14, 20, 40, var(--card-alpha-strong)) 60%, rgba(24, 32, 66, var(--card-alpha-soft)) 100%);
}

.tenant-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(360px 220px at 8% 0%, rgba(94, 203, 255, 0.18) 0%, transparent 65%),
    radial-gradient(320px 220px at 100% 100%, rgba(107, 92, 255, 0.16) 0%, transparent 70%),
    var(--flow-lines-sm);
  background-size: auto, auto, 420px 260px;
  background-position: 0 0, 0 0, 10px 10px;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.tenant-card:hover {
  box-shadow: 0 18px 40px rgba(8, 8, 24, 0.55);
  transform: translateY(-3px);
}

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

.tenant-header {
  background: rgba(12, 18, 36, 0.7);
  color: var(--tenant-header-color, #ffffff);
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid rgba(94, 203, 255, 0.12);
  backdrop-filter: blur(12px);
}

.tenant-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.tenant-header:hover {
  background: rgba(16, 24, 46, 0.82);
}

.tenant-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.tenant-title h2 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.tenant-meta {
  font-size: 10px;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.expand-icon {
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.expand-icon.expanded {
  transform: rotate(180deg);
}

.tenant-content {
  padding: 4px 8px;
  background: var(--tenant-content-bg, white);
  display: none;
}

.tenant-content.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tenant-description {
  color: var(--tenant-description-color, #666);
  margin-bottom: 8px;
  padding: 6px 8px;
  background: var(--tenant-description-bg, #f8f9fa);
  border-radius: 0;
  font-size: 11px;
  border-left: 3px solid rgba(102, 126, 234, 0.5);
}

/* Tenant Authentication Info */
.tenant-auth-info {
  background: var(--auth-bg, #fff3cd);
  border-left: 4px solid var(--auth-border, #ffc107);
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: fit-content;
}

.tenant-auth-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--auth-border, #ffc107), transparent);
}

.tenant-auth-info h4 {
  margin: 0 0 4px 0;
  color: var(--auth-text, #856404);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tenant-auth-info .auth-field {
  margin: 4px 0;
  font-size: 10px;
}

/* Core Services, VPC, Sections */
.core-services, .vpc {
  margin-bottom: 12px;
}

.core-services h4, .vpc h3 {
  color: var(--section-heading-color, #333);
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* VPC styling */
.vpc-info ul {
  list-style: none;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}

.vpc-info li {
  padding: 2px 6px;
  background: var(--vpc-info-li-bg, white);
  border-radius: 0;
  font-size: 11px;
  color: var(--vpc-info-li-color, #333);
  border-left: 3px solid rgba(124, 58, 237, 0.4);
  transition: all 0.2s ease;
}

.vpc-info li:hover {
  transform: translateX(4px);
  border-left-color: rgba(124, 58, 237, 0.8);
}

.vpc-info li strong {
  color: var(--vpc-info-strong-color, #667eea);
  font-weight: 600;
}

/* Section Container */
.section-container {
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(16, 22, 44, var(--card-alpha)) 0%, rgba(14, 20, 40, var(--card-alpha-strong)) 60%, rgba(24, 32, 66, var(--card-alpha-soft)) 100%);
  border: 1px solid rgba(94, 203, 255, 0.12);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(14px);
  position: relative;
}

.section-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(360px 220px at 6% 0%, rgba(94, 203, 255, 0.16) 0%, transparent 65%),
    radial-gradient(320px 220px at 100% 100%, rgba(255, 139, 184, 0.12) 0%, transparent 70%),
    var(--flow-lines-sm);
  background-size: auto, auto, 420px 260px;
  background-position: 0 0, 0 0, 10px 10px;
  background-repeat: no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.section-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(7, 10, 24, 0) 0%, rgba(7, 10, 24, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.section-container > * {
  position: relative;
  z-index: 1;
}

.section-container:hover {
  box-shadow: 0 18px 40px rgba(8, 8, 24, 0.55);
  transform: translateY(-2px);
}

.section-header {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
  position: relative;
  background: rgba(12, 18, 36, 0.7);
  border-bottom: 1px solid rgba(94, 203, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.section-header::after {
  display: none;
}

.section-header h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--section-h3-color, #333);
}

.section-header h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--section-h4-color, #555);
}

.section-content {
  padding: 8px 12px;
  display: none;
}

.section-content.show {
  display: block;
}

/* VPC Header */
.vpc-header {
  padding: 3px 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  background: rgba(12, 18, 36, 0.6) !important;
  color: var(--vpc-header-color, #ffffff) !important;
  border-bottom: 1px solid rgba(94, 203, 255, 0.1);
  border-radius: 6px 6px 0 0;
  backdrop-filter: blur(12px);
}

.vpc-header h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--vpc-header-color, white) !important;
  flex: 1;
  cursor: pointer;
}

.vpc-header .vpc-counts {
  margin-left: 14px;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
}

.vpc-header:hover {
  background: rgba(16, 24, 46, 0.78) !important;
}

/* Core Services Section */
.section-container.core-services-section {
  background: var(--core-services-bg, #1c1e28);
}

.core-services-header {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  background: var(--core-services-header-bg) !important;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(12px);
}

.core-services-header:hover {
  background: var(--core-services-header-hover-bg) !important;
}

.core-services-header h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: white !important;
}

/* Subnets Section */
.section-container.subnets-section {
  background: var(--subnets-bg, #1a1f2e);
}

.subnets-header {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  background: var(--subnets-header-bg) !important;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(12px);
}

.subnets-header:hover {
  background: var(--subnets-header-hover-bg) !important;
}

.subnets-header h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: white !important;
}

/* Pods Section */
.section-container.pods-section {
  background: var(--pods-bg, #1d2230);
}

.pods-header {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  background: var(--pods-header-bg) !important;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(12px);
}

.pods-header:hover {
  background: var(--pods-header-hover-bg) !important;
}

.pods-header h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: white !important;
}

/* System pods layout */
.system-pods-section {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
  align-items: start;
}

.system-pods-column {
  min-width: 0;
}

.system-pods-column .section-content {
  overflow-x: auto;
}

/* Provider Section */
.section-container.provider-section {
  background: var(--provider-section-bg, #1a1f2e);
}

.provider-section-header {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  background: var(--provider-header-bg) !important;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(12px);
}

.provider-section-header:hover {
  background: var(--provider-header-hover-bg) !important;
}

.provider-section-header h4 {
  color: white !important;
}

/* Tenants Section */
.section-container.tenants-section {
  background: var(--tenants-section-bg, #222834);
}

.tenants-section-header {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  background: var(--tenants-header-bg) !important;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(12px);
}

.tenants-section-header:hover {
  background: var(--tenants-header-hover-bg) !important;
}

.tenants-section-header h4 {
  color: white !important;
}

/* VPC Section */
.section-container.vpc-section {
  background: var(--vpc-section-bg, #0d1117);
}

/* Data Display Styles (from renderers.py inline styles) */

/* Status indicators */
.status-enabled {
  color: #00AA00;
  font-weight: bold;
}

.status-disabled {
  color: #999;
}

.status-configured {
  color: #00AA00;
}

/* ID display styling */
.id-display {
  color: #999;
  font-family: monospace;
  font-size: 0.75em;
}

/* Replica badge for multi-replica pods */
.replica-badge {
  background: #e8f4f8;
  color: #0066cc;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 500;
}

/* Dark theme replica badge */
.theme-dark .replica-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

/* Replica indent for replica rows */
.replica-indent {
  color: #666;
  margin-left: 20px;
}

.theme-dark .replica-indent {
  color: #8b949e;
}

/* Tunnel count highlight */
.tunnel-count {
  color: #8b9cff;
}

/* Status colors for tunnels */
.status-active {
  color: #34d399;
}

.status-inactive {
  color: #fbbf24;
}

.status-failed {
  color: #f87171;
}

.status-unknown {
  color: #8b949e;
}

/* Tunnel hostname link */
.tunnel-hostname-link {
  color: #8b9cff;
  text-decoration: none;
}

.tunnel-hostname-link:hover {
  text-decoration: underline;
}

/* Origin URL display */
.origin-url {
  font-size: 0.85em;
}

/* Cloudflare config form styles */
.cloudflare-config .form-group {
  margin-bottom: 8px;
}

.cloudflare-config label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
  color: #c9d1d9;
  font-size: 11px;
}

.cloudflare-config input,
.cloudflare-config select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #3a3a4e;
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  background: #2a2a3e;
  color: #fff;
}

.cloudflare-config input:focus,
.cloudflare-config select:focus {
  outline: none;
  border-color: #4A90E2;
  background: #323244;
}

/* Form action spacing */
.form-actions-spaced {
  margin-top: 8px;
}

.form-status {
  margin-left: 10px;
}

/* List controls (search + pagination) */
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.list-toolbar-left,
.list-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.list-toolbar-right {
  justify-content: flex-end;
}

.list-controls {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 12px;
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  background: rgba(8, 14, 28, 0.7);
  border: 1px solid rgba(94, 234, 212, 0.16);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.35);
  overflow: visible;
  backdrop-filter: blur(14px);
}

.list-controls .add-tenant-btn {
  align-self: center;
  height: 32px;
  padding: 0 12px;
  line-height: 32px;
  margin-left: auto;
  margin-bottom: 0;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-search {
  flex: 1 1 160px;
  min-width: 160px;
}

.list-search-input {
  width: 100%;
  max-width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0 12px;
  height: 32px;
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.list-controls-meta {
  margin-top: 8px;
}

.list-toolbar .add-tenant-btn {
  margin-bottom: 0;
  height: 30px;
  padding: 0 12px;
}

.section-container,
.section-container.vpc-section,
.split-list-sidebar,
.split-list-detail {
  backdrop-filter: blur(14px);
}

@media (max-width: 720px) {
  .list-controls {
    flex-wrap: wrap;
  }

  .list-controls .add-tenant-btn {
    margin-left: 0;
  }
}

.tenant-signup-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
}

.tenant-signup-toggle .signup-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.tenant-signup-toggle .signup-label {
  font-size: 11px;
  color: #f8fafc;
  font-weight: 500;
}

.tenant-signup-toggle .form-status {
  margin-left: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.tenant-signup-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tenant-signup-toggle .signup-slider {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tenant-signup-toggle .signup-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tenant-signup-toggle input[type="checkbox"]:checked + .signup-slider {
  background: rgba(56, 189, 248, 0.7);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.8);
}

.tenant-signup-toggle input[type="checkbox"]:checked + .signup-slider::after {
  transform: translateX(16px);
  background: #0f172a;
}

.list-search-input::placeholder {
  color: #94a3b8;
}

.list-search-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.18);
}

.list-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.pagination-btn {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  color: #94a3b8;
  font-size: 12px;
}

/* Split list layout */
.split-list {
  display: flex;
  gap: 16px;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}

.split-list-sidebar {
  width: 240px;
  min-width: 210px;
  background: var(--card-surface-strong);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 3;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow, 0 4px 24px rgba(0, 0, 0, 0.4));
  overflow: hidden;
}

.split-list-sidebar::before {
  display: none;
}

.split-list-sidebar > * {
  position: relative;
  z-index: 1;
}

.split-list-sidebar .list-controls {
  margin-bottom: 10px;
}

.split-list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.split-list-item {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--section-h3-color, #d7ddff);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.split-list-item:hover {
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.split-list-item.is-active {
  border-color: var(--border-light);
  background: var(--surface-hover);
  box-shadow: var(--shadow, 0 4px 24px rgba(0, 0, 0, 0.4));
}

.split-list-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.split-list-sub {
  display: block;
  font-size: 10px;
  opacity: 0.7;
}

.split-list-detail {
  flex: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.split-detail-card {
  display: none;
}

.split-detail-card.is-active {
  display: block;
}

.split-detail-card .tenant-header,
.split-detail-card .vpc-header {
  cursor: default;
}

.split-detail-card .vpc-header h3 {
  cursor: default;
}

/* Tenant detail panel sizing */
.split-list--tenants {
  height: 100%;
  min-height: 0;
}

.split-list--tenants .split-list-detail {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.split-list--tenants .split-detail-card {
  height: 100%;
  min-height: 0;
  display: none;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.split-list--tenants .split-detail-card.is-active {
  display: flex;
}

.split-list--tenants .split-detail-card .tenant-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.split-list--vpcs .split-detail-card {
  width: 100%;
  min-width: 0;
}

.split-list--vpcs .split-detail-card.is-active {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.split-list--vpcs .split-detail-card .section-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.config-card .section-header {
  cursor: default;
}

.config-card .section-content {
  display: block;
}

@media (max-width: 900px) {
  .split-list {
    flex-direction: column;
  }

  .split-list-sidebar {
    width: 100%;
    min-width: 0;
  }

  .split-list-items {
    max-height: 220px;
  }
}
