.forex-trade-container{display:grid;grid-template-columns:300px 1fr 300px;grid-template-rows:1fr 300px;gap:12px;padding:12px;height:calc(100vh - 140px);background:#0f0f0f;overflow:hidden}.market-watch-section{grid-column:1;grid-row:1/3;display:flex;flex-direction:column}.forex-chart-section,.market-watch-section{background:#1a1a1a;border:1px solid #333;border-radius:8px;overflow:hidden}.forex-chart-section{grid-column:2;grid-row:1;min-height:400px}.currency-strength-section{grid-column:2;grid-row:2}.currency-strength-section,.economic-calendar-section{background:#1a1a1a;border:1px solid #333;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.economic-calendar-section{grid-column:3;grid-row:1/3}.forex-component-header{background:linear-gradient(90deg,#2a2a2a,#1a1a1a);padding:12px 16px;border-bottom:1px solid #333;color:#fff;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:space-between}.forex-component-content{flex:1;padding:12px;overflow-y:auto;color:#fff}.market-watch-section .forex-component-header{background:linear-gradient(90deg,#1e3a8a,#1e40af)}.forex-chart-section .chart-container{width:100%;height:100%;background:#0f0f0f}.currency-strength-section .forex-component-header{background:linear-gradient(90deg,#059669,#10b981)}.economic-calendar-section .forex-component-header{background:linear-gradient(90deg,#dc2626,#ef4444)}.forex-item-list{display:flex;flex-direction:column;gap:4px}.forex-item{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:8px 12px;transition:all .2s ease;cursor:pointer}.forex-item:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);transform:translateY(-1px)}.text-green{color:#10b981}.text-red{color:#ef4444}.text-blue{color:#3b82f6}.text-yellow{color:#f59e0b}.text-gray{color:#9ca3af}.forex-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s ease}.forex-btn:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.3)}.forex-progress-bar{background:rgba(255,255,255,.1);border-radius:4px;height:6px;overflow:hidden;margin:4px 0}.forex-progress-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);transition:width .3s ease}@media (max-width:1200px){.forex-trade-container{grid-template-columns:250px 1fr 250px}}@media (max-width:968px){.forex-trade-container{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;height:auto;gap:8px}.currency-strength-section,.economic-calendar-section,.forex-chart-section,.market-watch-section{grid-column:1;grid-row:auto;min-height:300px}.forex-chart-section{min-height:400px}}@media (max-width:640px){.forex-trade-container{padding:8px;gap:6px}.forex-component-header{padding:8px 12px;font-size:13px}.forex-component-content{padding:8px}}@keyframes forex-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.forex-component-animate{animation:forex-fade-in .3s ease-out}.forex-component-content::-webkit-scrollbar{width:6px}.forex-component-content::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:3px}.forex-component-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:3px}.forex-component-content::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}.forex-trade-container-new{display:grid;grid-template-columns:350px 1fr 400px;grid-template-rows:1fr;height:calc(100vh - 180px);gap:12px;padding:12px;background:#000000}.forex-left-sidebar{display:flex;flex-direction:column;gap:12px;height:100%}.market-watch-section-new{border:1px solid rgba(38,166,154,.2);border-radius:12px;overflow:hidden;height:350px;min-height:350px}.currency-strength-section-new,.market-watch-section-new{background:linear-gradient(145deg,#1E2D3D,#2A3441);box-shadow:0 4px 20px rgba(0,0,0,.3)}.currency-strength-section-new{border:1px solid rgba(255,183,77,.2);border-radius:12px;overflow:visible;flex:1;min-height:0}.forex-chart-section-new{background:#000000;border:2px solid rgba(38,166,154,.3);border-radius:15px;overflow:hidden;box-shadow:0 8px 32px rgba(38,166,154,.15);position:relative;height:100%}.forex-chart-section-new:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#000000;z-index:1}.economic-calendar-section-new{background:#000000;border:1px solid rgba(0,229,255,.2);border-radius:12px;overflow:visible;overflow-x:auto;overflow-y:visible;box-shadow:0 4px 20px rgba(0,0,0,.3);height:100%;width:90%;min-width:800px;max-width:1200px;margin-left:-100px}*{box-sizing:border-box}body{overflow-x:hidden;max-width:100vw;margin:0;padding:0}.stocks-trade-container{display:grid;grid-template-areas:"order-book chart chart trading-panel" "recent-trades chart chart trading-panel" "recent-trades trading-overview trading-overview trading-overview" "depth-chart depth-chart depth-table depth-table";grid-template-columns:minmax(350px,420px) 1fr 1fr minmax(320px,380px);grid-template-rows:200px 470px 800px minmax(280px,400px);gap:20px;padding:15px;width:100%;height:calc(100vh - 50px);min-height:1400px}.stocks-order-book-section{grid-area:order-book;min-width:0;overflow-y:auto}.stocks-chart-section{grid-area:chart;min-width:0}.stocks-recent-trades-section{grid-area:recent-trades;min-width:0;height:1260px;max-height:1270px;overflow-y:auto}.stocks-dashboard-section{grid-area:trading-overview;min-width:0;height:770px!important;max-height:850px!important;overflow:hidden!important}.stocks-dashboard-section .trading-dashboard,.stocks-dashboard-section>*,.trading-dashboard{width:100%!important;max-width:none!important}.stocks-depth-chart-section{grid-area:depth-chart;min-width:0}.stocks-depth-table-section{grid-area:depth-table;min-width:0}.stocks-trading-panel-section{grid-area:trading-panel;min-width:0;height:670px!important;max-height:700px!important;overflow-y:auto}.trading-dashboard .table-container{max-height:200px!important;overflow-y:auto!important;overflow-x:hidden!important}.trading-dashboard .history-table .table-container,.trading-dashboard .orders-table .table-container,.trading-dashboard .positions-table .table-container{max-height:180px;overflow-y:auto}.level1-orderbook .table-headers{text-align:center}.level1-orderbook .table-headers,.level1-orderbook .table-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr}.level1-orderbook .cell{text-align:center;justify-content:center}@media (max-width:1400px){.stocks-trade-container{grid-template-columns:minmax(320px,400px) 1fr 1fr minmax(300px,350px);grid-template-rows:1fr 700px minmax(260px,380px)}}@media (max-width:1200px){.stocks-trade-container{grid-template-columns:minmax(300px,360px) 1fr 1fr minmax(280px,320px);grid-template-rows:1fr 680px minmax(240px,360px)}}@media (max-width:992px){.stocks-trade-container{grid-template-areas:"chart chart chart chart" "order-book order-book trading-panel trading-panel" "recent-trades trading-overview trading-overview trading-overview" "depth-chart depth-chart depth-chart depth-table";grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr auto auto auto;min-height:auto;height:auto}}@media (max-width:768px){.stocks-trade-container{grid-template-areas:"chart" "trading-panel" "order-book" "recent-trades" "depth-chart" "trading-overview" "depth-table";grid-template-columns:1fr;grid-template-rows:repeat(7,auto);height:auto;min-height:auto}}