.container { background: #0f172a; min-height: 100vh; padding: 20px; color: #e2e8f0; } .upload-box { border: 2.5px dashed #3b82f6; border-radius: 16px; padding: 48px 24px; text-align: center; cursor: pointer; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); box-shadow: 0 4px 24px rgba(59,130,246,0.15); transition: border-color 0.2s, box-shadow 0.2s; color: #e2e8f0; font-family: Inter, Arial, sans-serif; font-size: 1.1rem; position: relative; margin-top: 32px; margin-bottom: 32px; } .upload-box.dragover { border-color: #60a5fa; box-shadow: 0 4px 32px rgba(96,165,250,0.25); background: linear-gradient(135deg, #334155 0%, #1e293b 100%); } .upload-box-content { margin-bottom: 18px; } .upload-box-icon { margin-bottom: 8px; } .upload-box-title { font-weight: 500; font-size: 1.15rem; margin: 0; color: #f1f5f9; } .upload-box-desc { color: #94a3b8; font-size: 0.95rem; margin: 8px 0 0 0; } .upload-box-browse { color: #60a5fa; text-decoration: underline; cursor: pointer; } /* Loading Styles */ .loading { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #e2e8f0; } .spinner { width: 40px; height: 40px; border: 4px solid #334155; border-top: 4px solid #3b82f6; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Result Styles */ .result { margin-top: 24px; padding: 24px; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.4); background: #1e293b; position: relative; } .resultHeader { display: flex; justify-content: flex-end; margin-bottom: 16px; } .clearButton { background: #dc2626; color: #fecaca; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; } .clearButton:hover { background: #b91c1c; color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); } .success { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border: 2px solid #10b981; } .error { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border: 2px solid #ef4444; text-align: center; } .error h3 { color: #f87171; margin: 0 0 12px 0; } .success h3 { color: #34d399; margin: 0 0 20px 0; text-align: center; } .resultGrid { display: grid; gap: 20px; } .mainResult { background: #334155; margin-top: 13px; padding: 20px; border-radius: 8px; border: 1px solid #475569; box-shadow: 0 2px 12px rgba(0,0,0,0.3); } .mainResult p { margin: 12px 0; font-size: 1.1rem; color: #e2e8f0; font-weight: 500; } .mainResult strong { color: #f1f5f9; font-weight: 600; } .fake { color: #fca5a5; font-weight: 600; background: #7f1d1d; padding: 4px 8px; border-radius: 4px; } .real { color: #86efac; font-weight: 600; background: #14532d; padding: 4px 8px; border-radius: 4px; } /* New styles for explainability and frame analysis */ .explainability { background: #0f766e; padding: 20px; border-radius: 8px; border: 1px solid #14b8a6; margin-top: 16px; box-shadow: 0 2px 12px rgba(20, 184, 166, 0.2); } .explainability h4 { margin: 0 0 12px 0; color: #5eead4; display: flex; align-items: center; gap: 8px; } .explainability p { margin: 8px 0; color: #7dd3fc; line-height: 1.6; font-size: 0.95rem; font-weight: 500; } .gradcam { background: #1e293b; padding: 16px; border-radius: 8px; border: 1px solid #6366f1; margin-top: 16px; box-shadow: 0 2px 12px rgba(99, 102, 241, 0.2); } .gradcam h4 { margin: 0 0 12px 0; color: #a5b4fc; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.1rem; } .gradcam p { margin: 8px 0; color: #c7d2fe; line-height: 1.6; font-size: 0.95rem; font-weight: 500; } .gradcamImage { width: 100%; max-width: 400px; height: auto; border-radius: 8px; border: 2px solid #6366f1; margin: 12px 0; opacity: 0.7; filter: brightness(0.9) contrast(0.85); } .frameAnalysis { background: #7f1d1d; padding: 16px; border-radius: 8px; border: 1px solid #f87171; margin-top: 16px; box-shadow: 0 2px 12px rgba(248, 113, 113, 0.2); } .frameAnalysis h4 { margin: 0 0 12px 0; color: #fca5a5; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.1rem; } .frameAnalysis p { margin: 8px 0; color: #fecaca; line-height: 1.6; font-size: 0.95rem; font-weight: 500; } .frameList { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .frameItem { background: #991b1b; color: #fca5a5; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; border: 1px solid #dc2626; } .loadingExplain { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-style: italic; } .loadingSpinner { width: 16px; height: 16px; border: 2px solid #475569; border-top: 2px solid #3b82f6; border-radius: 50%; animation: spin 1s linear infinite; }