*{margin:0;padding:0;box-sizing:border-box}:root{color-bg-base:#0A0F1C;color-bg-container:#0F172A;color-bg-elevated:#1E293B;color-border:#334155;color-primary:#22D3EE;color-text:#FFFFFF;color-text-secondary:#94A3B8;color-text-tertiary:#64748B}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0a0f1c;color:#fff;min-height:100vh}#root{min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#0f172a}::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#475569}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600}.ant-layout{background:#0a0f1c!important}.ant-layout-sider{background:#0f172a!important}.ant-menu{background:transparent!important;border-inline-end:none!important}.ant-menu-item{color:#94a3b8!important}.ant-menu-item-selected{background-color:#1e293b!important;color:#22d3ee!important}.ant-menu-item:hover{background-color:#1e293b!important}div.ant-modal-mask{background:#000000b3!important}div.ant-modal-wrap{box-shadow:none!important}div.ant-modal{box-shadow:0 8px 32px #00000080!important}div.ant-modal-content{background:#1e293b!important;border:1px solid #334155!important;box-shadow:none!important;outline:none!important}div.ant-modal-header{background:#1e293b!important;border-bottom:1px solid #334155!important;outline:none!important}button.ant-modal-close{color:#94a3b8!important}button.ant-modal-close:hover{color:#fff!important}div.ant-modal-body{background:#1e293b!important;color:#fff!important}div.ant-modal-footer{background:#1e293b!important;border-top:1px solid #334155!important}body div.ant-modal-wrap{box-shadow:none!important;outline:none!important}body div.ant-modal{box-shadow:0 8px 32px #00000080!important;outline:none!important}body .ant-modal-confirm .ant-modal-content{background:#1e293b!important;border:1px solid #334155!important;box-shadow:none!important;outline:none!important}body .ant-modal-confirm .ant-modal-header{background:#1e293b!important;border-bottom:1px solid #334155!important;outline:none!important}body .ant-modal-confirm .ant-modal-body{background:#1e293b!important}body .ant-modal-confirm .ant-modal-confirm-title{color:#fff!important}body .ant-modal-confirm .ant-modal-confirm-content{color:#94a3b8!important}body .ant-modal-confirm .ant-modal-footer{background:#1e293b!important;border-top:1px solid #334155!important}.ant-popover-inner{background:#1e293b!important;border:1px solid #334155!important}.ant-popover-inner-content{background:#1e293b!important}.ant-popconfirm-message-title{color:#fff!important}.ant-popconfirm-buttons{background:#1e293b!important}.card{background:#1e293b;border:1px solid #334155;border-radius:8px;padding:20px}.text-primary{color:#22d3ee}.text-success{color:#10b981}.text-danger{color:#ef4444}.text-warning{color:#f59e0b}.text-secondary{color:#94a3b8}.text-tertiary{color:#64748b}.login-page{display:flex;min-height:100vh;width:100%;background-color:#0a0f1c}.brand-panel{width:50%;min-width:480px;background-color:#0f172a;display:flex;flex-direction:column;justify-content:center;padding:100px 80px;border-right:1px solid #334155}.brand-content{display:flex;flex-direction:column;gap:40px}.logo-row{display:flex;align-items:center;gap:12px}.logo-text-icon{color:#0a0f1c;font-weight:700;font-size:14px;font-family:JetBrains Mono,monospace}.logo-text{color:#fff;font-size:20px;font-weight:700;font-family:JetBrains Mono,monospace}.hero-text{display:flex;flex-direction:column;gap:24px}.hero-title{color:#fff;font-size:48px;font-weight:700;line-height:1.2;font-family:Geist,sans-serif}.hero-description{color:#94a3b8;font-size:18px;line-height:1.6;max-width:480px}.features{display:flex;flex-direction:column;gap:20px}.feature-item{display:flex;align-items:flex-start;gap:16px}.feature-icon{font-size:24px;line-height:1}.feature-content h3{color:#fff;font-size:16px;font-weight:600;margin-bottom:4px}.feature-content p{color:#64748b;font-size:14px;line-height:1.5}.brand-footer{display:flex;flex-direction:column;gap:8px;margin-top:64px}.copyright,.terms{color:#64748b;font-size:14px;font-family:Geist,sans-serif}.terms{color:#94a3b8}.login-panel{flex:1;display:flex;align-items:center;justify-content:center;padding:80px 120px;background-color:#0a0f1c}.login-card{width:440px;background-color:#0f172a;border:1px solid #334155;border-radius:16px;padding:40px;display:flex;flex-direction:column;gap:32px}.card-header{display:flex;flex-direction:column;gap:8px;text-align:center}.card-header h2{color:#fff;font-size:28px;font-weight:600}.card-header p{color:#94a3b8;font-size:14px}.form-options{display:flex;justify-content:space-between;align-items:center}.forgot-link{color:#22d3ee;text-decoration:none;font-size:14px}.forgot-link:hover{text-decoration:underline}.signup-row{display:flex;justify-content:center;align-items:center;gap:6px}.signup-text{color:#94a3b8;font-size:14px}.signup-link{color:#22d3ee;text-decoration:none;font-size:14px;font-weight:500}.signup-link:hover{text-decoration:underline}@media(max-width:1024px){.brand-panel{display:none}.login-panel{padding:40px}}@media(max-width:640px){.login-card{width:100%}}.sidebar-account{padding:16px 12px;border-top:1px solid #334155;display:flex;flex-direction:column;gap:12px}.account-info{display:flex;align-items:center;gap:12px}.account-avatar{width:40px;height:40px;background-color:#1e293b;flex-shrink:0}.account-details{flex:1;display:flex;flex-direction:column;gap:2px}.account-name{color:#fff;font-size:14px;font-weight:500}.account-email{color:#94a3b8;font-size:12px}.account-more{color:#64748b;cursor:pointer;font-size:18px;transition:color .2s}.account-more:hover{color:#94a3b8}.logout-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;background-color:transparent;border:1px solid #334155;border-radius:8px;color:#ef4444;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.logout-btn:hover{background-color:#ef44441a;border-color:#ef4444}.dashboard-layout{min-height:100vh;background-color:#0a0f1c}.dashboard-sider{background-color:#0f172a!important;border-right:1px solid #334155}.sidebar{height:100vh;display:flex;flex-direction:column;background-color:#0f172a}.sidebar-header{height:88px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid #334155}.logo-section{display:flex;align-items:center;gap:12px}.logo-icon{width:36px;height:36px;background-color:#22d3ee;border-radius:8px;display:flex;align-items:center;justify-content:center}.logo-icon span{color:#0a0f1c;font-weight:700;font-size:14px;font-family:JetBrains Mono,monospace}.logo-text{color:#fff;font-size:16px;font-weight:700;font-family:JetBrains Mono,monospace}.sidebar-menu{flex:1;padding:16px 12px;border-right:none}.sidebar-menu .ant-menu-item{height:48px;line-height:48px;padding:0 16px!important;margin-bottom:4px;border-radius:8px;color:#94a3b8!important}.sidebar-menu .ant-menu-item-selected{background-color:#1e293b!important;color:#22d3ee!important}.sidebar-menu .ant-menu-item:hover{background-color:#1e293b!important}.dashboard-content{display:flex;flex-direction:column;background-color:#0a0f1c}.status-bar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background-color:#0f172a;border-bottom:1px solid #334155}.status-left{display:flex;align-items:center;gap:24px}.stat-label{color:#94a3b8;font-size:13px}.currency-symbol{color:#22d3ee}.pnl-badge{display:flex;align-items:center;gap:6px;padding:8px 12px;background-color:#10b9811a;border-radius:8px}.pnl-badge .anticon{color:#10b981}.pnl-value{color:#10b981;font-weight:600;font-size:14px}.pnl-label{color:#94a3b8;font-size:12px}.status-center{display:flex;align-items:center;gap:24px}.status-right{display:flex;flex-direction:row;align-items:center;gap:16px}.risk-gauge-card,.positions-card,.system-pulse-card,.trading-switch-card,.paper-trading-switch-card{background-color:transparent!important;border:none!important}.risk-gauge{display:flex;align-items:center;gap:16px}.risk-info{display:flex;flex-direction:column;gap:4px}.risk-label{color:#94a3b8;font-size:12px}.risk-value{font-size:16px;font-weight:600}.system-pulse{display:flex;flex-direction:column;gap:4px}.pulse-indicator{display:flex;align-items:center;gap:8px}.pulse-dot{width:8px;height:8px;background-color:#10b981;border-radius:50%;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.pulse-text{color:#10b981;font-size:14px;font-weight:500}.pulse-time{color:#64748b;font-size:11px}.trading-switch-card{padding:12px 20px!important;border-radius:8px!important;cursor:pointer;transition:all .2s ease}.trading-switch-card:hover,.paper-trading-switch-card:hover{opacity:.9}.paper-trading-switch-card{padding:12px 20px!important;border-radius:8px!important;cursor:pointer;transition:all .2s ease}.system-pulse-card{padding:12px 16px!important;border-radius:8px!important}.main-content{flex:1;display:flex;flex-direction:column;gap:16px;padding:24px;overflow-y:auto}.chart-section,.chart-header{display:flex;flex-direction:column;gap:12px}.chart-title-row{display:flex;justify-content:space-between;align-items:center}.chart-title{color:#fff;font-size:24px;font-weight:600;margin:0}.timeframe-select{min-width:80px}.timeframe-select .ant-select-selector{background-color:#1e293b!important;border-color:#334155!important;color:#fff!important}.chart-info{display:flex;justify-content:space-between;align-items:center}.chart-price{display:flex;align-items:center;gap:12px}.price-label{color:#94a3b8;font-size:13px}.price-value{color:#fff;font-size:28px;font-weight:700;font-family:JetBrains Mono,monospace}.price-change{padding:4px 12px;border-radius:6px;font-size:14px;font-weight:600;font-family:JetBrains Mono,monospace}.price-change.positive{background-color:#10b98126;color:#10b981}.price-change.negative{background-color:#ef444426;color:#ef4444}.chart-stats{display:flex;gap:24px}.chart-stats .stat-item{display:flex;flex-direction:column;gap:4px}.chart-stats .stat-label{color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.chart-stats .stat-value{color:#fff;font-size:14px;font-weight:600;font-family:JetBrains Mono,monospace}.chart-legend{display:flex;gap:24px;padding:0 4px}.legend-item{display:flex;align-items:center;gap:8px}.legend-marker{width:12px;height:12px;border-radius:2px}.legend-marker.buy{background-color:#10b981}.legend-marker.sell{background-color:#ef4444}.legend-text{color:#94a3b8;font-size:12px}.kline-chart-card{background-color:#0a0f1c!important;border:1px solid #334155!important;border-radius:12px;overflow:hidden}.chart-container{width:100%;height:500px}.bottom-section{display:grid;grid-template-columns:1fr 1fr;gap:16px}.context-panel{background-color:#0a0f1c;min-height:200px}.context-panel .ant-card-head{border-bottom:1px solid #334155}.context-panel .ant-card-head-title{color:#fff;font-weight:600}.context-stream{display:flex;flex-direction:column;gap:12px}.context-item{display:flex;align-items:flex-start;gap:12px;padding:12px;background-color:#1e293b;border-radius:8px}.context-details{display:flex;flex-direction:column;gap:4px}.context-title{color:#fff;font-size:14px;font-weight:500}.context-desc{color:#64748b;font-size:12px}.audit-log-section{display:flex;flex-direction:column;gap:12px}.audit-header{display:flex;justify-content:space-between;align-items:center}.audit-header h3{color:#fff;font-size:16px;font-weight:600;margin:0}.view-all-link{color:#22d3ee;text-decoration:none;font-size:13px}.audit-log-card{background-color:#0a0f1c;border:1px solid #334155;border-radius:8px;max-height:140px;overflow-y:auto}.audit-log-item{display:grid;grid-template-columns:70px 100px 80px 1fr;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #1E293B}.audit-log-item:last-child{border-bottom:none}.log-time{color:#64748b;font-size:12px;font-family:JetBrains Mono,monospace}.log-user{color:#94a3b8;font-size:12px}.log-details{color:#fff;font-size:12px}@media(max-width:1200px){.bottom-section{grid-template-columns:1fr}}@media(max-width:768px){.main-content{padding:16px}.chart-info{flex-direction:column;align-items:flex-start;gap:12px}.chart-stats{flex-wrap:wrap;gap:16px}}.indicators-layout{min-height:100vh;background-color:#0a0f1c}.indicators-sider{background-color:#0f172a!important;border-right:1px solid #334155}.indicators-content{background-color:#0a0f1c}.indicators-page{padding:32px;display:flex;flex-direction:column;gap:24px}.stat-card{background-color:#1e293b!important;border:1px solid #334155!important;border-radius:8px}.filter-label{color:#94a3b8;font-size:13px}.filter-row .ant-btn-primary{background-color:#22d3ee;border-color:#22d3ee;color:#0a0f1c}.filter-row .ant-btn-primary:hover,.filter-row .ant-btn-primary:focus{background-color:#1cbbd8;border-color:#1cbbd8}.filter-row .ant-btn-default{background-color:#1e293b;border-color:#334155;color:#94a3b8}.filter-row .ant-btn-default:hover,.filter-row .ant-btn-default:focus{background-color:#223044;border-color:#22d3ee;color:#22d3ee}.indicators-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.indicator-card{background-color:#1e293b!important;border:1px solid #334155!important;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px;transition:all .3s ease}.indicator-card:hover{border-color:#22d3ee!important;box-shadow:0 4px 20px #22d3ee1a}.indicator-header{display:flex;justify-content:space-between;align-items:flex-start}.indicator-title{display:flex;flex-direction:column;gap:8px}.indicator-title h3{color:#fff;font-size:18px;font-weight:600;margin:0}.indicator-tags{display:flex;gap:8px;flex-wrap:wrap}.indicator-description{color:#94a3b8;font-size:14px;line-height:1.5;margin:0}.indicator-params{display:flex;flex-direction:column;gap:8px;padding:12px;background-color:#0a0f1c;border-radius:8px}.params-label{color:#64748b;font-size:12px;font-weight:500}.params-list{display:flex;flex-wrap:wrap;gap:8px}.param-item{color:#22d3ee;font-size:12px;font-family:JetBrains Mono,monospace;background-color:#22d3ee1a;padding:4px 8px;border-radius:4px}.indicator-performance{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid #334155;border-bottom:1px solid #334155}.perf-item{display:flex;flex-direction:column;gap:4px;text-align:center}.perf-label{color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.perf-value{color:#fff;font-size:16px;font-weight:600;font-family:JetBrains Mono,monospace}.perf-value.positive{color:#10b981}.perf-value.negative{color:#ef4444}.indicator-actions{display:flex;gap:8px}.indicator-actions .ant-btn{flex:1;background-color:transparent;border-color:#334155;color:#94a3b8}.indicator-actions .ant-btn:hover{border-color:#22d3ee;color:#22d3ee}.empty-state{grid-column:1 / -1;background-color:#1e293b!important;border:1px solid #334155!important;border-radius:12px;padding:60px}.empty-state .ant-empty-description{color:#94a3b8}@media(max-width:768px){.indicators-page{padding:16px}.page-header{flex-direction:column;gap:16px}.filter-row{flex-direction:column;align-items:flex-start}.indicators-grid{grid-template-columns:1fr}}.strategies-layout{min-height:100vh}.strategies-sider{background:#0f172a;overflow:auto}.strategies-content{background:#1e293b}.strategies-page{padding:24px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.header-left h1{color:#fff;font-size:28px;font-weight:700;margin:0 0 8px}.stats-row{margin-bottom:24px}.stat-card{background:linear-gradient(135deg,#1e293b,#334155);border:1px solid #475569;border-radius:12px}.stat-label{color:#94a3b8;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.filter-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.strategies-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.strategy-card{background:#1e293b;border:1px solid #334155;border-radius:12px;transition:all .3s ease}.strategy-card:hover{border-color:#3b82f6;box-shadow:0 8px 24px #3b82f626}.strategy-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.strategy-name{color:#fff;font-size:18px;font-weight:600;margin:0}.strategy-description{color:#94a3b8;font-size:14px;margin-bottom:16px;min-height:40px}.strategy-timeframes{display:flex;gap:8px;flex-wrap:wrap}.active-strategies-list{display:flex;flex-direction:column;gap:16px}.active-strategy-card{background:#1e293b;border:1px solid #334155;border-radius:12px}.strategy-info h3{color:#fff;font-size:16px;font-weight:600;margin:0 0 8px}.empty-state{background:transparent;text-align:center;padding:60px 20px}.ant-statistic-title{color:#94a3b8!important}.ant-statistic-content{color:#fff!important}.dark-modal-wrapper{box-shadow:none!important;background:transparent!important;outline:none!important}.dark-modal-wrapper .ant-modal-wrap{background:transparent!important;outline:none!important}.dark-modal-wrapper .ant-modal{background:transparent!important;box-shadow:0 8px 32px #00000080!important;outline:none!important}.dark-modal-wrapper .ant-modal-content{background:#1e293b!important;border:1px solid #334155!important;box-shadow:none!important;outline:none!important}.dark-modal-wrapper .ant-modal-confirm .ant-modal-content{background:#1e293b!important}.dark-modal-wrapper .ant-modal-header{background:#1e293b!important;border-bottom:1px solid #334155!important;outline:none!important}.dark-modal-wrapper .ant-modal-title{color:#fff!important}.dark-modal-wrapper .ant-modal-close{color:#94a3b8!important}.dark-modal-wrapper .ant-modal-close:hover{color:#fff!important}.dark-modal-wrapper .ant-modal-body{background:#1e293b!important;color:#fff!important}.dark-modal-wrapper .ant-modal-confirm-title{color:#fff!important}.dark-modal-wrapper .ant-modal-confirm-content{color:#94a3b8!important}.dark-modal-wrapper .ant-modal-confirm-body,.dark-modal-wrapper .ant-modal-confirm-body-wrapper{background:#1e293b!important}.dark-modal-wrapper .ant-modal-footer{background:#1e293b!important;border-top:1px solid #334155!important}.ant-tabs-tab{color:#94a3b8!important}.ant-tabs-tab-active .ant-tabs-tab-btn{color:#3b82f6!important}.ant-tabs-ink-bar{background:#3b82f6!important}.ant-modal-mask{background:#000000b3!important}.ant-modal-wrap,.ant-modal{box-shadow:0 8px 32px #00000080!important}.ant-modal-content{background:#1e293b!important;border:1px solid #334155!important;box-shadow:none!important}.ant-modal-header{background:#1e293b!important;border-bottom:1px solid #334155!important}.ant-modal-title{color:#fff!important}.ant-modal-close-x{color:#94a3b8!important}.ant-modal-close-x:hover{color:#fff!important}.ant-modal-body{background:#1e293b!important;color:#fff!important}.ant-modal-confirm-title{color:#fff!important}.ant-modal-confirm-content{color:#94a3b8!important}.ant-modal-footer{background:#1e293b!important;border-top:1px solid #334155!important}.ant-popover-inner{background:#1e293b!important}.ant-popover-arrow:before,.ant-popover-arrow:after{background:#1e293b!important;border:1px solid #334155!important}.ant-popconfirm-message{color:#fff!important}.ant-popconfirm-description{color:#94a3b8!important}.ant-btn-primary{background:#22d3ee!important;border-color:#22d3ee!important;color:#0a0f1c!important}.ant-btn-primary:hover{background:#06b6d4!important;border-color:#06b6d4!important}.ant-btn-dangerous{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}.ant-btn-dangerous:hover{background:#dc2626!important;border-color:#dc2626!important}.ant-form-item-label>label{color:#94a3b8!important}.ant-input,.ant-input-number,.ant-select-selector{background:#0f172a!important;border-color:#334155!important;color:#fff!important}.ant-input:hover,.ant-input-number:hover,.ant-select-selector:hover{border-color:#3b82f6!important}.ant-input:focus,.ant-input-number:focus,.ant-select-focused .ant-select-selector{border-color:#3b82f6!important;box-shadow:0 0 0 2px #3b82f633!important}.ant-select-dropdown{background:#1e293b!important;border:1px solid #334155}.ant-select-item{color:#94a3b8!important}.ant-select-item-option-selected{background:#3b82f6!important;color:#fff!important}.ant-descriptions-item-label{color:#94a3b8!important}.ant-descriptions-item-content{color:#fff!important}.trade-history-layout{min-height:100vh;background-color:#0a0f1c}.trade-history-sider{background-color:#0f172a!important;border-right:1px solid #334155}.trade-history-content{background-color:#0a0f1c}.trade-history-page{padding:32px;display:flex;flex-direction:column;gap:24px}.header-left{display:flex;flex-direction:column;gap:8px}.page-description{color:#94a3b8;font-size:14px;margin:0}.header-right{display:flex;gap:12px}.stats-row{margin-bottom:0}.stat-card{background-color:#0f172a!important;border:1px solid #334155!important;border-radius:12px}.stat-card .ant-statistic-title{color:#94a3b8;font-size:13px;margin-bottom:8px}.stat-card .ant-statistic-content{font-size:24px;font-weight:600}.filter-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.table-card{background-color:#0f172a!important;border:1px solid #334155!important;border-radius:12px;overflow:hidden}.table-card .ant-card-body{padding:0}.trades-table,.trades-table .ant-table{background-color:#0f172a}.trades-table .ant-table-thead>tr>th{background-color:#1e293b!important;border-bottom:1px solid #334155!important;color:#fff!important;font-weight:600;padding:14px 20px!important}.trades-table .ant-table-tbody>tr>td{background-color:#0f172a!important;border-bottom:1px solid #1E293B!important;color:#fff!important;padding:14px 20px!important}.trades-table .ant-table-tbody>tr:hover>td{background-color:#1e293b!important}.font-mono{font-family:JetBrains Mono,SF Mono,Consolas,monospace}.symbol-cell{color:#22d3ee;font-weight:600}.direction-cell .ant-tag{margin:0;font-weight:600}.pnl-cell{font-weight:600}.pnl-cell.positive{color:#10b981}.pnl-cell.negative{color:#ef4444}.timestamp-cell{color:#64748b;font-size:13px}.text-success{color:#10b981!important}.text-danger{color:#ef4444!important}.text-tertiary{color:#64748b!important}.trades-table .ant-pagination{color:#fff}.trades-table .ant-pagination-item{background-color:#1e293b;border-color:#334155}.trades-table .ant-pagination-item a{color:#fff}.trades-table .ant-pagination-item-active{background-color:#22d3ee;border-color:#22d3ee}.trades-table .ant-pagination-item-active a{color:#0a0f1c}.trades-table .ant-pagination-prev,.trades-table .ant-pagination-next{background-color:#1e293b;border-color:#334155}.trades-table .ant-pagination-prev .ant-pagination-item-link,.trades-table .ant-pagination-next .ant-pagination-item-link{color:#fff;background-color:transparent;border:none}.trades-table .ant-pagination-disabled{opacity:.5}.trades-table .ant-select-selector{background-color:#1e293b!important;border-color:#334155!important;color:#fff!important}.trades-table .ant-select-arrow{color:#94a3b8}@media(max-width:1200px){.trades-table .ant-table{font-size:12px}.trades-table .ant-table-thead>tr>th,.trades-table .ant-table-tbody>tr>td{padding:10px 12px!important}}@media(max-width:768px){.trade-history-page{padding:16px}.page-header{flex-direction:column;gap:16px}.filter-row{flex-direction:column;align-items:flex-start}.filter-row .ant-space{width:100%}.filter-row .ant-space-item{flex:1}}.settings-layout{min-height:100vh;background-color:#0a0f1c}.settings-sider{background-color:#0f172a!important;border-right:1px solid #334155}.settings-content{background-color:#0a0f1c}.settings-page{padding:32px;display:flex;flex-direction:column;gap:24px}.page-header{display:flex;justify-content:space-between;align-items:flex-start}.header-left{display:flex;flex-direction:column;gap:4px}.page-title{color:#fff;font-size:28px;font-weight:600;margin:0}.page-subtitle{color:#94a3b8;font-size:14px}.content-area{display:flex;gap:24px}.tabs-column{width:240px;display:flex;flex-direction:column;gap:4px}.settings-tab{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;background-color:transparent;color:#94a3b8;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.settings-tab:hover,.settings-tab.active{background-color:#1e293b;color:#fff}.settings-tab.active .anticon{color:#22d3ee}.cards-column{flex:1;max-width:680px;display:flex;flex-direction:column;gap:24px}.api-card,.security-card{background-color:#0f172a!important;border:1px solid #334155!important;border-radius:12px}.api-card .ant-card-body,.security-card .ant-card-body{padding:24px}.card-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid #334155;margin-bottom:24px}.header-left{display:flex;align-items:center;gap:16px}.binance-logo,.security-icon{width:40px;height:40px;background-color:#f0b90b;border-radius:8px;display:flex;align-items:center;justify-content:center}.security-icon{background-color:#1e293b}.binance-logo span{color:#fff;font-size:20px;font-weight:700}.security-icon .anticon{color:#fff;font-size:20px}.title-group{display:flex;flex-direction:column;gap:4px}.card-title{color:#fff;font-size:18px;font-weight:600;margin:0}.badge-connected .ant-badge-status-dot{background-color:#22c55e;box-shadow:0 0 8px #22c55e99;animation:pulse-green 2s ease-in-out infinite}@keyframes pulse-green{0%,to{box-shadow:0 0 8px #22c55e99}50%{box-shadow:0 0 16px #22c55ee6}}.badge-connected .ant-badge-status-text,.badge-enabled .ant-badge-status-text{color:#22c55e;font-weight:500}.badge-enabled .ant-badge-status-dot{background-color:#22c55e}.badge-disconnected .ant-badge-status-dot,.badge-disabled .ant-badge-status-dot{background-color:#64748b}.badge-disconnected .ant-badge-status-text,.badge-disabled .ant-badge-status-text{color:#64748b;font-weight:500}.card-body{display:flex;flex-direction:column;gap:20px}.form-field{display:flex;flex-direction:column;gap:8px}.form-field label{color:#e2e8f0;font-size:14px;font-weight:500}.settings-input{background-color:#1e293b!important;border:1px solid #334155!important;color:#fff!important;padding:10px 14px!important;border-radius:8px!important;transition:all .2s ease}.settings-input:hover{border-color:#475569!important}.settings-input:focus,.settings-input.ant-input-focused{border-color:#22d3ee!important;box-shadow:0 0 0 2px #22d3ee1a!important}.settings-input input{background-color:transparent!important;color:#fff!important}.settings-input.ant-input-disabled{background-color:#1e293b!important;color:#94a3b8!important;cursor:not-allowed}.permissions-row{display:flex;gap:16px;flex-wrap:wrap}.permissions-row .ant-checkbox-wrapper{color:#fff}.permissions-row .ant-checkbox-disabled+span{color:#64748b}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:24px;border-top:1px solid #334155}.card-footer .button-actions,.card-footer .button-actions-left{display:flex;gap:12px}.card-footer .button-actions{margin-left:auto}.test-btn,.edit-btn{background-color:transparent;border:1px solid #334155;color:#fff}.test-btn:hover,.edit-btn:hover{border-color:#22d3ee;color:#22d3ee}.apply-btn{background-color:#22d3ee!important;border-color:#22d3ee!important;color:#0a0f1c!important}.apply-btn:hover{background-color:#1cbbd8!important;border-color:#1cbbd8!important}.setup-guide{background-color:#1e293b;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px}.setup-guide h5{color:#fff;font-size:16px;font-weight:600;margin:0}.steps-container{display:flex;flex-direction:column;gap:16px}.step-item{display:flex;gap:12px}.step-number{width:24px;height:24px;background-color:#22d3ee;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#0a0f1c;font-size:12px;font-weight:700;flex-shrink:0}.step-content{display:flex;flex-direction:column;gap:2px}.step-content .ant-typography{margin:0}.enable-2fa-btn{width:100%;height:48px;background-color:#22d3ee!important;border-color:#22d3ee!important;color:#0a0f1c!important;font-size:14px;font-weight:600}.warning-box{background-color:#ef44441a!important;border:1px solid #EF4444!important}.warning-box .ant-alert-icon{color:#ef4444}.warning-box .ant-alert-message{color:#fff}.warning-box .ant-alert-description{color:#94a3b8}.success-box{background-color:#10b9811a!important;border:1px solid #10B981!important}.success-box .ant-alert-icon{color:#10b981}.success-box .ant-alert-message{color:#fff}.success-box .ant-alert-description{color:#94a3b8}.api-form-group{background-color:#162032;border:1px solid #334155;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px}.api-form-group-label{color:#94a3b8;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.input-action-btn{color:#94a3b8;transition:color .2s}.input-action-btn:hover{color:#22d3ee}.button-actions{display:flex;justify-content:flex-end;gap:12px;width:100%}.button-actions-left{display:flex;justify-content:flex-start;gap:12px;width:100%}@media(max-width:768px){.settings-page{padding:16px}.content-area{flex-direction:column}.tabs-column{width:100%;flex-direction:row}.settings-tab{flex:1;justify-content:center}.cards-column{max-width:100%}.card-footer{flex-direction:column;gap:12px;align-items:stretch}.card-footer .button-actions,.card-footer .button-actions-left{justify-content:stretch}.card-footer .button-actions .ant-btn,.card-footer .button-actions-left .ant-btn{flex:1}}.stat-card{background:#0f172a!important;border:1px solid #334155!important;border-radius:12px!important;padding:16px 20px!important;height:100%;transition:all .2s ease}.stat-card:hover{border-color:#475569!important;box-shadow:0 4px 12px #0003!important}.stat-card .ant-card-body{padding:0}.stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.stat-label{color:#64748b;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.stat-icon{color:#94a3b8;font-size:14px}.stat-icon-green{color:#10b981}.stat-icon-cyan{color:#22d3ee}.stat-icon-orange{color:#f59e0b}.stat-value{color:#fff;font-size:28px;font-weight:700;font-family:JetBrains Mono,monospace;line-height:1;margin-bottom:8px}.stat-value-green{color:#10b981}.stat-value-cyan{color:#22d3ee}.stat-value-orange{color:#f59e0b}.stat-trend{display:flex;align-items:center;gap:4px;font-size:12px;color:#94a3b8}.stat-trend.positive{color:#10b981}.stat-trend.neutral{color:#64748b}.stat-trend.negative{color:#ef4444}.backtest-table .ant-table{background:transparent;color:#e2e8f0}.backtest-table .ant-table-thead>tr>th{background:#1e293b;border-bottom:1px solid #334155;color:#64748b;font-family:JetBrains Mono,monospace;font-size:11px;font-weight:600;letter-spacing:1px;padding:14px 20px}.backtest-table .ant-table-thead>tr>th:last-child{padding-right:16px}.backtest-table .ant-table-tbody>tr>td{border-bottom:1px solid #1E293B;padding:14px 20px}.backtest-table .ant-table-tbody>tr>td:last-child{padding-right:16px}.backtest-table .ant-table-tbody>tr:hover{background:#1e293b!important;cursor:pointer}.backtest-table .ant-table-tbody>tr.backtest-row-selected{background:#22d3ee1a!important}.backtest-name-cell{display:flex;flex-direction:column;gap:4px}.name-main{color:#e2e8f0;font-size:14px;font-weight:600;line-height:1.4}.name-sub{display:flex;align-items:center;gap:6px;color:#64748b;font-size:11px}.pair-badge{background:#22d3ee1a;color:#22d3ee;padding:2px 6px;border-radius:4px;font-weight:500}.separator{color:#334155}.action-icon-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#64748b;transition:all .2s ease}.action-icon-btn.view-btn:hover{background:#22d3ee1a;color:#22d3ee}.action-icon-btn.delete-btn{color:#64748b}.action-icon-btn.delete-btn:hover{background:#ef44441a;color:#ef4444}.backtest-table .ant-table-tbody>tr>td{font-family:JetBrains Mono,monospace}.backtest-table .ant-table-tbody>tr>td:empty:after,.backtest-table .ant-table-tbody>tr>td span:empty:after{content:"-";color:#334155}.status-running{background:"rgba(245, 158, 11, 0.15)";color:#f59e0b;border:1px solid rgba(245,158,11,.3);padding:4px 8px;border-radius:4px;font-size:11px}.status-completed{background:"rgba(16, 185, 129, 0.15)";color:#10b981;border:1px solid rgba(16,185,129,.3);padding:4px 8px;border-radius:4px;font-size:11px}.status-failed{background:"rgba(239, 68, 68, 0.15)";color:#ef4444;border:1px solid rgba(239,68,68,.3);padding:4px 8px;border-radius:4px;font-size:11px}.trade-list-body{max-height:280px;overflow-y:auto}.trade-list-body::-webkit-scrollbar-thumb{background:#334155;border-radius:3px}.trade-list-body::-webkit-scrollbar-thumb:hover{background:#475569}.trade-row-synced{background:#22d3ee1a!important;transition:background .2s ease}.trade-row-synced td{animation:pulse 1s ease}@keyframes pulse{0%,to{background:transparent}50%{background:#22d3ee1a}}.detail-stat-card{background:#0f172a!important;border:1px solid #334155!important;border-radius:12px!important;padding:14px 18px!important;height:100%;transition:all .2s ease}.detail-stat-card:hover{border-color:#475569!important}.detail-stat-card .ant-card-body{padding:0}.detail-stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.detail-stat-label{color:#64748b;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.detail-stat-icon{color:#64748b;font-size:12px}.detail-stat-value{color:#fff;font-size:24px;font-weight:700;font-family:JetBrains Mono,monospace;line-height:1;margin-bottom:6px}.detail-stat-trend{font-size:11px;color:#64748b}.detail-stat-trend.positive{color:#10b981}.detail-stat-trend.neutral{color:#64748b}.chart-card .ant-card-body{padding:0}.chart-controls{display:flex;justify-content:flex-end;align-items:center;padding:8px 16px;border-bottom:1px solid #334155;background:#0a0f1c}.interval-selector{display:flex;align-items:center;gap:4px}.interval-btn{background:#1e293b!important;border:1px solid #334155!important;color:#64748b!important;height:24px;padding:0 10px;font-size:11px;font-weight:500;border-radius:4px;min-width:36px;display:flex;align-items:center;justify-content:center}.interval-btn:hover{background:#334155!important;border-color:#475569!important;color:#94a3b8!important}.interval-btn-active{background:#22d3ee!important;border-color:#22d3ee!important;color:#0a0f1c!important}.chart-control-btn{background:#1e293b!important;border:1px solid #334155!important;color:#94a3b8!important;width:32px;height:28px;padding:0;display:flex;align-items:center;justify-content:center}.chart-control-btn:hover{background:#334155!important;border-color:#475569!important;color:#e2e8f0!important}.chart-container{height:440px;width:100%;min-height:440px;position:relative}.chart-container canvas{display:block!important}.trade-list-card .ant-card-body{padding:0}.trade-list-header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #334155}.trade-count-tag{background:#1e293b;color:#64748b;border:1px solid #334155;font-size:11px;padding:2px 10px;border-radius:12px}.trade-table-header{display:flex;background:#0a0f1c;padding:8px 20px;gap:12px;border-bottom:1px solid #1E293B}.trade-header-cell{color:#475569;font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;font-family:JetBrains Mono,monospace}.trade-list-body{max-height:320px;overflow-y:auto}.trade-list-body::-webkit-scrollbar{width:6px}.trade-list-body::-webkit-scrollbar-track{background:#0a0f1c}.trade-list-body::-webkit-scrollbar-thumb{background:#1e293b;border-radius:3px}.trade-list-body::-webkit-scrollbar-thumb:hover{background:#334155}.trade-row{display:flex;padding:8px 20px;gap:12px;border-bottom:1px solid #1E293B;cursor:pointer;transition:background .15s ease}.trade-row:hover{background:#0a0f1c}.trade-row-selected{background:#22d3ee1a!important}.trade-row-selected .trade-cell{color:#e2e8f0}.trade-cell{display:flex;align-items:center;font-size:12px;color:#94a3b8}.trade-time{width:130px;font-family:JetBrains Mono,monospace}.trade-side-badge{width:60px;justify-content:center;padding:3px 8px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase}.trade-price{width:100px;justify-content:flex-end;font-family:JetBrains Mono,monospace}.trade-size{width:80px;justify-content:flex-end}.trade-pnl{width:140px;justify-content:flex-end;font-family:JetBrains Mono,monospace;font-weight:600}.trade-signal{flex:1}.signal-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:500}.signal-icon{font-size:10px}.trade-empty-state{padding:48px 20px;text-align:center;color:#64748b}.trade-sync-hint{display:flex;justify-content:center;align-items:center;gap:8px;padding:10px 20px;background:#0a0f1c;border-top:1px solid #1E293B}.backtest-logs-content{margin:0;padding:16px 20px;background:#0a0f1c;color:#e2e8f0;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;min-height:calc(100vh - 120px)}.backtest-logs-content::-webkit-scrollbar{width:8px;height:8px}.backtest-logs-content::-webkit-scrollbar-track{background:#0a0f1c}.backtest-logs-content::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}.backtest-logs-content::-webkit-scrollbar-thumb:hover{background:#475569}.ant-drawer-content-wrapper .ant-drawer-header{background:#0f172a!important;border-bottom:1px solid #334155!important}.ant-drawer-content-wrapper .ant-drawer-body{background:#0a0f1c!important;padding:0!important}.ant-drawer-content-wrapper .ant-drawer-close{color:#94a3b8}.ant-drawer-content-wrapper .ant-drawer-close:hover{color:#e2e8f0}
