Spaces:
Sleeping
Sleeping
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| :root { | |
| --bg-primary: #0f172a; | |
| --bg-secondary: #1e293b; | |
| --text-primary: #f8fafc; | |
| --text-secondary: #94a3b8; | |
| --accent-primary: #3b82f6; | |
| --accent-secondary: #8b5cf6; | |
| --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); | |
| --glass-bg: rgba(30, 41, 59, 0.7); | |
| --glass-border: rgba(255, 255, 255, 0.1); | |
| --font-sans: 'Inter', system-ui, -apple-system, sans-serif; | |
| } | |
| [data-theme="light"] { | |
| --bg-primary: #ffffff; | |
| --bg-secondary: #f1f5f9; | |
| --text-primary: #0f172a; | |
| --text-secondary: #64748b; | |
| --glass-bg: rgba(255, 255, 255, 0.9); | |
| --glass-border: rgba(0, 0, 0, 0.1); | |
| } | |
| [data-theme="light"] input, | |
| [data-theme="light"] textarea, | |
| [data-theme="light"] select { | |
| background: rgba(255, 255, 255, 0.9); | |
| border-color: rgba(0, 0, 0, 0.1); | |
| color: var(--text-primary); | |
| } | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: var(--font-sans); | |
| background-color: var(--bg-primary); | |
| color: var(--text-primary); | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| background-image: | |
| radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 20%), | |
| radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 20%); | |
| } | |
| #root { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| width: 100%; | |
| } | |
| h1, h2, h3 { | |
| line-height: 1.2; | |
| font-weight: 700; | |
| letter-spacing: -0.02em; | |
| } | |
| h1 { | |
| font-size: 3rem; | |
| background: var(--accent-gradient); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| margin-bottom: 0.5rem; | |
| } | |
| .card { | |
| background: var(--glass-bg); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 1rem; | |
| padding: 2rem; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
| transition: transform 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| } | |
| .form-group { | |
| margin-bottom: 1.5rem; | |
| } | |
| label { | |
| display: block; | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| color: var(--text-secondary); | |
| margin-bottom: 0.5rem; | |
| } | |
| input, textarea, select { | |
| width: 100%; | |
| padding: 0.75rem 1rem; | |
| background: rgba(15, 23, 42, 0.6); /* Dark theme default */ | |
| border: 1px solid var(--glass-border); | |
| border-radius: 0.5rem; | |
| color: var(--text-primary); | |
| font-family: inherit; | |
| font-size: 1rem; | |
| transition: all 0.2s ease; | |
| } | |
| input:focus, textarea:focus, select:focus { | |
| outline: none; | |
| border-color: var(--accent-primary); | |
| box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); | |
| } | |
| button { | |
| cursor: pointer; | |
| border: none; | |
| font-family: inherit; | |
| } | |
| .btn-primary { | |
| background: var(--accent-gradient); | |
| color: white; | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 0.5rem; | |
| font-weight: 600; | |
| font-size: 1rem; | |
| width: 100%; | |
| transition: opacity 0.2s ease; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| } | |
| .btn-primary:hover { | |
| opacity: 0.9; | |
| } | |
| .btn-primary:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| pre { | |
| background: #0f172a; | |
| padding: 1.5rem; | |
| border-radius: 0.5rem; | |
| overflow-x: auto; | |
| font-family: 'Fira Code', monospace; | |
| font-size: 0.875rem; | |
| line-height: 1.7; | |
| border: 1px solid var(--glass-border); | |
| } | |
| .layout { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 2rem; | |
| } | |
| @media (min-width: 768px) { | |
| .layout { | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| } | |
| .status-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 9999px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .status-success { | |
| background: rgba(34, 197, 94, 0.1); | |
| color: #4ade80; | |
| border: 1px solid rgba(34, 197, 94, 0.2); | |
| } | |
| .header { | |
| margin-bottom: 3rem; | |
| text-align: center; | |
| } | |
| .header p { | |
| color: var(--text-secondary); | |
| font-size: 1.125rem; | |
| } | |