:root { --term-bg: #0b0e11; --term-surface: #161a1e; --term-border: #2b3139; --term-text: #eaecef; --term-muted: #848e9c; --term-primary: #0062ff; --term-success: #26a69a; --term-danger: #ef5350; --header-height: 70px; --sidebar-width: 280px; --orderbook-width: 300px; } .terminal-container { display: flex; flex-direction: column; height: 100vh; background: var(--term-bg); color: var(--term-text); overflow: hidden; } .sidebar-tabs { display: flex; height: 60px; border-bottom: 1px solid var(--term-border); background: var(--term-surface); } .sidebar-tabs .terminal-tab { flex: 1; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; border-right: 1px solid var(--term-border); color: var(--term-muted); text-decoration: none; font-weight: 600; transition: all 0.2s; } .sidebar-tabs .terminal-tab:hover { color: var(--term-text); background: rgba(255,255,255,0.03); } .sidebar-tabs .terminal-tab.active { background: var(--term-bg); color: var(--term-primary); border-bottom: 2px solid var(--term-primary); } .sidebar-tabs .terminal-tab:last-child { border-right: none; } .sidebar-search { padding: 10px 12px; border-bottom: 1px solid var(--term-border); height: 60px; display: flex; align-items: center; background: var(--term-surface); } .sidebar-search input { background: #0b0e11; border: 1px solid var(--term-border); color: #fff; width: 100%; height: 38px; padding: 0 12px; border-radius: 4px; font-size: 12px; outline: none; transition: all 0.2s; } .content-header { height: 50px; border-bottom: 1px solid var(--term-border); display: flex; align-items: center; padding: 0 15px; gap: 20px; background: var(--term-surface); } .terminal-sidebar { width: var(--sidebar-width); border-right: 1px solid var(--term-border); display: flex; flex-direction: column; background: var(--term-surface); } .terminal-right-sidebar { width: var(--orderbook-width); border-left: 1px solid var(--term-border); background: var(--term-surface); } .sidebar-search input { background: #0b0e11; border: 1px solid var(--term-border); color: #fff; width: 100%; padding: 8px 15px; border-radius: 8px; font-size: 13px; outline: none; transition: border-color 0.2s; } .sidebar-search input:focus { border-color: var(--term-primary); } /* Order Book Beautification */ .order-book { display: flex; flex-direction: column; height: 100%; font-family: 'Roboto Mono', 'Noto Sans SC', monospace; background: #0b0e11; } .ob-header { display: flex; justify-content: space-between; padding: 12px 15px; font-size: 11px; color: #848e9c; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--term-border); } .ob-list { flex: 1; display: flex; flex-direction: column; } .ob-row { display: flex; justify-content: space-between; padding: 2px 15px; font-size: 12px; position: relative; cursor: pointer; } .ob-mid-price { padding: 10px 15px; text-align: left; background: rgba(0,0,0,0.4); border-top: 1px solid var(--term-border); border-bottom: 1px solid var(--term-border); } .ob-mid-price .val { font-size: 18px; font-weight: 700; display: block; } .ob-row:hover { background: rgba(255,255,255,0.05); } .ob-row .price { font-weight: 600; z-index: 2; } .asks .price { color: #f6465d; } .bids .price { color: #0ecb81; } .ob-row .amount { color: #eaecef; opacity: 0.9; z-index: 2; } .ob-row-bg { position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; opacity: 0.1; transition: width 0.3s ease; } .asks .ob-row-bg { background: #f6465d; } .bids .ob-row-bg { background: #0ecb81; } .ob-mid-price { padding: 15px; text-align: left; background: rgba(0,0,0,0.3); border-top: 1px solid var(--term-border); border-bottom: 1px solid var(--term-border); } .ob-mid-price .val { font-size: 20px; font-weight: 700; display: block; } /* Order Panel Records */ .order-history table { border-collapse: separate; border-spacing: 0; } .order-history th { font-weight: 600; text-transform: uppercase; font-size: 10px; letter-spacing: 0.5px; color: var(--term-muted); padding: 10px; } .order-history td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.03); } .order-history tr:hover td { background: rgba(255,255,255,0.02); } .terminal-tab { padding: 0 24px; height: 100%; display: flex; align-items: center; color: var(--term-muted); text-decoration: none !important; font-weight: 600; font-size: 14px; border-right: 1px solid var(--term-border); transition: all 0.2s; } .terminal-tab:hover { color: var(--term-text); background: rgba(255,255,255,0.05); } .terminal-tab.active { background: var(--term-bg); color: var(--term-primary); border-bottom: 2px solid var(--term-primary); } .terminal-main { display: flex; flex: 1; overflow: hidden; } .terminal-sidebar { width: var(--sidebar-width); border-right: 1px solid var(--term-border); display: flex; flex-direction: column; background: var(--term-surface); } .sidebar-search { padding: 12px; border-bottom: 1px solid var(--term-border); height: 60px; display: flex; align-items: center; } .sidebar-search input { background: #2b3139; border: 1px solid var(--term-border); color: #fff; width: 100%; padding: 6px 12px; border-radius: 4px; font-size: 13px; outline: none; } .coin-list-container { flex: 1; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; } .coin-list-container::-webkit-scrollbar { display: none; } .coin-row { padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.02); transition: background 0.2s; } .coin-row:hover { background: rgba(255,255,255,0.05); } .coin-row img { width: 20px; height: 20px; margin-right: 10px; } .coin-row .symbol { font-weight: 600; font-size: 13px; } .coin-row .change { font-size: 11px; margin-left: 5px; } .coin-row .price { font-size: 13px; font-weight: 500; } .terminal-content { flex: 1; display: flex; flex-direction: column; border-right: 1px solid var(--term-border); } .content-header { height: 60px; border-bottom: 1px solid var(--term-border); display: flex; align-items: center; padding: 0 20px; gap: 30px; } .kline-container { flex: 1; min-height: 400px; background: #000; } .trading-panels { padding: 20px; background: var(--term-surface); } .order-history { flex: 1; overflow-y: auto; scrollbar-width: none; } .order-history::-webkit-scrollbar { display: none; } /* Binary Order Panel Improvements */ .cycle-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: transparent; border: none; padding: 0; margin-bottom: 20px; } .cycle-btn { background: #1e2329; border: 1px solid var(--term-border); color: var(--term-muted); padding: 10px 4px; font-size: 11px; font-weight: 700; border-radius: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; } .cycle-btn:hover { background: #2b3139; border-color: var(--term-primary); color: #fff; transform: translateY(-2px); } .cycle-btn.active { background: linear-gradient(135deg, var(--term-primary), #004ecc); border-color: var(--term-primary); color: #fff; box-shadow: 0 4px 15px rgba(0, 98, 255, 0.3); } .cycle-btn .cycle-time { font-size: 13px; } .cycle-btn .cycle-profit { font-size: 10px; opacity: 0.8; } .amount-input-wrapper input { height: 44px; font-size: 16px; font-weight: 700; text-align: center; border-radius: 8px; background: #0b0e11 !important; border: 1px solid var(--term-border) !important; color: #fff !important; } .amount-input-wrapper input:focus { border-color: var(--term-primary) !important; box-shadow: 0 0 0 1px var(--term-primary) !important; } .binary-order-panel .btn-buy-sell { height: 60px; /* Reduced height as requested */ border-radius: 12px; transition: all 0.2s; border: none; position: relative; overflow: hidden; } .binary-order-panel .btn-buy-sell:active { transform: scale(0.98); } .btn-success.btn-buy-sell { background: linear-gradient(135deg, #26a69a, #1b8076); box-shadow: 0 4px 12px rgba(38, 166, 154, 0.2); } .btn-danger.btn-buy-sell { background: linear-gradient(135deg, #ef5350, #c62828); box-shadow: 0 4px 12px rgba(239, 83, 80, 0.2); } /* Ensure history is visible */ .terminal-content { display: flex; flex-direction: column; height: 100%; } .kline-container { flex: 1; min-height: 300px; /* Allow it to shrink slightly to show more history */ } .order-history { height: 300px; /* Fixed height for scrollable area */ border-top: 1px solid var(--term-border); background: var(--term-surface); } .trading-panels { padding: 15px 20px; border-bottom: 1px solid var(--term-border); } /* Enhanced Balance and Profit visibility */ .balance-highlight { color: #0062ff !important; text-shadow: 0 0 10px rgba(0, 98, 255, 0.3); } .profit-highlight { color: #26a69a !important; font-size: 1.1rem; text-shadow: 0 0 10px rgba(38, 166, 154, 0.3); } /* Order Countdown Popup */ .order-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); z-index: 9999; display: none; align-items: center; justify-content: center; } .order-popup { background: #1e2329; width: 360px; border-radius: 20px; padding: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); text-align: center; border: 1px solid rgba(255,255,255,0.05); } .order-popup h5 { color: #848e9c; font-size: 16px; margin-bottom: 30px; } .countdown-circle { position: relative; width: 160px; height: 160px; margin: 0 auto 30px; } .countdown-circle svg { width: 160px; height: 160px; transform: rotate(-90deg); } .countdown-circle circle { fill: none; stroke-width: 8; } .countdown-circle .bg { stroke: #2b3139; } .countdown-circle .progress { stroke: #26a69a; stroke-linecap: round; transition: stroke-dashoffset 1s linear; } .countdown-circle .time-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 36px; font-weight: 700; color: #fff; } .popup-details { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 15px; margin-bottom: 20px; } .popup-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; } .popup-row .label { color: #848e9c; } .popup-row .value { color: #eaecef; font-weight: 600; } .popup-footer { font-size: 11px; color: #5e6673; } .terminal-main { height: calc(100vh - var(--header-height)); }