/* ===== PREMIUM ANALYZER STYLES ===== */ /* Analyzer Main Layout */ .analyzer-main { min-height: calc(100vh - 70px); background: #FFFFFF; /* Blue/white theme page background */ } /* Hero Section */ .analyzer-hero { background: linear-gradient(180deg, #E8F3EE 0%, #E3F0E7 60%, #DDEBE3 100%); padding: 80px 0; color: #0F4A46; /* Dark Teal */ position: relative; overflow: hidden; } .analyzer-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,'); opacity: 0.3; } .hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; } .hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; color: #0F4A46; /* Dark Teal */ } .hero-subtitle { font-size: 1.25rem; margin-bottom: 40px; color: #335A57; /* Muted Text */ line-height: 1.6; } /* 3-Step Process Strip */ .process-strip { display: flex; align-items: center; justify-content: center; gap: 20px; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-radius: 16px; padding: 24px 32px; border: 1px solid #D9E6DF; /* Border/Divider */ box-shadow: 0 8px 32px rgba(42, 110, 123, 0.1); } .process-step { display: flex; align-items: center; gap: 12px; text-align: left; } .step-icon { font-size: 24px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(42, 110, 123, 0.1); border-radius: 12px; border: 1px solid rgba(42, 110, 123, 0.2); color: #2A6E7B; /* Primary Teal */ } .step-text { display: flex; flex-direction: column; gap: 4px; } .step-title { font-weight: 600; font-size: 16px; color: #0F4A46; /* Dark Teal */ } .step-desc { font-size: 14px; color: #335A57; /* Muted Text */ } .process-arrow { font-size: 20px; color: #335A57; /* Muted Text */ margin: 0 8px; } /* Upload Section */ .upload-section { max-width: 700px; margin: 60px auto; text-align: center; } .upload-zone { border: 3px dashed #D9E6DF; /* Border/Divider */ border-radius: 24px; padding: 80px 40px; background: #FFFFFF; /* Card/Surface */ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; position: relative; box-shadow: 0 20px 40px rgba(42, 110, 123, 0.08); overflow: hidden; } .upload-zone::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #F1F7F4 0%, #ffffff 100%); opacity: 0; transition: opacity 0.3s ease; } .upload-zone:hover::before, .upload-zone:focus::before { opacity: 1; } .upload-zone:hover, .upload-zone:focus { border-color: #2A6E7B; /* Primary Teal */ background: #F1F7F4; /* Mint Light */ transform: translateY(-8px); box-shadow: 0 32px 64px rgba(42, 110, 123, 0.15); } .upload-zone.drag-over { border-color: #2A6E7B; /* Primary Teal */ background: #F1F7F4; /* Mint Light */ transform: scale(1.02); } .upload-content { pointer-events: none; position: relative; z-index: 1; } .upload-icon { color: #2A6E7B; /* Primary Teal */ margin-bottom: 24px; transition: transform 0.3s ease; } .upload-zone:hover .upload-icon { transform: scale(1.1); } .upload-title { font-size: 28px; margin-bottom: 12px; color: #0F4A46; /* Dark Teal */ font-weight: 700; line-height: 1.2; } .upload-subtitle { color: #335A57; /* Muted Text */ margin-bottom: 24px; font-size: 16px; } .upload-formats { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; } .format-tag { background: #F1F7F4; /* Mint Light */ color: #2A6E7B; /* Primary Teal */ padding: 6px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; border: 1px solid #D9E6DF; /* Border/Divider */ } .upload-note { color: #64748b; /* Slate */ font-size: 14px; font-style: italic; margin-bottom: 20px; } #fileInput { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; } /* File Preview */ .file-preview { margin: 32px 0; animation: slideInUp 0.4s ease-out; } @keyframes slideInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Multiple File Preview Styles */ .preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .preview-title { color: #0F4A46; /* Dark Teal */ font-size: 18px; font-weight: 600; margin: 0; } .file-count { background: #2A6E7B; /* Primary Teal */ color: #FFFFFF; padding: 4px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; } .preview-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; } .preview-item { background: #FFFFFF; /* Card/Surface */ border-radius: 16px; border: 1px solid #D9E6DF; /* Border/Divider */ box-shadow: 0 4px 12px rgba(42, 110, 123, 0.06); padding: 16px; display: flex; align-items: center; gap: 12px; transition: all 0.3s ease; } .preview-item:hover { box-shadow: 0 8px 20px rgba(42, 110, 123, 0.12); border-color: #2A6E7B; /* Primary Teal */ } .preview-icon { color: #2A6E7B; /* Primary Teal */ flex-shrink: 0; } .preview-details { flex: 1; min-width: 0; } .file-name { color: #0F4A46; /* Dark Teal */ font-weight: 600; font-size: 14px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-meta { display: flex; gap: 12px; align-items: center; } .file-size { color: #335A57; /* Muted Text */ font-size: 12px; } .file-status { color: #2A6E7B; /* Primary Teal */ font-size: 12px; font-weight: 500; } .remove-file { background: #dc2626; color: #FFFFFF; border: none; border-radius: 8px; padding: 8px; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; } .remove-file:hover { background: #b91c1c; transform: scale(1.05); } .preview-actions { display: flex; gap: 12px; justify-content: center; padding-top: 16px; border-top: 1px solid #D9E6DF; /* Border/Divider */ } .preview-actions .btn { padding: 10px 20px; font-size: 14px; } .preview-actions .btn-icon { margin-right: 8px; font-weight: bold; } .preview-card { background: #FFFFFF; /* Card/Surface */ border-radius: 20px; border: 1px solid #D9E6DF; /* Border/Divider */ box-shadow: 0 8px 24px rgba(42, 110, 123, 0.08); padding: 24px; display: flex; align-items: center; gap: 16px; transition: all 0.3s ease; } .preview-card:hover { box-shadow: 0 12px 32px rgba(42, 110, 123, 0.12); transform: translateY(-2px); } .preview-icon { color: #2A6E7B; /* Primary Teal */ flex-shrink: 0; } .preview-details { flex: 1; text-align: left; } .file-name { font-weight: 600; color: #0F4A46; /* Dark Teal */ margin-bottom: 4px; font-size: 16px; } .file-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; } .file-size { color: #335A57; /* Muted Text */ } .file-status { color: #2A6E7B; /* Primary Teal */ font-weight: 500; } .remove-file { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; } .remove-file:hover { background: #dc2626; color: white; transform: scale(1.1); } .analyze-btn { width: 100%; max-width: 240px; margin-top: 32px; padding: 16px 32px; font-size: 16px; font-weight: 600; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease; } .analyze-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; } .btn-icon { display: flex; align-items: center; justify-content: center; } .btn-text { font-weight: 600; } /* Loading Section */ .loading-section { max-width: 700px; margin: 80px auto; text-align: center; } .loading-content { background: #FFFFFF; /* Card/Surface */ border-radius: 24px; padding: 60px 40px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06); border: 1px solid #E2E8F0; /* Border/Divider */ } .loading-header { margin-bottom: 40px; } .loading-spinner { margin-bottom: 24px; } .spinner-ring { width: 60px; height: 60px; border: 4px solid #F1F7F4; /* Mint Light */ border-top: 4px solid #2A6E7B; /* Primary Teal */ border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-title { font-size: 32px; margin-bottom: 16px; color: #0F4A46; /* Dark Teal */ font-weight: 700; } .loading-subtitle { color: #335A57; /* Muted Text */ font-size: 16px; line-height: 1.6; } /* Progress Bar */ .progress-container { margin-bottom: 40px; } .progress-bar { width: 100%; height: 8px; background: #E2E8F0; /* light gray */ border-radius: 4px; overflow: hidden; margin-bottom: 12px; } .progress-fill { height: 100%; background: linear-gradient(90deg, #0B5ED7 0%, #0A58CA 100%); border-radius: 4px; transition: width 0.8s ease; width: 0%; } .progress-text { color: #335A57; /* Muted Text */ font-size: 14px; font-weight: 500; } /* Progress Steps */ .progress-steps { display: flex; flex-direction: column; gap: 16px; max-width: 500px; margin: 0 auto; } .progress-step { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #F1F7F4; /* Mint Light */ border: 2px solid #D9E6DF; /* Border/Divider */ border-radius: 16px; transition: all 0.4s ease; text-align: left; } .progress-step.active { background: rgba(42, 110, 123, 0.1); border-color: #2A6E7B; /* Primary Teal */ transform: translateX(8px); box-shadow: 0 4px 12px rgba(42, 110, 123, 0.15); } .progress-step.completed { background: #f0fdf4; border-color: #22c55e; } .step-indicator { flex-shrink: 0; } .step-circle { width: 24px; height: 24px; border-radius: 50%; background: #D9E6DF; /* Border/Divider */ border: 2px solid #D9E6DF; /* Border/Divider */ transition: all 0.3s ease; } .progress-step.active .step-circle { background: #2A6E7B; /* Primary Teal */ border-color: #2A6E7B; /* Primary Teal */ animation: pulse 2s infinite; } .progress-step.completed .step-circle { background: #22c55e; border-color: #22c55e; } .progress-step.completed .step-circle::after { content: '✓'; color: white; font-size: 12px; font-weight: bold; display: flex; align-items: center; justify-content: center; height: 100%; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .step-content { flex: 1; } .step-title { font-weight: 600; color: #0F4A46; /* Dark Teal */ margin-bottom: 4px; font-size: 16px; } .step-desc { color: #335A57; /* Muted Text */ font-size: 14px; line-height: 1.4; } /* Results Section */ .results-section { margin-top: 60px; animation: fadeInUp 0.6s ease-out; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .results-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; padding: 0 20px; } .header-content { flex: 1; } .results-title { font-size: 36px; color: #0F4A46; /* Dark Teal */ font-weight: 800; margin-bottom: 8px; line-height: 1.2; } .results-subtitle { color: #335A57; /* Muted Text */ font-size: 16px; line-height: 1.5; } .action-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; } .action-buttons .btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; transition: all 0.3s ease; } .results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1400px; margin: 0 auto; padding: 0 20px; } /* Browse button (blue theme) */ .browse-button { background: #0B5ED7; /* Primary Blue */ color: #FFFFFF; border: none; border-radius: 12px; padding: 12px 24px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; } .browse-button:hover { background: #0A58CA; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 94, 215, 0.25); } .browse-button:active { transform: translateY(0); } /* Image Panel */ .image-panel { display: flex; flex-direction: column; gap: 24px; } .image-card { background: #FFFFFF; /* Card/Surface */ border-radius: 24px; border: 1px solid #E2E8F0; /* Border/Divider */ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); overflow: hidden; transition: all 0.3s ease; } .image-card:hover { box-shadow: 0 16px 40px rgba(42, 110, 123, 0.12); } .image-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 0 24px; margin-bottom: 20px; } .image-title { font-size: 20px; font-weight: 700; color: #0F4A46; /* Dark Teal */ } .image-selector { margin-left: 16px; } .image-select { background: #FFFFFF; /* Card/Surface */ border: 1px solid #D9E6DF; /* Border/Divider */ border-radius: 8px; padding: 8px 12px; color: #0F4A46; /* Dark Teal */ font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; } .image-select:focus { outline: none; border-color: #2A6E7B; /* Primary Teal */ box-shadow: 0 0 0 3px rgba(42, 110, 123, 0.1); } .image-actions { display: flex; gap: 8px; } .image-action { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #E2E8F0; /* Border/Divider */ background: #F8FAFC; /* light */ color: #1f2937; /* gray-800 */ display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; } .image-action:hover { background: #0B5ED7; /* Blue */ color: white; border-color: #0B5ED7; /* Blue */ transform: scale(1.05); } .image-container { position: relative; border-radius: 12px; overflow: hidden; background: #F1F7F4; /* Mint Light */ margin: 0 24px 24px 24px; aspect-ratio: 1; } #analyzedImage { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; } #heatmapOverlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.3s ease; } .image-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; padding: 0 24px 24px 24px; } .info-item { display: flex; flex-direction: column; gap: 4px; } .info-label { font-size: 12px; color: #335A57; /* Muted Text */ font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .info-value { font-size: 14px; color: #0F4A46; /* Dark Teal */ font-weight: 600; } /* Heatmap Controls */ .heatmap-controls { background: #FFFFFF; /* Card/Surface */ border-radius: 20px; border: 1px solid #D9E6DF; /* Border/Divider */ box-shadow: 0 8px 24px rgba(42, 110, 123, 0.06); overflow: hidden; } .control-card { padding: 24px; } .control-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .control-title { font-size: 16px; font-weight: 600; color: #0F4A46; /* Dark Teal */ } .toggle-switch { position: relative; display: inline-block; width: 48px; height: 24px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #D9E6DF; /* Border/Divider */ transition: 0.3s; border-radius: 24px; } .toggle-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.3s; border-radius: 50%; } input:checked + .toggle-slider { background-color: #2A6E7B; /* Primary Teal */ } input:checked + .toggle-slider:before { transform: translateX(24px); } .control-content { display: flex; flex-direction: column; gap: 16px; } .slider-group { display: flex; flex-direction: column; gap: 8px; } .slider-label { font-size: 14px; font-weight: 500; color: #335A57; /* Muted Text */ } .slider-container { display: flex; align-items: center; gap: 12px; } #opacitySlider { flex: 1; height: 6px; border-radius: 3px; background: #D9E6DF; /* Border/Divider */ outline: none; -webkit-appearance: none; } #opacitySlider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #2A6E7B; /* Primary Teal */ cursor: pointer; box-shadow: 0 2px 4px rgba(42, 110, 123, 0.3); } #opacitySlider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #2A6E7B; /* Primary Teal */ cursor: pointer; border: none; box-shadow: 0 2px 4px rgba(42, 110, 123, 0.3); } .slider-value { color: #335A57; /* Muted Text */ font-weight: 600; font-size: 14px; min-width: 40px; text-align: right; } /* Results Panel */ .results-panel { display: flex; flex-direction: column; gap: 24px; } /* Footer Disclaimer */ .disclaimer-footer { background: #F8FAFC; border-top: 1px solid #E2E8F0; padding: 20px 0; text-align: center; margin-top: 60px; } .disclaimer-footer p { color: #334155; font-size: 14px; margin: 0; } .result-card { background: #FFFFFF; /* Card/Surface */ border-radius: 20px; border: 1px solid #D9E6DF; /* Border/Divider */ box-shadow: 0 8px 24px rgba(42, 110, 123, 0.06); overflow: hidden; transition: all 0.3s ease; } .result-card:hover { box-shadow: 0 12px 32px rgba(42, 110, 123, 0.1); transform: translateY(-2px); } .card-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 0 24px; margin-bottom: 20px; } .card-title { font-size: 18px; font-weight: 700; color: #0F4A46; /* Dark Teal */ } .card-badge { padding: 6px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .diagnosis-card .card-badge { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; } .chemo-card .card-badge.positive { background: #f0fdf4; color: #22c55e; border: 1px solid #bbf7d0; } .trials-card .card-badge { background: rgba(11, 94, 215, 0.1); color: #0B5ED7; /* Primary Blue */ border: 1px solid rgba(11, 94, 215, 0.2); } .card-content { padding: 0 24px 24px 24px; } /* Diagnosis Card */ .diagnosis-summary { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; } .diagnosis-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #F8FAFC; /* light */ border-radius: 12px; border: 1px solid #E2E8F0; /* Border/Divider */ } .item-label { font-weight: 500; color: #335A57; /* Muted Text */ font-size: 14px; } .item-value { font-weight: 700; font-size: 16px; } .item-value.positive { color: #dc2626; } .item-value.confidence { color: #22c55e; } .item-value.likely { color: #22c55e; } .diagnosis-explanation, .chemo-explanation { color: #335A57; /* Muted Text */ line-height: 1.6; font-size: 14px; padding: 16px; background: #F1F7F4; /* Mint Light */ border-radius: 12px; border-left: 4px solid #2A6E7B; /* Primary Teal */ } /* Chemo Response Card */ .chemo-summary { margin-bottom: 20px; } .chemo-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; } /* Clinical Trials Card */ .trial-filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; } .filter-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .filter-label { font-size: 14px; font-weight: 500; color: #335A57; /* Muted Text */ min-width: 60px; } .filter-chips { display: flex; gap: 8px; flex-wrap: wrap; } .filter-chip { padding: 8px 16px; border: 1px solid #e2e8f0; background: #ffffff; color: #335A57; /* Muted Text */ border-radius: 20px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; } .filter-chip:hover { border-color: #2A6E7B; /* Primary Teal */ color: #2A6E7B; /* Primary Teal */ background: rgba(42, 110, 123, 0.1); } .filter-chip.active { background: #2A6E7B; /* Primary Teal */ color: #ffffff; border-color: #2A6E7B; /* Primary Teal */ } .trials-list { display: flex; flex-direction: column; gap: 16px; } .trial-card { background: #F1F7F4; /* Mint Light */ border: 1px solid #D9E6DF; /* Border/Divider */ border-radius: 12px; padding: 20px; transition: all 0.3s ease; } .trial-card:hover { border-color: #2A6E7B; /* Primary Teal */ transform: translateY(-2px); box-shadow: 0 4px 12px rgba(42, 110, 123, 0.1); } .trial-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 16px; } .trial-title { font-size: 16px; font-weight: 600; color: #0F4A46; /* Dark Teal */ flex: 1; line-height: 1.4; } .trial-badges { display: flex; gap: 8px; flex-shrink: 0; } .trial-badge { padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 600; } .trial-badge.phase { background: #2A6E7B; /* Primary Teal */ color: #ffffff; } .trial-badge.status.recruiting { background: #22c55e; color: #ffffff; } .trial-badge.status.active { background: #f59e0b; color: #ffffff; } .trial-description { color: #335A57; /* Muted Text */ margin-bottom: 12px; font-size: 14px; line-height: 1.5; } .trial-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; font-size: 14px; } .trial-detail { display: flex; flex-direction: column; gap: 4px; } .detail-label { color: #335A57; /* Muted Text */ font-weight: 500; } .detail-value { color: #0F4A46; /* Dark Teal */ font-weight: 600; } /* Diagnosis Section */ .diagnosis-result { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 16px; } .diagnosis-status, .confidence-display { display: flex; align-items: center; gap: 8px; } .status-label, .confidence-label { color: #335A57; /* Muted Text */ font-weight: 500; } .status-value { font-weight: 700; font-size: 18px; } .status-value.positive { color: #dc2626; } .status-value.negative { color: #22c55e; } .confidence-value { font-weight: 700; font-size: 18px; color: #22c55e; } .diagnosis-explanation, .chemo-explanation { color: #335A57; /* Muted Text */ line-height: 1.6; font-size: 14px; } /* Chemo Response Section */ .chemo-result { margin-bottom: 16px; } .response-status { display: flex; align-items: center; gap: 8px; } .response-value { font-weight: 700; font-size: 18px; } .response-value.likely { color: #22c55e; } .response-value.unlikely { color: #dc2626; } /* Clinical Trials Section */ .trial-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; } .filter-group { display: flex; gap: 8px; flex-wrap: wrap; } .filter-chip { padding: 8px 16px; border: 1px solid #D9E6DF; /* Border/Divider */ background: #ffffff; color: #335A57; /* Muted Text */ border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.3s ease; } .filter-chip:hover { border-color: #3b82f6; color: #1e293b; } .filter-chip.active { background: #3b82f6; color: #ffffff; border-color: #3b82f6; } .trials-list { display: flex; flex-direction: column; gap: 20px; } .trial-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; transition: all 0.3s ease; } .trial-card:hover { border-color: #3b82f6; transform: translateY(-2px); } .trial-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 16px; } .trial-title { font-size: 16px; font-weight: 600; color: #1e293b; flex: 1; } .trial-badges { display: flex; gap: 8px; flex-shrink: 0; } .trial-badge { padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 600; } .trial-badge.phase { background: #2A6E7B; /* Primary Teal */ color: #ffffff; } .trial-badge.status.recruiting { background: #22c55e; color: #ffffff; } .trial-badge.status.active { background: #f59e0b; color: #ffffff; } .trial-description { color: #335A57; /* Muted Text */ margin-bottom: 12px; font-size: 14px; line-height: 1.5; } .trial-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; font-size: 14px; } .trial-detail { display: flex; flex-direction: column; gap: 4px; } .detail-label { color: #335A57; /* Muted Text */ font-weight: 500; } .detail-value { color: #1e293b; font-weight: 600; } /* ===== RESPONSIVE DESIGN ===== */ @media (max-width: 1200px) { .results-grid { gap: 32px; } .hero-title { font-size: 3rem; } .process-strip { flex-direction: column; gap: 16px; padding: 20px 24px; } .process-arrow { transform: rotate(90deg); margin: 8px 0; } } @media (max-width: 1024px) { .results-grid { grid-template-columns: 1fr; gap: 32px; } .results-header { flex-direction: column; align-items: flex-start; gap: 20px; } .action-buttons { width: 100%; justify-content: flex-start; } .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1.1rem; } } @media (max-width: 768px) { .analyzer-hero { padding: 60px 0; } .hero-title { font-size: 2.2rem; } .hero-subtitle { font-size: 1rem; } .process-strip { padding: 16px 20px; } .process-step { flex-direction: column; text-align: center; gap: 8px; } .step-icon { width: 40px; height: 40px; font-size: 20px; } .upload-zone { padding: 60px 30px; } .upload-title { font-size: 24px; } .results-title { font-size: 28px; } .action-buttons { flex-direction: column; width: 100%; } .action-buttons .btn { width: 100%; justify-content: center; } .image-header { flex-direction: column; align-items: flex-start; gap: 16px; } .image-actions { width: 100%; justify-content: flex-start; } .image-info { grid-template-columns: 1fr; gap: 12px; } .diagnosis-item, .chemo-item { flex-direction: column; align-items: flex-start; gap: 8px; } .trial-header { flex-direction: column; align-items: flex-start; gap: 12px; } .trial-badges { width: 100%; justify-content: flex-start; } .filter-group { flex-direction: column; align-items: flex-start; gap: 8px; } .filter-chips { width: 100%; justify-content: flex-start; } .trial-details { grid-template-columns: 1fr; gap: 8px; } } @media (max-width: 480px) { .analyzer-hero { padding: 40px 0; } .hero-title { font-size: 1.8rem; } .hero-subtitle { font-size: 0.9rem; } .process-strip { padding: 12px 16px; } .step-icon { width: 36px; height: 36px; font-size: 18px; } .upload-zone { padding: 40px 20px; } .upload-title { font-size: 20px; } .upload-subtitle { font-size: 14px; } .preview-card { padding: 16px; flex-direction: column; text-align: center; gap: 12px; } .preview-details { text-align: center; } .file-meta { flex-direction: column; gap: 4px; } .results-title { font-size: 24px; } .results-subtitle { font-size: 14px; } .card-header { flex-direction: column; align-items: flex-start; gap: 12px; } .card-content { padding: 0 16px 16px 16px; } .image-container { margin: 0 16px 16px 16px; } .image-info { padding: 0 16px 16px 16px; } .control-card { padding: 16px; } .slider-container { flex-direction: column; align-items: flex-start; gap: 8px; } #opacitySlider { width: 100%; } .trial-card { padding: 16px; } } /* ===== ACCESSIBILITY ===== */ /* Focus styles */ .upload-zone:focus, .image-action:focus, .filter-chip:focus, .btn:focus { outline: 2px solid #3b82f6; outline-offset: 2px; } /* High contrast mode support */ @media (prefers-contrast: high) { .upload-zone { border-width: 4px; } .result-card { border-width: 2px; } .trial-card { border-width: 2px; } } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { .upload-zone, .result-card, .trial-card, .image-action, .filter-chip, .btn { transition: none; } .spinner-ring { animation: none; } .step-circle { animation: none; } .progress-fill { transition: none; } } /* Print styles */ @media print { .action-buttons, .image-actions, .heatmap-controls { display: none; } .results-grid { grid-template-columns: 1fr; } .result-card { break-inside: avoid; box-shadow: none; border: 1px solid #000; } }