Spaces:
Sleeping
Sleeping
| * { | |
| box-sizing: border-box; | |
| } | |
| :root { | |
| --bg: #111018; | |
| --panel: rgba(255, 255, 255, 0.08); | |
| --panel-border: rgba(255, 255, 255, 0.14); | |
| --text: #f5f2ff; | |
| --muted: #cfc8dd; | |
| --accent: #77d4ff; | |
| --accent-dark: #58bde9; | |
| --shadow: 0 18px 50px rgba(0, 0, 0, 0.28); | |
| } | |
| body { | |
| margin: 0; | |
| min-height: 100vh; | |
| font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | |
| color: var(--text); | |
| background: | |
| linear-gradient(rgba(10, 8, 20, 0.72), rgba(10, 8, 20, 0.82)), | |
| url("pawel-czerwinski-1A_dO4TFKgM-unsplash.jpg") center/cover no-repeat fixed; | |
| } | |
| .navbar { | |
| width: min(1180px, calc(100% - 32px)); | |
| margin: 20px auto 0; | |
| padding: 16px 22px; | |
| border-radius: 18px; | |
| background: rgba(255, 255, 255, 0.08); | |
| border: 1px solid var(--panel-border); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| gap: 18px; | |
| box-shadow: var(--shadow); | |
| } | |
| .nav-brand { | |
| font-size: 1.4rem; | |
| font-weight: 800; | |
| } | |
| .nav-brand span { | |
| color: #ff77c8; | |
| } | |
| .navbar ul { | |
| display: flex; | |
| gap: 18px; | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| flex-wrap: wrap; | |
| } | |
| .navbar a { | |
| color: var(--text); | |
| text-decoration: none; | |
| font-weight: 600; | |
| } | |
| .page { | |
| width: min(1180px, calc(100% - 32px)); | |
| margin: 28px auto 36px; | |
| } | |
| .hero { | |
| margin-bottom: 24px; | |
| } | |
| .hero-text { | |
| max-width: 720px; | |
| } | |
| .brand-tag { | |
| margin: 0 0 10px; | |
| color: var(--accent); | |
| font-weight: 700; | |
| letter-spacing: 2px; | |
| text-transform: uppercase; | |
| font-size: 0.85rem; | |
| } | |
| .hero h1 { | |
| margin: 0; | |
| font-size: clamp(2.5rem, 5vw, 4.5rem); | |
| line-height: 1.02; | |
| } | |
| .image-preview-container { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .image-preview-container img { | |
| width: 200px; /* Adjust size */ | |
| height: auto; | |
| } | |
| .close-btn { | |
| position: absolute; | |
| top: 8px; | |
| left: 8px; | |
| background: rgba(255, 0, 0, 0.9); | |
| color: white; | |
| width: 28px; | |
| height: 28px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 50%; | |
| font-size: 18px; | |
| font-weight: bold; | |
| cursor: pointer; | |
| z-index: 10; | |
| transition: 0.2s ease; | |
| } | |
| .close-btn:hover { | |
| background: red; | |
| transform: scale(1.1); | |
| } | |
| .subtitle { | |
| margin: 10px 0; | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| color: var(--muted); | |
| } | |
| .description { | |
| margin: 0; | |
| max-width: 60ch; | |
| line-height: 1.7; | |
| color: #ece7f8; | |
| } | |
| .grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 22px; | |
| margin-bottom: 22px; | |
| } | |
| .card, | |
| .upload-card, | |
| .report-card { | |
| background: var(--panel); | |
| border: 1px solid var(--panel-border); | |
| border-radius: 24px; | |
| padding: 24px; | |
| box-shadow: var(--shadow); | |
| backdrop-filter: blur(12px); | |
| } | |
| .card h2, | |
| .upload-card h2, | |
| .report-card h2 { | |
| margin-top: 0; | |
| margin-bottom: 16px; | |
| } | |
| .card p, | |
| .report-card p { | |
| color: var(--muted); | |
| line-height: 1.7; | |
| } | |
| .steps { | |
| margin: 0; | |
| padding-left: 20px; | |
| color: var(--muted); | |
| line-height: 1.9; | |
| font-weight: 600; | |
| } | |
| .upload-card { | |
| margin-bottom: 22px; | |
| } | |
| .file-row { | |
| margin-bottom: 16px; | |
| } | |
| input[type="file"] { | |
| width: 100%; | |
| padding: 14px; | |
| border-radius: 14px; | |
| border: 1px dashed rgba(255, 255, 255, 0.25); | |
| background: rgba(255, 255, 255, 0.06); | |
| color: var(--text); | |
| } | |
| #preview { | |
| display: none; | |
| width: 100%; | |
| max-height: 320px; | |
| object-fit: contain; | |
| margin: 8px 0 18px; | |
| border-radius: 18px; | |
| } | |
| .consent-box { | |
| display: flex; | |
| gap: 12px; | |
| align-items: flex-start; | |
| padding: 16px; | |
| margin-bottom: 18px; | |
| border-radius: 16px; | |
| background: rgba(255, 255, 255, 0.06); | |
| color: var(--muted); | |
| line-height: 1.6; | |
| } | |
| .consent-box a { | |
| color: var(--accent); | |
| text-decoration: none; | |
| } | |
| #scan-btn, | |
| #reportButton { | |
| border: none; | |
| border-radius: 999px; | |
| background: var(--accent); | |
| color: #071119; | |
| font-weight: 800; | |
| padding: 14px 24px; | |
| cursor: pointer; | |
| transition: 0.2s ease; | |
| } | |
| #scan-btn:hover, | |
| #reportButton:hover { | |
| background: var(--accent-dark); | |
| } | |
| #scan-btn:disabled { | |
| opacity: 0.45; | |
| cursor: not-allowed; | |
| } | |
| #result { | |
| margin-top: 20px; | |
| min-height: 72px; | |
| padding: 16px; | |
| border-radius: 16px; | |
| background: rgba(255, 255, 255, 0.06); | |
| color: var(--text); | |
| } | |
| .report-card textarea { | |
| width: 100%; | |
| min-height: 140px; | |
| padding: 14px; | |
| border-radius: 16px; | |
| margin-bottom: 14px; | |
| border: 1px solid rgba(255, 255, 255, 0.16); | |
| background: rgba(255, 255, 255, 0.06); | |
| color: var(--text); | |
| resize: vertical; | |
| } | |
| .footer { | |
| width: min(1180px, calc(100% - 32px)); | |
| margin: 0 auto 28px; | |
| text-align: center; | |
| color: var(--muted); | |
| line-height: 1.7; | |
| } | |
| .footer p { | |
| margin: 5px 0; | |
| } | |
| .splash-screen { | |
| position: fixed; | |
| inset: 0; | |
| background: #0a0814; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 9999; | |
| } | |
| .splash-screen h1 { | |
| margin: 0; | |
| font-size: 3rem; | |
| } | |
| .splash-screen p { | |
| margin-top: 10px; | |
| color: var(--muted); | |
| } | |
| .splash-screen span { | |
| color: var(--accent); | |
| font-weight: 700; | |
| } | |
| @media (max-width: 860px) { | |
| .grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .navbar { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .navbar, | |
| .page, | |
| .footer { | |
| width: min(100% - 20px, 100%); | |
| } | |
| .hero h1 { | |
| font-size: 2.4rem; | |
| } | |
| .card, | |
| .upload-card, | |
| .report-card { | |
| padding: 18px; | |
| } | |
| } | |