Spaces:
Sleeping
Sleeping
| :root { --bg: #0f172a; --accent: #22d3ee; --card-bg: rgba(30, 41, 59, 0.7); } | |
| body { background: var(--bg); color: white; font-family: 'Outfit', sans-serif; display: flex; justify-content: center; } | |
| .container { max-width: 900px; padding: 2rem; } | |
| .accent { color: var(--accent); } | |
| .main-card { background: var(--card-bg); padding: 2rem; border-radius: 1rem; backdrop-filter: blur(10px); } | |
| .upload-area { border: 2px dashed #444; padding: 3rem; text-align: center; cursor: pointer; border-radius: 1rem; } | |
| #image-preview { max-width: 300px; margin: 1rem auto; display: block; border-radius: 10px; } | |
| .predict-btn { width: 100%; background: var(--accent); color: #000; padding: 1rem; border: none; border-radius: 0.5rem; font-weight: 800; cursor: pointer; margin-top: 1rem; } | |
| .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; } | |
| .result-card { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 0.5rem; border-left: 4px solid var(--accent); } | |
| .hidden { display: none; } | |
| .loader-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; } | |
| .spinner { width: 50px; height: 50px; border: 5px solid #fff; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |