* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Manrope', sans-serif; background: #0f0f1a; color: #d9d9e6; min-height: 100vh; transition: background 0.5s, color 0.5s; } .container { max-width: 1440px; margin: 0 auto; padding: 20px; } /* Header */ .header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: rgba(20, 20, 30, 0.7); backdrop-filter: blur(15px); border-radius: 16px; margin-bottom: 30px; } .logo h1 { font-size: 2em; font-weight: 800; color: #00c4ff; } .tagline { font-size: 0.9em; color: #8a8ab3; margin-left: 10px; } .nav { display: flex; align-items: center; } #theme-toggle { background: none; border: none; cursor: pointer; padding: 10px; border-radius: 50%; transition: background 0.3s, transform 0.3s; } #theme-toggle:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); } .icon { width: 24px; height: 24px; stroke: #d9d9e6; } /* Main Layout */ .main { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; min-height: calc(100vh - 200px); } /* Panels */ .panel { background: #14141e; border-radius: 16px; padding: 24px; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2), inset -2px -2px 4px rgba(255, 255, 255, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; } .panel:hover { transform: translateY(-4px); box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.1); } .panel h2 { font-size: 1.4em; font-weight: 600; color: #00c4ff; margin-bottom: 16px; } /* Query Panel */ .query-panel .input-group { display: flex; flex-direction: column; gap: 12px; } #query-input { background: #1a1a26; border: none; border-radius: 12px; padding: 16px; font-size: 1em; color: #d9d9e6; resize: none; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3); transition: box-shadow 0.3s; } #query-input:focus { outline: none; box-shadow: inset 0 0 0 2px #00c4ff; } /* Buttons */ .btn { padding: 12px 24px; border: none; border-radius: 12px; font-size: 0.95em; font-weight: 600; cursor: pointer; transition: background 0.3s, transform 0.2s, box-shadow 0.3s; } .btn-action { background: linear-gradient(135deg, #00c4ff, #ff007a); color: #fff; box-shadow: 0 4px 12px rgba(0, 196, 255, 0.3); } .btn-action:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 196, 255, 0.5); } /* Output Panels */ .output { background: #1a1a26; border-radius: 12px; padding: 20px; min-height: 120px; font-size: 0.95em; color: #b0b0cc; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3); } /* Settings Panel */ .settings-panel { grid-row: span 2; } .settings { display: flex; flex-direction: column; gap: 16px; } .control label { font-size: 0.85em; color: #8a8ab3; margin-bottom: 8px; display: block; } .control input, .control select { width: 100%; background: #1a1a26; border: none; border-radius: 10px; padding: 12px; font-size: 0.9em; color: #d9d9e6; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3); transition: box-shadow 0.3s; } .control input:focus, .control select:focus { outline: none; box-shadow: inset 0 0 0 2px #00c4ff; } /* Footer */ .footer { text-align: center; padding: 20px 0; font-size: 0.85em; color: #606080; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 20px; } /* Light Theme */ body.light { background: #f5f5fa; color: #1a1a2e; } body.light .header, body.light .panel { background: #ffffff; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.3); } body.light .panel h2 { color: #007bff; } body.light .output, body.light #query-input, body.light .control input, body.light .control select { background: #f0f0f5; color: #1a1a2e; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1); } body.light .control label { color: #606080; } body.light .footer { color: #8080a0; } body.light .icon { stroke: #1a1a2e; } /* Animations */ @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .panel, .footer { animation: slideIn 0.5s ease-out forwards; } /* Responsive Design */ @media (max-width: 1024px) { .main { grid-template-columns: 1fr; } .settings-panel { grid-row: auto; } } @media (max-width: 600px) { .container { padding: 10px; } .header { padding: 15px; flex-direction: column; gap: 10px; } .logo h1 { font-size: 1.5em; } .panel { padding: 16px; } .btn { padding: 10px 20px; } }