/* Custom theme colors */ :root { --primary-color: #0000d3; --secondary-color: #c3c3f5; --background-color: #f8fafc; --text-color: white; --text-secondary: #000050; } @media (prefers-color-scheme: dark) { :root { --primary-color: #c3c3f5; --secondary-color: #0000d3; --background-color: #1e1e2e; --text-color: white; --text-secondary: #000050; } .chat-interface { background: rgba(30, 30, 46, 0.8) !important; } .message { background: rgba(40, 40, 56, 0.8) !important; color: var(--text-color) !important; } .input-box { background: rgba(30, 30, 46, 0.9) !important; color: var(--text-color) !important; } } /* Main container styling */ .gradio-container { /* background-color: var(--background-color) !important */ background-image: url('https://gradientsss.app/mesh.svg'); background-attachment: fixed; background-size: cover; } /* Chat interface styling */ .chat-interface { max-width: 800px; margin: 0 auto; padding: 2rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } @media (prefers-color-scheme: dark) { .chat-interface { background: rgba(30, 30, 46, 0.8) !important; } .gradio-container { background-color: #1e1e2e !important; } .message-wrap { background: rgba(40, 40, 56, 0.8) !important; } } /* Title styling */ .title { color: var(--primary-color); font-size: 2.5rem; font-weight: bold; text-align: center; margin-bottom: 1rem; } .title span { font-size: 24px; font-weight: 600; } /* Message container */ .message { padding: 1rem; margin: 0.5rem 0; border-radius: 0.5rem; color: var(--text-color) !important; } /* Input box styling */ .input-box { border: 2px solid var(--primary-color); border-radius: 0.5rem; padding: 0.75rem; background: white; } /* Button styling */ button { background: var(--primary-color) !important; color: var(--text-color) !important; border-radius: 0.5rem !important; padding: 0.75rem 1.5rem !important; transition: all 0.3s ease !important; } button p { color: var(--text-color) !important; } button:hover { background: var(--secondary-color) !important; transform: translateY(-2px); } button:hover p { color: var(--text-secondary) !important; } /* footer {visibility: hidden} */