:root { --bg-primary: #121212; --bg-secondary: #1E1E1E; --text-primary: #FFFFFF; --text-secondary: #A0A0A0; --accent-color: #2196F3; --positive-color: #4CAF50; --negative-color: #F44336; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; } .app-container { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; } .main-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background-color: var(--bg-secondary); } .logo { font-size: 1.5rem; font-weight: bold; color: var(--accent-color); } .main-nav ul { display: flex; list-style: none; } .main-nav ul li { margin: 0 1rem; } .main-nav ul li a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; } .main-nav ul li a:hover { color: var(--text-primary); } .user-actions { display: flex; align-items: center; } .connect-wallet { background-color: var(--accent-color); color: var(--text-primary); border: none; padding: 0.5rem 1rem; margin-right: 1rem; border-radius: 4px; cursor: pointer; } .user-profile img { width: 40px; height: 40px; border-radius: 50%; } .main-content { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem; } .dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } .portfolio-overview, .active-bots { background-color: var(--bg-secondary); padding: 1.5rem; border-radius: 8px; } .portfolio-stats { display: flex; justify-content: space-between; margin-top: 1rem; } .stat-card { background-color: var(--bg-primary); padding: 1rem; border-radius: 4px; text-align: center; width: 48%; } .positive { color: var(--positive-color); } .active-bots .bot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; } .bot-card { background-color: var(--bg-primary); padding: 1rem; border-radius: 4px; } .trading-interface { background-color: var(--bg-secondary); padding: 1.5rem; border-radius: 8px; } .trading-panel { display: grid; gap: 1rem; } .trading-header { display: flex; justify-content: space-between; align-items: center; } .trading-indicators { display: flex; gap: 1rem; } .indicator { display: flex; flex-direction: column; align-items: center; background-color: var(--bg-primary); padding: 0.5rem; border-radius: 4px; } .indicator span { font-size: 0.8rem; color: var(--text-secondary); } .trading-chart { background-color: var(--bg-primary); height: 400px; border-radius: 4px; overflow: hidden; } #tradingview-chart { width: 100%; height: 100%; } .trading-order-types { display: flex; justify-content: center; margin-bottom: 1rem; } .order-type-selector { display: flex; background-color: var(--bg-primary); border-radius: 4px; overflow: hidden; } .order-type-selector button { padding: 0.5rem 1rem; background: none; border: none; color: var(--text-secondary); cursor: pointer; transition: background-color 0.3s; } .order-type-selector button.active { background-color: var(--accent-color); color: var(--text-primary); } .trading-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .trade-input { display: flex; flex-direction: column; } .trade-input input { padding: 0.75rem; background-color: var(--bg-primary); border: 1px solid var(--text-secondary); color: var(--text-primary); border-radius: 4px; } .action-buttons { display: flex; gap: 1rem; } .trading-actions button { flex: 1; padding: 1rem; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; } .buy-action { background-color: var(--positive-color); color: var(--text-primary); } .sell-action { background-color: var(--negative-color); color: var(--text-primary); } .bot-configuration { background-color: var(--bg-secondary); padding: 1.5rem; border-radius: 8px; } .bot-manager h2 { margin-bottom: 1rem; } .create-bot-btn { background-color: var(--accent-color); color: var(--text-primary); border: none; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer; } .bot-card-advanced { background-color: var(--bg-primary); border-radius: 8px; padding: 1rem; margin-top: 1rem; } .bot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .bot-status { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.8rem; } .bot-status.running { background-color: var(--positive-color); color: var(--text-primary); } .bot-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; } .bot-stat { display: flex; flex-direction: column; align-items: center; background-color: var(--bg-secondary); padding: 0.75rem; border-radius: 4px; } .bot-actions { display: flex; gap: 0.5rem; } .bot-actions button { flex: 1; padding: 0.5rem; border: none; border-radius: 4px; cursor: pointer; } .edit-bot { background-color: var(--accent-color); color: var(--text-primary); } .stop-bot { background-color: var(--negative-color); color: var(--text-primary); } .main-footer { background-color: var(--bg-secondary); padding: 1rem; text-align: center; } @media (max-width: 768px) { .dashboard, .main-header, .main-nav ul { grid-template-columns: 1fr; flex-direction: column; } .main-nav ul li { margin: 0.5rem 0; } }