Spaces:
Running
Running
| /* Premium Light Theme Custom Styling for Fullscreen Bird Map Explorer */ | |
| :root { | |
| --bg-ocean: #cbd5e1; /* Slate 300 (Ocean background) */ | |
| --panel-bg: rgba(255, 255, 255, 0.72); /* Frosted glass white */ | |
| --popover-bg: rgba(255, 255, 255, 0.92); | |
| --border-color: rgba(15, 23, 42, 0.08); | |
| --text-primary: #0f172a; /* Slate 900 */ | |
| --text-secondary: #475569; /* Slate 600 */ | |
| --accent-sky: #0284c7; /* Sky 600 */ | |
| --accent-green: #16a34a; /* Emerald 600 */ | |
| --glass-blur: blur(14px) saturate(160%); | |
| --border-radius: 16px; | |
| --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* Reset and Base Styles */ | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: var(--bg-ocean); | |
| color: var(--text-primary); | |
| overflow: hidden; | |
| height: 100vh; | |
| width: 100vw; | |
| } | |
| h1, h2, .popover-subtitle { | |
| font-family: 'Outfit', sans-serif; | |
| } | |
| /* Map Div */ | |
| #map-container { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| z-index: 1; | |
| background-color: var(--bg-ocean); | |
| } | |
| /* Override Leaflet background colors for vector maps */ | |
| .leaflet-container { | |
| background: var(--bg-ocean) ; | |
| } | |
| /* Floating UI Layer */ | |
| .ui-layer { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| z-index: 10; | |
| pointer-events: none; /* Mouse clicks go through to Leaflet map */ | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| padding: 24px; | |
| box-sizing: border-box; | |
| } | |
| /* Glassmorphism Cards */ | |
| .glass-card { | |
| pointer-events: auto; /* Active pointer interactions */ | |
| background: var(--panel-bg); | |
| backdrop-filter: var(--glass-blur); | |
| -webkit-backdrop-filter: var(--glass-blur); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--border-radius); | |
| box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08), | |
| 0 0 0 1px rgba(255, 255, 255, 0.6) inset; | |
| transition: var(--transition-smooth); | |
| } | |
| .glass-card:hover { | |
| border-color: rgba(15, 23, 42, 0.15); | |
| box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.12), | |
| 0 0 0 1px rgba(255, 255, 255, 0.8) inset; | |
| } | |
| /* Floating Top Header */ | |
| .map-header { | |
| height: 64px; | |
| width: 100%; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 0 28px; | |
| margin-bottom: auto; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .map-logo-icon { | |
| font-size: 24px; | |
| filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.3)); | |
| } | |
| .logo h1 { | |
| font-size: 20px; | |
| font-weight: 800; | |
| letter-spacing: -0.5px; | |
| background: linear-gradient(135deg, #0f172a 30%, #334155 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .info-badge { | |
| background: rgba(2, 132, 199, 0.06); | |
| border: 1px solid rgba(2, 132, 199, 0.15); | |
| color: var(--accent-sky); | |
| padding: 6px 16px; | |
| border-radius: 30px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| letter-spacing: 0.5px; | |
| box-shadow: 0 2px 8px rgba(2, 132, 199, 0.05); | |
| } | |
| .info-badge span { | |
| font-weight: 800; | |
| color: var(--text-primary); | |
| } | |
| /* Elevation Colormap Legend Card */ | |
| .legend-card { | |
| width: 280px; | |
| padding: 16px 20px; | |
| margin-top: auto; | |
| margin-right: auto; /* Bottom-left alignment */ | |
| } | |
| .legend-title { | |
| font-size: 11px; | |
| font-weight: 700; | |
| color: var(--text-secondary); | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| margin-bottom: 8px; | |
| } | |
| .legend-bar { | |
| height: 10px; | |
| border-radius: 5px; | |
| background: linear-gradient(to right, rgb(34, 139, 34) 0%, rgb(210, 180, 140) 33%, rgb(139, 69, 19) 66%, rgb(255, 255, 255) 100%); | |
| border: 1px solid rgba(15, 23, 42, 0.1); | |
| box-shadow: 0 1px 3px rgba(0,0,0,0.1) inset; | |
| } | |
| .legend-labels { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 10px; | |
| font-weight: 500; | |
| color: var(--text-secondary); | |
| margin-top: 6px; | |
| } | |
| /* Hover Metadata Popover Details Card */ | |
| .hover-popover { | |
| position: fixed; | |
| z-index: 10000; | |
| width: 325px; | |
| background: var(--popover-bg); | |
| border: 1px solid rgba(15, 23, 42, 0.1); | |
| border-radius: var(--border-radius); | |
| box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), | |
| 0 0 0 1px rgba(255, 255, 255, 0.8) inset; | |
| backdrop-filter: var(--glass-blur); | |
| -webkit-backdrop-filter: var(--glass-blur); | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| pointer-events: none; /* Absolutely critical: prevents mouse triggers jittering */ | |
| opacity: 0; | |
| transform: scale(0.96); | |
| transition: opacity 0.18s ease-out, transform 0.18s ease-out; | |
| } | |
| .hover-popover:not(.hidden) { | |
| opacity: 1; | |
| transform: scale(1); | |
| } | |
| .hover-popover.hidden { | |
| opacity: 0; | |
| transform: scale(0.96); | |
| } | |
| .popover-image { | |
| width: 100%; | |
| height: 165px; | |
| overflow: hidden; | |
| background-color: #f1f5f9; | |
| position: relative; | |
| border-bottom: 1px solid rgba(15, 23, 42, 0.06); | |
| } | |
| .popover-image img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| transition: transform 0.3s ease; | |
| } | |
| .popover-info { | |
| padding: 16px; | |
| } | |
| .popover-info h2 { | |
| font-size: 16px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| font-style: italic; /* Scientific species names are italicized */ | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| line-height: 1.2; | |
| } | |
| .popover-subtitle { | |
| font-size: 12px; | |
| color: var(--accent-sky); | |
| font-weight: 600; | |
| margin-top: 2px; | |
| margin-bottom: 12px; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .popover-meta { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| gap: 8px 12px; | |
| font-size: 11px; | |
| border-top: 1px solid rgba(15, 23, 42, 0.06); | |
| padding-top: 12px; | |
| } | |
| .meta-row { | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| color: var(--text-primary); | |
| } | |
| .meta-row strong { | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| margin-right: 4px; | |
| } | |
| .meta-row span { | |
| font-weight: 600; | |
| } | |
| /* Timeline Card Widget */ | |
| .timeline-card { | |
| width: 320px; | |
| padding: 16px 20px; | |
| margin-top: auto; | |
| margin-left: auto; /* Bottom-right alignment */ | |
| } | |
| .card-header-row { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 12px; | |
| } | |
| #year-display-val { | |
| font-size: 13px; | |
| font-weight: 700; | |
| color: var(--accent-sky); | |
| } | |
| .slider-container { | |
| margin-bottom: 8px; | |
| flex: 1; | |
| } | |
| .timeline-slider { | |
| width: 100%; | |
| -webkit-appearance: none; | |
| appearance: none; | |
| background: #cbd5e1; | |
| height: 6px; | |
| border-radius: 3px; | |
| outline: none; | |
| cursor: pointer; | |
| transition: background 0.15s ease; | |
| } | |
| .timeline-slider::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| background: var(--accent-sky); | |
| width: 16px; | |
| height: 16px; | |
| border-radius: 50%; | |
| border: 2px solid #ffffff; | |
| box-shadow: 0 2px 5px rgba(15, 23, 42, 0.15); | |
| transition: transform 0.15s ease; | |
| } | |
| .timeline-slider::-webkit-slider-thumb:hover { | |
| transform: scale(1.25); | |
| } | |
| .year-range-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| margin-bottom: 8px; | |
| } | |
| .year-range-label { | |
| font-size: 10px; | |
| font-weight: 700; | |
| color: var(--text-secondary); | |
| text-transform: uppercase; | |
| letter-spacing: 0.6px; | |
| width: 26px; | |
| flex-shrink: 0; | |
| } | |
| .year-edge-val { | |
| font-size: 11px; | |
| font-weight: 700; | |
| color: var(--accent-sky); | |
| min-width: 34px; | |
| text-align: right; | |
| flex-shrink: 0; | |
| } | |
| /* Loading Overlay for coordinates streaming */ | |
| .loading-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| background: rgba(241, 245, 249, 0.9); | |
| z-index: 20000; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| backdrop-filter: blur(8px); | |
| transition: opacity 0.4s ease; | |
| } | |
| .loading-overlay.hidden { | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| .loading-spinner { | |
| width: 50px; | |
| height: 50px; | |
| border: 4px solid rgba(2, 132, 199, 0.1); | |
| border-top: 4px solid var(--accent-sky); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| margin-bottom: 16px; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .loading-text { | |
| font-family: 'Outfit', sans-serif; | |
| font-size: 16px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| } | |
| /* Floating filters card widget */ | |
| .filters-card { | |
| position: absolute; | |
| top: 104px; | |
| left: 24px; | |
| width: 290px; | |
| padding: 16px 18px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| z-index: 1000; | |
| } | |
| .filter-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| border-bottom: 1px solid rgba(15, 23, 42, 0.05); | |
| padding-bottom: 10px; | |
| } | |
| .filter-group:last-of-type { | |
| border-bottom: none; | |
| padding-bottom: 0; | |
| } | |
| .filter-group label { | |
| font-size: 9px; | |
| font-weight: 750; | |
| color: var(--text-secondary); | |
| text-transform: uppercase; | |
| letter-spacing: 0.8px; | |
| margin-bottom: 2px; | |
| } | |
| .filter-group select, .filter-group input { | |
| width: 100%; | |
| padding: 6px 10px; | |
| border-radius: 8px; | |
| border: 1px solid rgba(15, 23, 42, 0.08); | |
| background: rgba(255, 255, 255, 0.85); | |
| font-family: inherit; | |
| font-size: 12px; | |
| color: var(--text-primary); | |
| outline: none; | |
| transition: var(--transition-smooth); | |
| } | |
| .filter-group select:focus, .filter-group input:focus { | |
| border-color: var(--accent-sky); | |
| box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.08); | |
| } | |
| .reset-btn { | |
| width: 100%; | |
| padding: 8px; | |
| border-radius: 8px; | |
| border: none; | |
| background: rgba(15, 23, 42, 0.06); | |
| color: var(--text-secondary); | |
| font-size: 12px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| transition: var(--transition-smooth); | |
| } | |
| .reset-btn:hover { | |
| background: var(--accent-sky); | |
| color: #ffffff; | |
| } | |
| .search-btn { | |
| width: 100%; | |
| padding: 9px; | |
| border-radius: 8px; | |
| border: none; | |
| background: var(--accent-sky); | |
| color: #ffffff; | |
| font-size: 12px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| transition: var(--transition-smooth); | |
| letter-spacing: 0.3px; | |
| } | |
| .search-btn:hover { | |
| background: #0369a1; | |
| box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); | |
| transform: translateY(-1px); | |
| } | |
| .search-btn:active { | |
| transform: translateY(0); | |
| } | |
| /* Multi-select species chip widget */ | |
| .species-chip-wrapper { | |
| position: relative; | |
| width: 100%; | |
| } | |
| .species-chip-display { | |
| min-height: 34px; | |
| padding: 4px 8px; | |
| border-radius: 8px; | |
| border: 1px solid rgba(15, 23, 42, 0.08); | |
| background: rgba(255, 255, 255, 0.85); | |
| font-size: 12px; | |
| color: var(--text-primary); | |
| cursor: text; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 4px; | |
| align-items: center; | |
| outline: none; | |
| transition: var(--transition-smooth); | |
| } | |
| .species-chip-display:focus { | |
| border-color: var(--accent-sky); | |
| box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.08); | |
| } | |
| .species-placeholder { | |
| color: #94a3b8; | |
| font-size: 12px; | |
| pointer-events: none; | |
| user-select: none; | |
| } | |
| .species-chip { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| background: rgba(2, 132, 199, 0.1); | |
| border: 1px solid rgba(2, 132, 199, 0.2); | |
| color: var(--accent-sky); | |
| font-size: 10px; | |
| font-weight: 600; | |
| padding: 2px 6px; | |
| border-radius: 12px; | |
| max-width: 220px; | |
| overflow: hidden; | |
| white-space: nowrap; | |
| text-overflow: ellipsis; | |
| } | |
| .species-chip-remove { | |
| font-size: 11px; | |
| cursor: pointer; | |
| line-height: 1; | |
| opacity: 0.7; | |
| flex-shrink: 0; | |
| } | |
| .species-chip-remove:hover { | |
| opacity: 1; | |
| color: #ef4444; | |
| } | |
| .species-dropdown { | |
| position: absolute; | |
| top: calc(100% + 4px); | |
| left: 0; | |
| right: 0; | |
| background: rgba(255,255,255,0.98); | |
| border: 1px solid rgba(15, 23, 42, 0.1); | |
| border-radius: 10px; | |
| box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12); | |
| z-index: 5000; | |
| overflow: hidden; | |
| } | |
| .species-dropdown input { | |
| width: 100%; | |
| padding: 8px 12px; | |
| border: none; | |
| border-bottom: 1px solid rgba(15, 23, 42, 0.06); | |
| font-size: 12px; | |
| outline: none; | |
| background: transparent; | |
| font-family: inherit; | |
| } | |
| .species-option-list { | |
| list-style: none; | |
| max-height: 180px; | |
| overflow-y: auto; | |
| margin: 0; | |
| padding: 4px 0; | |
| } | |
| .species-option-list li { | |
| padding: 6px 12px; | |
| font-size: 11px; | |
| font-style: italic; | |
| color: var(--text-primary); | |
| cursor: pointer; | |
| transition: background 0.1s; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .species-option-list li:hover, | |
| .species-option-list li.selected { | |
| background: rgba(2, 132, 199, 0.08); | |
| color: var(--accent-sky); | |
| } | |
| /* Specimen Similarity Probing Panel */ | |
| .similarity-panel { | |
| position: absolute; | |
| top: 104px; | |
| right: 24px; | |
| width: 360px; | |
| max-height: calc(100vh - 280px); | |
| display: flex; | |
| flex-direction: column; | |
| z-index: 1000; | |
| overflow: hidden; | |
| padding: 20px; | |
| opacity: 1; | |
| transform: translateX(0); | |
| transition: opacity 0.3s ease, transform 0.3s ease; | |
| } | |
| .similarity-panel.hidden { | |
| opacity: 0; | |
| transform: translateX(40px); | |
| pointer-events: none; | |
| } | |
| .panel-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| border-bottom: 1px solid rgba(15, 23, 42, 0.08); | |
| padding-bottom: 12px; | |
| margin-bottom: 16px; | |
| } | |
| .panel-header-title h2 { | |
| font-size: 18px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| } | |
| .panel-subtitle { | |
| font-size: 11px; | |
| color: var(--accent-sky); | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .close-btn { | |
| background: none; | |
| border: none; | |
| font-size: 24px; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| line-height: 1; | |
| padding: 0 4px; | |
| transition: var(--transition-smooth); | |
| } | |
| .close-btn:hover { | |
| color: var(--text-primary); | |
| transform: scale(1.1); | |
| } | |
| .panel-scroll-content { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding-right: 4px; | |
| } | |
| /* Custom Scrollbar for Panel Content */ | |
| .panel-scroll-content::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .panel-scroll-content::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| .panel-scroll-content::-webkit-scrollbar-thumb { | |
| background: rgba(15, 23, 42, 0.15); | |
| border-radius: 3px; | |
| } | |
| .section-title { | |
| font-size: 10px; | |
| font-weight: 700; | |
| color: var(--text-secondary); | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| margin-bottom: 8px; | |
| } | |
| /* Anchor Card Styling */ | |
| .anchor-section { | |
| margin-bottom: 20px; | |
| } | |
| .anchor-card { | |
| display: flex; | |
| gap: 12px; | |
| background: rgba(255, 255, 255, 0.6); | |
| border: 1px solid rgba(15, 23, 42, 0.05); | |
| border-radius: 12px; | |
| padding: 10px; | |
| } | |
| .anchor-image { | |
| width: 70px; | |
| height: 70px; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| background: #f1f5f9; | |
| flex-shrink: 0; | |
| border: 1px solid rgba(15, 23, 42, 0.05); | |
| } | |
| .anchor-image img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .anchor-info { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| overflow: hidden; | |
| } | |
| .anchor-info h3 { | |
| font-size: 14px; | |
| font-weight: 700; | |
| font-style: italic; | |
| color: var(--text-primary); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .anchor-subtitle { | |
| font-size: 12px; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| } | |
| .anchor-details-grid { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| gap: 8px; | |
| margin-top: 10px; | |
| } | |
| .detail-item { | |
| background: rgba(255, 255, 255, 0.4); | |
| border: 1px solid rgba(15, 23, 42, 0.03); | |
| border-radius: 8px; | |
| padding: 6px 8px; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .detail-label { | |
| font-size: 9px; | |
| color: var(--text-secondary); | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .detail-value { | |
| font-size: 11px; | |
| color: var(--text-primary); | |
| font-weight: 500; | |
| margin-top: 2px; | |
| } | |
| .detail-item.full-width { | |
| grid-column: span 2; | |
| } | |
| /* Model Selector Tabs */ | |
| .tabs-section { | |
| margin-bottom: 20px; | |
| } | |
| .model-tabs { | |
| display: flex; | |
| background: rgba(15, 23, 42, 0.04); | |
| border-radius: 10px; | |
| padding: 4px; | |
| gap: 4px; | |
| } | |
| .tab-btn { | |
| flex: 1; | |
| background: none; | |
| border: none; | |
| padding: 8px 4px; | |
| font-family: inherit; | |
| font-size: 11px; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| border-radius: 8px; | |
| transition: var(--transition-smooth); | |
| } | |
| .tab-btn.active { | |
| background: #ffffff; | |
| color: var(--accent-sky); | |
| box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06); | |
| } | |
| .tab-btn:hover:not(.active) { | |
| background: rgba(255, 255, 255, 0.4); | |
| color: var(--text-primary); | |
| } | |
| /* Match list and cards */ | |
| .results-section { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .matches-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .match-card { | |
| display: flex; | |
| gap: 12px; | |
| background: rgba(255, 255, 255, 0.8); | |
| border: 1px solid rgba(15, 23, 42, 0.06); | |
| border-radius: 12px; | |
| padding: 10px; | |
| transition: var(--transition-smooth); | |
| position: relative; | |
| cursor: pointer; | |
| } | |
| .match-card:hover { | |
| border-color: var(--accent-sky); | |
| background: #ffffff; | |
| box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04); | |
| transform: translateY(-1px); | |
| } | |
| .match-image { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| background: #f1f5f9; | |
| flex-shrink: 0; | |
| border: 1px solid rgba(15, 23, 42, 0.04); | |
| } | |
| .match-image img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .match-info { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| overflow: hidden; | |
| flex: 1; | |
| } | |
| .match-title { | |
| font-size: 13px; | |
| font-weight: 700; | |
| font-style: italic; | |
| color: var(--text-primary); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .match-subtitle { | |
| font-size: 11px; | |
| color: var(--text-secondary); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .match-meta-badges { | |
| display: flex; | |
| gap: 6px; | |
| margin-top: 4px; | |
| } | |
| .badge-tag { | |
| font-size: 9px; | |
| font-weight: 600; | |
| padding: 2px 6px; | |
| border-radius: 12px; | |
| background: rgba(15, 23, 42, 0.04); | |
| color: var(--text-secondary); | |
| } | |
| .similarity-badge { | |
| position: absolute; | |
| top: 10px; | |
| right: 10px; | |
| background: rgba(22, 163, 74, 0.08); | |
| border: 1px solid rgba(22, 163, 74, 0.2); | |
| color: var(--accent-green); | |
| font-size: 10px; | |
| font-weight: 700; | |
| padding: 2px 8px; | |
| border-radius: 20px; | |
| } | |
| .empty-matches { | |
| text-align: center; | |
| font-size: 12px; | |
| color: var(--text-secondary); | |
| padding: 24px 12px; | |
| border: 1px dashed rgba(15, 23, 42, 0.1); | |
| border-radius: 12px; | |
| background: rgba(15, 23, 42, 0.02); | |
| } | |
| /* Mapped Trait Badges on Match Cards */ | |
| .match-card .badge-lifestyle { | |
| background: rgba(2, 132, 199, 0.06); | |
| color: var(--accent-sky); | |
| } | |
| .match-card .badge-trophic { | |
| background: rgba(245, 158, 11, 0.08); | |
| color: #d97706; /* Amber 700 */ | |
| } | |
| /* Legend items for Lifestyle and Trophic categorical values */ | |
| .legend-category-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: 11px; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| margin-top: 6px; | |
| } | |
| .legend-color-dot { | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| border: 1px solid rgba(255, 255, 255, 0.6); | |
| box-shadow: 0 1px 3px rgba(0,0,0,0.1); | |
| } | |
| /* Mode Toggle Switch Styling */ | |
| .mode-toggle-container { | |
| display: flex; | |
| background: rgba(15, 23, 42, 0.05); | |
| border-radius: 20px; | |
| padding: 3px; | |
| gap: 2px; | |
| border: 1px solid rgba(15, 23, 42, 0.04); | |
| } | |
| .toggle-mode-btn { | |
| border: none; | |
| background: none; | |
| padding: 6px 14px; | |
| border-radius: 17px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| font-family: inherit; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| transition: var(--transition-smooth); | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .toggle-mode-btn:hover { | |
| color: var(--text-primary); | |
| background: rgba(255, 255, 255, 0.4); | |
| } | |
| .toggle-mode-btn.active { | |
| background: #ffffff; | |
| color: var(--text-primary); | |
| box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); | |
| } | |
| /* Dynamic Plant Mode Accent Themes */ | |
| body.mode-plants { | |
| --accent-sky: var(--accent-green); | |
| } | |
| body.mode-plants .info-badge { | |
| background: rgba(22, 163, 74, 0.06); | |
| border-color: rgba(22, 163, 74, 0.15); | |
| color: var(--accent-green); | |
| box-shadow: 0 2px 8px rgba(22, 163, 74, 0.05); | |
| } | |
| body.mode-plants .search-btn { | |
| background: var(--accent-green); | |
| } | |
| body.mode-plants .search-btn:hover { | |
| background: #15803d; | |
| box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3); | |
| } | |
| body.mode-plants .reset-btn:hover { | |
| background: var(--accent-green); | |
| } | |
| body.mode-plants .panel-subtitle { | |
| color: var(--accent-green); | |
| } | |
| body.mode-plants #year-display-val { | |
| color: var(--accent-green); | |
| } | |
| body.mode-plants .timeline-slider::-webkit-slider-thumb { | |
| background: var(--accent-green); | |
| } | |
| body.mode-plants .species-chip { | |
| background: rgba(22, 163, 74, 0.1); | |
| border-color: rgba(22, 163, 74, 0.2); | |
| color: var(--accent-green); | |
| } | |
| body.mode-plants .species-option-list li:hover, | |
| body.mode-plants .species-option-list li.selected { | |
| background: rgba(22, 163, 74, 0.08); | |
| color: var(--accent-green); | |
| } | |
| body.mode-plants .filter-group select:focus, | |
| body.mode-plants .filter-group input:focus, | |
| body.mode-plants .species-chip-display:focus { | |
| border-color: var(--accent-green); | |
| box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.08); | |
| } | |
| body.mode-plants #toggle-mode-plants.active { | |
| background: var(--accent-green); | |
| color: #ffffff; | |
| } | |
| body.mode-plants #toggle-mode-birds.active { | |
| background: #ffffff; | |
| color: var(--text-primary); | |
| } | |
| /* NN Match Card Expand/Collapse */ | |
| .match-summary-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| width: 100%; | |
| } | |
| .expand-match-btn { | |
| background: none; | |
| border: 1px solid rgba(15, 23, 42, 0.12); | |
| border-radius: 6px; | |
| padding: 2px 7px; | |
| font-size: 10px; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| transition: var(--transition-smooth); | |
| line-height: 1.6; | |
| } | |
| .expand-match-btn:hover { | |
| background: rgba(99, 102, 241, 0.08); | |
| border-color: var(--accent-sky); | |
| color: var(--accent-sky); | |
| } | |
| body.mode-plants .expand-match-btn:hover { | |
| background: rgba(22, 163, 74, 0.08); | |
| border-color: var(--accent-green); | |
| color: var(--accent-green); | |
| } | |
| .match-detail-expand { | |
| width: 100%; | |
| padding-top: 10px; | |
| border-top: 1px solid rgba(15, 23, 42, 0.06); | |
| margin-top: 8px; | |
| animation: expandIn 0.2s ease; | |
| } | |
| @keyframes expandIn { | |
| from { opacity: 0; transform: translateY(-4px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .match-detail-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 6px; | |
| } | |
| .match-detail-grid .detail-item.full-width { | |
| grid-column: 1 / -1; | |
| } | |
| .match-card-expanded { | |
| background: rgba(99, 102, 241, 0.03); | |
| border-color: rgba(99, 102, 241, 0.15); | |
| } | |
| body.mode-plants .match-card-expanded { | |
| background: rgba(22, 163, 74, 0.03); | |
| border-color: rgba(22, 163, 74, 0.15); | |
| } | |