.identities { width: 100%; padding: 1rem; } .identities-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .identities-header h2 { color: #00ff9d; font-size: 1.8rem; } .view-controls { display: flex; gap: 0.5rem; } .view-btn { padding: 0.5rem 1rem; background: rgba(15, 23, 42, 0.5); color: #A1B5D8; border: 1px solid rgba(0, 255, 157, 0.3); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; } .view-btn:hover { background: rgba(0, 255, 157, 0.1); color: #00ff9d; } .view-btn.active { background: rgba(0, 255, 157, 0.2); color: #00ff9d; border-color: #00ff9d; } .identities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; } /* Responsive grid adjustments */ @media (max-width: 1920px) { .identities-grid { grid-template-columns: repeat(5, 1fr); } } @media (max-width: 1600px) { .identities-grid { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 1200px) { .identities-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 900px) { .identities-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .identities-grid { grid-template-columns: 1fr; } } .identities-list { display: flex; flex-direction: column; gap: 1rem; } .identity-card { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(0, 255, 157, 0.2); border-radius: 12px; padding: 1rem; cursor: pointer; transition: all 0.3s ease; position: relative; } .identity-snapshot { width: 100%; height: 150px; margin-bottom: 0.75rem; border-radius: 8px; overflow: hidden; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; } .snapshot-image { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; } .identity-card:hover { transform: translateY(-3px); border-color: rgba(0, 255, 157, 0.5); box-shadow: 0 8px 25px rgba(0, 255, 157, 0.2); } .identity-card.selected { border-color: #00ff9d; box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.3); } .identity-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .identity-id { font-weight: 700; color: #00ff9d; font-size: 1.3rem; } .identity-confidence { background: rgba(0, 255, 157, 0.2); color: #00ff9d; padding: 0.3rem 1rem; border-radius: 20px; font-weight: 600; font-size: 0.9rem; } .identity-details { margin-bottom: 1.5rem; } .detail-row { margin-bottom: 0.5rem; font-size: 0.95rem; } .detail-row strong { color: #A1B5D8; } .movement-pattern { padding-top: 1rem; border-top: 1px solid rgba(0, 255, 157, 0.1); } .movement-pattern strong { color: #A1B5D8; display: block; margin-bottom: 0.5rem; } .timeline { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } .timeline-event { display: flex; align-items: center; gap: 0.5rem; background: rgba(0, 0, 0, 0.2); padding: 0.5rem; border-radius: 4px; } .camera-name { color: #00ff9d; font-weight: 500; } .event-time { color: #A1B5D8; font-size: 0.8rem; } .timeline-arrow { color: #A1B5D8; } /* Identity Heatmap */ .identity-heatmap { padding-top: 1rem; } .identity-heatmap strong { color: #A1B5D8; display: block; margin-bottom: 0.5rem; } .mini-heatmap { display: flex; gap: 0.25rem; height: 30px; } .heatmap-bar-mini { flex: 1; background: rgba(0, 0, 0, 0.3); border-radius: 2px; overflow: hidden; position: relative; } .heatmap-fill-mini { width: 100%; background: linear-gradient(180deg, #00b8ff, #00ff9d); border-radius: 2px; transition: height 0.5s ease; } /* No Identities */ .no-identities { text-align: center; padding: 2rem; color: #A1B5D8; font-style: italic; background: rgba(15, 23, 42, 0.5); border-radius: 12px; } /* Identity Detail View */ .identity-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .identity-detail-header h2 { color: #00ff9d; font-size: 1.8rem; } .identity-detail-view { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .detail-section { background: rgba(15, 23, 42, 0.5); border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .detail-section h3 { color: #00ff9d; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(0, 255, 157, 0.2); } .summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .summary-item { display: flex; flex-direction: column; padding: 1rem; background: rgba(0, 0, 0, 0.2); border-radius: 8px; } .label { font-size: 0.9rem; color: #A1B5D8; margin-bottom: 0.25rem; } .value { font-size: 1.2rem; color: #00ff9d; font-weight: 600; } .camera-timeline { display: flex; flex-direction: column; gap: 1rem; } .timeline-event-detail { display: flex; justify-content: space-between; padding: 1rem; background: rgba(0, 0, 0, 0.2); border-radius: 8px; flex-wrap: wrap; gap: 0.5rem; } .event-camera { color: #00ff9d; font-weight: 500; } .event-time-detail { color: #A1B5D8; font-size: 0.9rem; } .event-detections { color: #00ff9d; font-size: 0.9rem; } /* Profile Information */ .profile-info { display: flex; flex-direction: column; gap: 0.5rem; } .profile-item { display: flex; justify-content: space-between; padding: 0.5rem; background: rgba(0, 0, 0, 0.2); border-radius: 4px; } /* Heatmap Visualization */ .heatmap { display: flex; flex-direction: column; gap: 1rem; } .heatmap-item { display: flex; align-items: center; gap: 1rem; } .camera-label { min-width: 100px; color: #A1B5D8; font-size: 0.9rem; } .heatmap-bar { flex: 1; height: 20px; background: rgba(0, 0, 0, 0.3); border-radius: 10px; overflow: hidden; position: relative; } .heatmap-fill { height: 100%; background: linear-gradient(90deg, #00b8ff, #00ff9d); border-radius: 10px; transition: width 0.5s ease; } .observation-count { min-width: 30px; text-align: right; color: #00ff9d; font-weight: 600; } /* Responsive Design */ @media (max-width: 768px) { .identities-grid { grid-template-columns: 1fr; } .identities-list .identity-card { width: 100%; } .summary-grid { grid-template-columns: 1fr; } .identity-detail-view { grid-template-columns: 1fr; } .timeline-event-detail { flex-direction: column; } .identities { padding: 0.5rem; } .identity-detail-header { flex-direction: column; align-items: flex-start; gap: 1rem; } }