/* web.css - Dark theme matching baseTemplate */ .web-layout { max-width: 800px; margin: 0 auto; padding: 2rem; display: flex; flex-direction: column; gap: 2rem; animation: fadeIn 0.4s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .header-section { text-align: center; } .header-section h2 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: 0.5rem; } .header-section p { color: var(--text-secondary); font-size: 1.1rem; } .input-section { background: var(--bg-card); padding: 1.5rem; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); } .input-wrapper { display: flex; gap: 1rem; } #urlInput { flex: 1; padding: 1rem 1.2rem; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--border-color); border-radius: 12px; font-size: 1rem; color: var(--text-primary); font-family: inherit; transition: all 0.2s ease; outline: none; } #urlInput::placeholder { color: var(--text-secondary); opacity: 0.6; } #urlInput:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.15); } .btn-summarize { background: linear-gradient(135deg, #6d5dfc, #e92efb); color: white; border: none; border-radius: 12px; padding: 0 1.5rem; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; transition: all 0.2s ease; } .btn-summarize:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(109, 93, 252, 0.3); } .btn-summarize:disabled { background: var(--text-secondary); cursor: not-allowed; transform: none; opacity: 0.5; box-shadow: none; } .result-section { background: var(--bg-card); padding: 2rem; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); min-height: 200px; } .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 1rem; color: var(--text-secondary); } .spinner { width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, 0.1); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .result-content h3 { margin-bottom: 1rem; color: var(--text-primary); border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; } .markdown-body { line-height: 1.6; color: var(--text-primary); font-family: inherit; } .markdown-body p { margin-bottom: 1rem; } .markdown-body h1, .markdown-body h2, .markdown-body h3 { color: var(--text-primary); margin-top: 1.5rem; margin-bottom: 0.75rem; } .markdown-body code { background: rgba(255, 255, 255, 0.1); padding: 0.2rem 0.4rem; border-radius: 4px; font-family: monospace; color: #a89dff; } .markdown-body pre { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color); color: var(--text-primary); padding: 1rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1rem; } .markdown-body a { color: var(--accent); text-decoration: none; } .markdown-body a:hover { text-decoration: underline; } .error-state { display: flex; align-items: center; gap: 1rem; color: #ff6b6b; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.2); padding: 1rem; border-radius: 8px; } @media (max-width: 640px) { .input-wrapper { flex-direction: column; } .btn-summarize { padding: 1rem; justify-content: center; } }