
/* ============================================================================
   Visible Features Section (OSM-Enhanced Scenic Analysis)
   ============================================================================ */

.visible-features-section {
  background: var(--s1);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.visible-features-header {
  text-align: center;
  margin-bottom: 24px;
}

.visible-features-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.visible-features-desc {
  color: var(--muted);
  font-size: 14px;
}

.osm-score-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--s2);
  border-radius: 12px;
}

.osm-score-side {
  flex: 1;
  text-align: center;
}

.osm-score-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.osm-score-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.osm-score-breakdown {
  font-size: 13px;
  color: var(--muted2);
  margin-top: 4px;
}

.visible-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.visible-features-column {
  background: var(--s2);
  border-radius: 12px;
  padding: 16px;
}

.visible-features-side-header {
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.visible-features-side-header.left {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.visible-features-side-header.right {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}

.side-arrow {
  font-size: 20px;
}

.visible-feature-item {
  background: var(--s1);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.visible-feature-item:hover {
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.visible-feature-item.conf-high {
  border-left-color: var(--green);
}

.visible-feature-item.conf-medium {
  border-left-color: var(--gold);
}

.visible-feature-item.conf-low {
  border-left-color: var(--muted2);
}

.vf-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.vf-details {
  flex: 1;
  min-width: 0;
}

.vf-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.vf-type, .vf-elev, .vf-dist {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--s3);
  color: var(--muted);
  font-weight: 500;
}

.vf-type {
  background: var(--s3);
  color: var(--accent);
}

.vf-elev {
  background: linear-gradient(135deg, #f59e0b15 0%, #f59e0b25 100%);
  color: var(--gold);
}

.vf-visibility {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vf-vis-bar {
  flex: 1;
  height: 6px;
  background: var(--s3);
  border-radius: 3px;
  overflow: hidden;
}

.vf-vis-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal) 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.vf-vis-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}

.no-features {
  text-align: center;
  color: var(--muted2);
  padding: 24px;
  font-size: 14px;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .visible-features-grid {
    grid-template-columns: 1fr;
  }
  
  .osm-score-summary {
    flex-direction: column;
  }
  
  .visible-features-section {
    padding: 16px;
  }
  
  .visible-features-header h3 {
    font-size: 20px;
  }
  
  .vf-name {
    font-size: 14px;
  }
  
  .vf-icon {
    font-size: 24px;
  }
}
