*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: system-ui, -apple-system, sans-serif; background: #f5f5f5; color: #222; min-height: 100vh; } /* Nav */ header { background: #1a1a2e; padding: 0 1.5rem; } nav { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; } .brand { color: #e0e0ff; font-weight: 700; text-decoration: none; font-size: 1.1rem; } .nav-links a { color: #c0c0dd; text-decoration: none; margin-left: 1.25rem; font-size: 0.9rem; } .nav-links a:hover { color: #fff; } /* Main */ main { max-width: 640px; margin: 2rem auto; padding: 0 1rem; } /* Alerts */ .alert { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.9rem; } .alert-success { background: #d4edda; color: #155724; } .alert-error { background: #f8d7da; color: #721c24; } /* Card */ .card { background: #fff; border-radius: 10px; padding: 2rem; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); } .card h1 { font-size: 1.5rem; margin-bottom: 1.5rem; } /* Forms */ form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; margin-top: 1rem; } form input, form select, form textarea { width: 100%; padding: 0.55rem 0.75rem; border: 1px solid #ccc; border-radius: 6px; font-size: 0.95rem; font-family: inherit; } form input:focus, form select:focus, form textarea:focus { outline: none; border-color: #5c6bc0; box-shadow: 0 0 0 2px rgba(92, 107, 192, 0.2); } button[type="submit"], .btn { display: inline-block; margin-top: 1.25rem; padding: 0.6rem 1.4rem; background: #5c6bc0; color: #fff; border: none; border-radius: 6px; font-size: 0.95rem; cursor: pointer; text-decoration: none; } button[type="submit"]:hover, .btn:hover { background: #3f51b5; } /* Result */ .result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #eee; } .result h2 { margin-bottom: 0.75rem; font-size: 1.1rem; } pre { background: #f0f0f0; padding: 1rem; border-radius: 6px; white-space: pre-wrap; word-break: break-word; } .generated-image { max-width: 100%; border-radius: 8px; margin-top: 0.5rem; } .generated-video { max-width: 100%; border-radius: 8px; margin-top: 0.5rem; }