/* Sleek Live Feed Status Badge */
.tmt-live-feed-badge {
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
padding: 0 12px !important;
height: 40px !important;
border-radius: 10px !important;
font-size: 11.5px !important;
font-weight: 700 !important;
letter-spacing: 0.2px !important;
background: rgba(16, 185, 129, 0.08) !important;
border: 1px solid rgba(16, 185, 129, 0.3) !important;
color: #059669 !important;
user-select: none !important;
line-height: 1 !important;
transition: all 0.3s ease !important;
box-sizing: border-box !important;
flex-shrink: 0 !important;
}
.tmt-live-feed-badge:hover {
background: rgba(16, 185, 129, 0.15) !important;
border-color: rgba(16, 185, 129, 0.5) !important;
}
.tmt-live-feed-badge.is-connecting {
background: rgba(245, 158, 11, 0.08) !important;
border-color: rgba(245, 158, 11, 0.3) !important;
color: #d97706 !important;
}
.tmt-live-feed-badge.is-connecting:hover {
background: rgba(245, 158, 11, 0.15) !important;
border-color: rgba(245, 158, 11, 0.5) !important;
}
.tmt-feed-dot {
display: inline-block !important;
width: 7.5px !important;
height: 7.5px !important;
border-radius: 50% !important;
transition: all 0.2s ease !important;
flex-shrink: 0 !important;
}
.tmt-feed-dot.tmt-feed-dot-ws {
background: #10b981 !important;
box-shadow: 0 0 8px #10b981 !important;
animation: tmtWsPulse 1.8s infinite ease-in-out !important;
}
.tmt-feed-dot.tmt-feed-dot-fallback {
background: #f59e0b !important;
box-shadow: 0 0 6px #f59e0b !important;
}
@keyframes tmtWsPulse {
0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px rgba(16, 185, 129, 0.4); }
50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px rgba(16, 185, 129, 0.9); }
100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px rgba(16, 185, 129, 0.4); }
}
.tmt-tick-flash-up {
animation: tmtTickFlashGreen 0.4s ease-out;
}
.tmt-tick-flash-down {
animation: tmtTickFlashRed 0.4s ease-out;
}
@keyframes tmtTickFlashGreen {
0% { background-color: rgba(34, 197, 94, 0.4); }
100% { background-color: transparent; }
}
@keyframes tmtTickFlashRed {
0% { background-color: rgba(239, 68, 68, 0.4); }
100% { background-color: transparent; }
}
/* Continuous 360 Spin Animation for Refresh Button */
@keyframes tmtSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.tmt-refresh-spin-icon.tmt-is-spinning {
display: inline-block !important;
animation: tmtSpin 0.75s linear infinite !important;
}
/* ── 3-Stage Fullscreen Controller Styles ── */
body.tmt-terminal-mode-clean,
body.tmt-terminal-mode-fullscreen {
padding-top: 0 !important;
margin-top: 0 !important;
}
body.tmt-terminal-mode-clean .tmt-dashboard-header,
body.tmt-terminal-mode-clean .tmt-dashboard-tabs-outer-container,
body.tmt-terminal-mode-clean .tmt-ambient-glow,
body.tmt-terminal-mode-clean .ambient-glow,
body.tmt-terminal-mode-clean .navbar,
body.tmt-terminal-mode-clean #wpadminbar,
body.tmt-terminal-mode-fullscreen .tmt-dashboard-header,
body.tmt-terminal-mode-fullscreen .tmt-dashboard-tabs-outer-container,
body.tmt-terminal-mode-fullscreen .tmt-ambient-glow,
body.tmt-terminal-mode-fullscreen .ambient-glow,
body.tmt-terminal-mode-fullscreen .navbar,
body.tmt-terminal-mode-fullscreen #wpadminbar {
display: none !important;
}
/* Keep Floating Chat Bubble & AI HUD visible in theater & fullscreen modes (only when not hidden) */
body.tmt-terminal-mode-clean #tmt-floating-ai-hud:not(.tmt-hud-hidden),
body.tmt-terminal-mode-fullscreen #tmt-floating-ai-hud:not(.tmt-hud-hidden),
body.tmt-terminal-mode-clean #tmt-floating-chat-icon,
body.tmt-terminal-mode-fullscreen #tmt-floating-chat-icon {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 2147483647 !important;
}
body.tmt-terminal-mode-clean #tmt-dashboard-root,
body.tmt-terminal-mode-fullscreen #tmt-dashboard-root {
min-height: 100vh !important;
padding-top: 0 !important;
margin-top: 0 !important;
}
body.tmt-terminal-mode-clean .tmt-dashboard-content-container,
body.tmt-terminal-mode-fullscreen .tmt-dashboard-content-container {
padding-top: 4px !important;
padding-left: 8px !important;
padding-right: 8px !important;
margin-top: 0 !important;
max-width: 100% !important;
width: 100% !important;
}
body.tmt-terminal-mode-clean .tmt-terminal-wrap,
body.tmt-terminal-mode-fullscreen .tmt-terminal-wrap {
margin-top: 2px !important;
margin-bottom: 8px !important;
width: 100% !important;
max-width: 100% !important;
}
#tmt-btn-terminal-fullscreen {
background: #f8fafc;
border: 1.5px solid #cbd5e1;
color: #475569;
}
#tmt-btn-terminal-fullscreen:hover {
background: #f1f5f9;
border-color: #94a3b8;
color: #1e293b;
}
#tmt-btn-terminal-fullscreen.tmt-btn-mode-1 {
background: #e0f2fe !important;
border-color: #38bdf8 !important;
color: #0284c7 !important;
}
#tmt-btn-terminal-fullscreen.tmt-btn-mode-2 {
background: #fef3c7 !important;
border-color: #f59e0b !important;
color: #d97706 !important;
}
/* Connect / Disconnect Status Action Button */
.tmt-btn-conn-status.tmt-btn-is-disconnected {
background: #f1f5f9 !important;
color: #475569 !important;
border: 1.5px solid #cbd5e1 !important;
}
.tmt-btn-conn-status.tmt-btn-is-disconnected:hover {
background: #e2e8f0 !important;
border-color: #94a3b8 !important;
color: #1e293b !important;
}
.tmt-btn-conn-status.tmt-btn-is-connected {
background: #ecfdf5 !important;
color: #047857 !important;
border: 1.5px solid #6ee7b7 !important;
box-shadow: 0 0 10px rgba(16, 185, 129, 0.22) !important;
}
.tmt-btn-conn-status.tmt-btn-is-connected:hover {
background: #d1fae5 !important;
border-color: #34d399 !important;
color: #065f46 !important;
box-shadow: 0 0 14px rgba(16, 185, 129, 0.35) !important;
}
@keyframes tmtConnPulse {
0% {
transform: scale(0.92);
opacity: 0.82;
filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.5));
}
50% {
transform: scale(1.18);
opacity: 1;
filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.95));
}
100% {
transform: scale(0.92);
opacity: 0.82;
filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.5));
}
}
.tmt-conn-pulse-icon {
display: inline-flex !important;
align-items: center;
justify-content: center;
animation: tmtConnPulse 1.6s infinite ease-in-out !important;
}
/* YouTube Streamer Fullscreen Mode Fallback */
.tmt-terminal-wrap.tmt-is-fullscreen {
width: 100vw !important;
height: 100vh !important;
overflow-y: auto !important;
background: #f8fafc !important;
padding: 14px 18px !important;
box-sizing: border-box !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
z-index: 9999999 !important;
}
/* Dhan-Style Floating Option Chain Window */
.tmt-floating-chain-window {
position: fixed !important;
z-index: 999999 !important;
background: #ffffff !important;
border-radius: 12px !important;
box-shadow: 0 16px 40px rgba(0,0,0,0.28), 0 0 0 1px rgba(203,213,225,0.9) !important;
border: 1.5px solid #cbd5e1 !important;
overflow: hidden !important;
}
.tmt-floating-chain-window ::-webkit-scrollbar {
width: 5px;
height: 5px;
}
.tmt-floating-chain-window ::-webkit-scrollbar-track {
background: #f8fafc;
}
.tmt-floating-chain-window ::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
.tmt-floating-chain-window ::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.tmt-chain-row:hover {
background: #f8fafc !important;
}
.tmt-chain-row.tmt-row-atm {
background: #eff6ff !important;
box-shadow: inset 0 0 0 1.5px #60a5fa !important;
}
.tmt-cell-clickable {
cursor: pointer;
transition: background 0.12s;
}
.tmt-cell-clickable:hover {
background: rgba(0, 0, 0, 0.06);
}
/* Synchronized Top Workspace Tabs (Exact Same Height & Horizontal Scrollable) */
.tmt-terminal-top-tabs-row {
display: flex;
align-items: flex-end;
width: 100%;
position: relative;
z-index: 12;
margin-bottom: -2.5px;
gap: 0;
}
.tmt-top-bar-left {
width: var(--tmt-left-width, 820px);
min-width: 340px;
max-width: 75%;
flex-shrink: 0;
display: flex;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-ms-overflow-style: none;
}
.tmt-top-bar-left::-webkit-scrollbar {
display: none;
}
.tmt-top-bar-resizer-gap {
width: 24px;
flex-shrink: 0;
}
.tmt-top-bar-right {
flex: 1 1 0%;
min-width: 340px;
display: flex;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-ms-overflow-style: none;
}
.tmt-top-bar-right::-webkit-scrollbar {
display: none;
}
.tmt-chrome-tabs-bar,
.tmt-order-tabs-bar {
display: flex;
align-items: flex-end;
gap: 6px;
padding-left: 14px;
width: 100%;
overflow-x: auto;
overflow-y: hidden;
flex-wrap: nowrap;
white-space: nowrap;
scrollbar-width: none;
-ms-overflow-style: none;
}
.tmt-chrome-tabs-bar::-webkit-scrollbar,
.tmt-order-tabs-bar::-webkit-scrollbar {
display: none;
}
.tmt-chrome-tab,
.tmt-order-tab {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 0 20px;
height: 42px;
box-sizing: border-box;
background: #f1f5f9;
color: #64748b;
border: 2px solid #e2e8f0;
border-bottom: 2.5px solid #fed7aa;
border-radius: 12px 12px 0 0;
font-size: 0.92em;
font-weight: 700;
cursor: pointer;
text-decoration: none;
transition: background 0.15s, color 0.15s;
user-select: none;
position: relative;
outline: none;
line-height: 1.2;
box-shadow: 0 -2px 6px rgba(0,0,0,0.02);
white-space: nowrap;
flex-shrink: 0;
}
.tmt-chrome-tab:hover:not(.active),
.tmt-order-tab:hover:not(.active) {
background: #ffffff;
color: #0f172a;
border-color: #cbd5e1;
}
.tmt-chrome-tab.active,
.tmt-order-tab.active {
background: #ffffff !important;
color: #ea580c !important;
border: 2.5px solid #fed7aa !important;
border-bottom: 3.5px solid #ffffff !important; /* Seamlessly joins content box below */
border-top: 3.5px solid #ff6b00 !important;   /* Chrome-style top accent line */
border-radius: 12px 12px 0 0 !important;
padding: 0 22px !important;
height: 42px !important;
box-sizing: border-box !important;
font-weight: 900 !important;
font-size: 0.94em !important;
box-shadow: 0 -4px 12px rgba(255, 107, 0, 0.08) !important;
z-index: 15 !important;
}
.tmt-chrome-tab .tmt-tab-icon,
.tmt-order-tab .tmt-ord-tab-icon {
font-size: 1.15em;
}
.tmt-chrome-tab.active .tmt-tab-label,
.tmt-order-tab.active .tmt-ord-tab-label {
color: #ea580c !important;
font-weight: 900 !important;
}
.tmt-chrome-tab:not(.active) .tmt-tab-label,
.tmt-order-tab:not(.active) .tmt-ord-tab-label {
color: #64748b;
font-weight: 700;
}
/* CHROME WORKSPACE TABS & ORDER TABS: COMPACT ICON ONLY DEFAULT, EXPAND ON HOVER & ACTIVE */
.tmt-chrome-tab,
.tmt-order-tab {
padding: 0 14px;
transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
}
.tmt-chrome-tab .tmt-tab-label,
.tmt-order-tab .tmt-ord-tab-label,
.tmt-order-tab .tmt-ord-tab-badge {
max-width: 0;
opacity: 0;
overflow: hidden;
white-space: nowrap;
display: inline-block;
transition: max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.2s ease;
margin-left: 0;
}
.tmt-chrome-tab.active,
.tmt-chrome-tab:hover,
.tmt-order-tab.active,
.tmt-order-tab:hover {
padding: 0 18px !important;
}
.tmt-chrome-tab.active .tmt-tab-label,
.tmt-chrome-tab:hover .tmt-tab-label,
.tmt-order-tab.active .tmt-ord-tab-label,
.tmt-order-tab:hover .tmt-ord-tab-label {
max-width: 240px;
opacity: 1;
margin-left: 6px;
}
.tmt-order-tab.active .tmt-ord-tab-badge,
.tmt-order-tab:hover .tmt-ord-tab-badge {
max-width: 80px;
opacity: 1;
margin-left: 6px;
}
/* Chart tab popout button inside compact tab */
.tmt-chrome-tab.tmt-chart-tab:not(.active):not(:hover) .tmt-tab-popout-btn,
.tmt-chrome-tab.tmt-chart-tab:not(.active):not(:hover) .tmt-tab-close-btn {
display: none !important;
}
.tmt-chrome-tab.tmt-chart-tab.active,
.tmt-chrome-tab.tmt-chart-tab:hover {
padding-right: 32px !important;
}
/* Master White Font Lock for Connect Buttons & Tab Badges */
#tmt-btn-connect-modal-trigger,
#tmt-btn-connect-modal-trigger *,
#tmt-header-connect-icon,
#tmt-header-connect-text,
.tmt-ord-tab-badge,
.tmt-ord-tab-badge * {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}
.tmt-ord-tab-badge {
font-size: 9px;
font-weight: 900;
background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
color: #ffffff;
padding: 2px 6px;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.tmt-term-tab-pane {
position: relative;
z-index: 1;
}
.tmt-chrome-pane-box {
border-top-left-radius: 4px !important;
}
/* TradingView Chart Workspace Styles */
.tmt-chart-topbar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap !important;
gap: 8px;
background: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 10px;
padding: 6px 12px;
margin-bottom: 10px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
white-space: nowrap;
box-sizing: border-box;
}
.tmt-chart-topbar::-webkit-scrollbar {
height: 3px;
}
.tmt-chart-topbar::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
body.tmt-chart-popout-window .tmt-chart-topbar {
margin-bottom: 2px !important;
padding: 3px 8px !important;
}
body.tmt-chart-popout-window .tmt-chart-bottom-strip {
display: none !important;
}
.tmt-chart-idx-pills, .tmt-chart-tf-pills {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.tmt-chart-btn {
border: 1.5px solid #cbd5e1;
background: #ffffff;
color: #334155;
font-weight: 800;
font-size: 12px;
padding: 6px 12px;
border-radius: 8px;
cursor: pointer;
transition: all 0.15s ease;
line-height: 1;
}
.tmt-chart-btn:hover {
background: #f1f5f9;
border-color: #94a3b8;
}
.tmt-chart-btn.active {
background: #ff6b00;
color: #ffffff;
border-color: #ea580c;
box-shadow: 0 2px 6px rgba(255,107,0,0.3);
}
.tmt-chart-tf-btn {
border: 1px solid #cbd5e1;
background: #ffffff;
color: #475569;
font-weight: 800;
font-size: 11.5px;
padding: 5px 9px;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-chart-tf-btn.active,
.tmt-chart-tf-btn.active * {
background: #0284c7 !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
border-color: #0369a1 !important;
}
.tmt-chart-quick-exec-bar {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.tmt-btn-chart-buy-ce {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: #ffffff;
font-weight: 900;
font-size: 12.5px;
padding: 8px 16px;
border-radius: 8px;
border: none;
cursor: pointer;
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.15s ease;
}
.tmt-btn-chart-buy-ce:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}
.tmt-btn-chart-buy-pe {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: #ffffff;
font-weight: 900;
font-size: 12.5px;
padding: 8px 16px;
border-radius: 8px;
border: none;
cursor: pointer;
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.15s ease;
}
.tmt-btn-chart-buy-pe:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
}
.tmt-btn-chart-exit {
background: #f1f5f9;
color: #475569;
border: 1.5px solid #cbd5e1;
font-weight: 800;
font-size: 12px;
padding: 7px 13px;
border-radius: 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
}
.tmt-btn-chart-exit:hover {
background: #fee2e2;
color: #dc2626;
border-color: #fca5a5;
}
.tmt-chart-ind-btn {
border: 1px solid #cbd5e1;
background: #ffffff;
color: #64748b;
font-weight: 800;
font-size: 11px;
padding: 4px 8px;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-chart-ind-btn.active {
background: #f1f5f9;
border-color: #94a3b8;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.tmt-chart-ind-btn:not(.active) {
opacity: 0.5;
text-decoration: line-through;
}
.tmt-chart-bottom-strip {
display: flex;
align-items: center;
justify-content: space-between;
background: #fff7ed;
border: 1.5px solid #fed7aa;
border-radius: 10px;
padding: 8px 16px;
margin-top: 10px;
font-size: 12.5px;
font-weight: 700;
}
/* ON-CHART VISUAL TRADING & DRAGGABLE SL/TARGET STYLES */
.tmt-btn-pos-chart {
display: inline-flex;
align-items: center;
gap: 4px;
background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
color: #ffffff !important;
border: 1px solid #38bdf8;
border-radius: 6px;
padding: 3px 8px;
font-size: 11px;
font-weight: 800;
cursor: pointer;
letter-spacing: 0.3px;
box-shadow: 0 2px 5px rgba(14, 165, 233, 0.35);
transition: all 0.15s ease-in-out;
text-decoration: none;
vertical-align: middle;
}
.tmt-btn-pos-chart:hover {
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(14, 165, 233, 0.5);
background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
color: #ffffff !important;
}
.tmt-btn-pos-chart:active {
transform: translateY(0);
}
/* TRADINGVIEW-STYLE ON-CHART VISUAL TRADING OVERLAY */
.tmt-chart-tv-overlay {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 12;
overflow: visible;
}
.tmt-tv-line {
position: absolute;
left: 0;
right: 0;
height: 0;
z-index: 14;
pointer-events: none;
}
.tmt-tv-line-target {
border-top: 1.5px dashed #089981;
}
.tmt-tv-line-entry {
border-top: 1.5px solid #2962ff;
}
.tmt-tv-line-sl {
border-top: 1.5px dashed #dc2626;
}
.tmt-tv-line-buy {
border-top: 1.5px dashed #2563eb;
}
.tmt-tv-line-sell {
border-top: 1.5px dashed #dc2626;
}
.tmt-tv-axis-tag {
position: absolute;
right: 50px;
transform: translateY(-50%);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
font-size: 11px;
font-weight: 800;
padding: 3px 7px;
border-radius: 5px;
z-index: 50;
pointer-events: auto;
letter-spacing: 0.3px;
box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.tmt-tv-axis-target {
background: #089981;
color: #ffffff;
border: none;
}
.tmt-tv-axis-entry {
background: #2563eb;
color: #ffffff;
border: none;
}
.tmt-tv-axis-sl {
background: #dc2626;
color: #ffffff;
border: none;
}
.tmt-tv-axis-buy {
background: #2563eb;
color: #ffffff;
border: none;
}
.tmt-tv-axis-sell {
background: #dc2626;
color: #ffffff;
border: none;
}
.tmt-tv-pill {
position: absolute;
transform: translateY(-50%);
display: inline-flex;
align-items: center;
background: #ffffff;
border-radius: 6px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 11.5px;
font-weight: 700;
z-index: 16;
pointer-events: auto;
cursor: grab;
user-select: none;
-webkit-user-select: none;
transition: box-shadow 0.15s ease;
}
.tmt-tv-pill:hover, .tmt-tv-pill.is-dragging {
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
cursor: grabbing;
}
.tmt-tv-pill-target {
border: 1.5px solid #089981;
background: #089981 !important;
color: #ffffff !important;
}
.tmt-tv-pill-target .tmt-tv-qty {
padding: 2px 7px;
font-weight: 800;
color: #ffffff !important;
border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.tmt-tv-pill-target .tmt-tv-btn-close {
color: #ffffff !important;
}
.tmt-tv-pill-target .tmt-tv-btn-close:hover {
background: rgba(255, 255, 255, 0.25);
color: #ffffff !important;
}
.tmt-tv-pill-sl {
border: 1.5px solid #dc2626;
background: #dc2626 !important;
color: #ffffff !important;
}
.tmt-tv-pill-sl .tmt-tv-qty {
padding: 2px 7px;
font-weight: 800;
color: #ffffff !important;
border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.tmt-tv-pill-sl .tmt-tv-btn-close {
color: #ffffff !important;
}
.tmt-tv-pill-sl .tmt-tv-btn-close:hover {
background: rgba(255, 255, 255, 0.25);
color: #ffffff !important;
}
.tmt-tv-pill-buy {
border: 1.5px solid #2563eb;
background: #2563eb !important;
color: #ffffff !important;
}
.tmt-tv-pill-buy .tmt-tv-qty {
padding: 2px 7px;
font-weight: 800;
color: #ffffff !important;
border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.tmt-tv-pill-buy .tmt-tv-btn-close {
color: #ffffff !important;
}
.tmt-tv-pill-buy .tmt-tv-btn-close:hover {
background: rgba(255, 255, 255, 0.25);
color: #ffffff !important;
}
.tmt-tv-pill-sell {
border: 1.5px solid #dc2626;
background: #dc2626 !important;
color: #ffffff !important;
}
.tmt-tv-pill-sell .tmt-tv-qty {
padding: 2px 7px;
font-weight: 800;
color: #ffffff !important;
border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.tmt-tv-pill-sell .tmt-tv-btn-close {
color: #ffffff !important;
}
.tmt-tv-pill-sell .tmt-tv-btn-close:hover {
background: rgba(255, 255, 255, 0.25);
color: #ffffff !important;
}
.tmt-tv-btn-edit {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 5px;
margin-left: 2px;
cursor: pointer;
font-size: 11px;
color: #ffffff !important;
opacity: 0.9;
border-radius: 3px;
transition: background 0.15s ease, transform 0.1s ease;
}
.tmt-tv-btn-edit:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.25);
transform: scale(1.15);
}
.tmt-tv-pill-entry {
border: 1.5px solid #2962ff;
overflow: hidden;
cursor: default !important;
}
.tmt-tv-pill-sticky {
z-index: 60 !important;
cursor: pointer !important;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tmt-tv-pill-sticky:hover {
transform: translateY(-50%) scale(1.03);
}
.tmt-tv-pill-entry .tmt-tv-qty-blue {
background: #2962ff;
color: #ffffff !important;
padding: 3px 8px;
font-weight: 800;
user-select: none;
-webkit-user-select: none;
}
.tmt-tv-entry-handles {
display: inline-flex;
align-items: center;
gap: 3px;
background: #ffedd5 !important; /* light orange background */
padding: 2px 5px;
border-right: 1px solid #fed7aa;
border-left: 1px solid #fed7aa;
}
.tmt-tv-drag-create {
display: inline-flex;
align-items: center;
gap: 2px;
padding: 1.5px 7px;
font-size: 11px;
font-weight: 800;
color: #ffffff !important;
border-radius: 4px;
cursor: grab;
user-select: none;
-webkit-user-select: none;
transition: transform 0.1s ease, filter 0.1s ease;
}
.tmt-tv-drag-create span, .tmt-tv-drag-create b {
color: #ffffff !important;
font-weight: 800;
}
.tmt-tv-drag-create:hover {
transform: scale(1.08);
filter: brightness(1.15);
cursor: grab;
}
.tmt-tv-create-tp {
background: #089981 !important;
color: #ffffff !important;
}
.tmt-tv-create-sl {
background: #dc2626 !important;
color: #ffffff !important;
}
/* Dhan-Style On-Chart Indicator Bar */
.tmt-onchart-ind-bar {
position: absolute;
bottom: 125px;
left: 12px;
z-index: 18;
display: flex;
align-items: center;
gap: 6px;
pointer-events: auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 11px;
}
.tmt-onchart-ind-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(255, 255, 255, 0.95);
border: 1px solid #cbd5e1;
border-radius: 5px;
padding: 3px 8px;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
color: #1e293b;
user-select: none;
}
.tmt-onchart-ind-pill .tmt-ind-name {
font-weight: 800;
color: #0f172a;
}
.tmt-onchart-ind-pill .tmt-ind-btn {
cursor: pointer;
opacity: 0.75;
font-size: 12px;
transition: opacity 0.1s;
}
.tmt-onchart-ind-pill .tmt-ind-btn:hover {
opacity: 1;
}
#tmt-drag-price-input::-webkit-outer-spin-button,
#tmt-drag-price-input::-webkit-inner-spin-button,
#tmt-drag-qty-input::-webkit-outer-spin-button,
#tmt-drag-qty-input::-webkit-inner-spin-button {
-webkit-appearance: none !important;
margin: 0 !important;
}
#tmt-drag-price-input,
#tmt-drag-qty-input {
-moz-appearance: textfield !important;
}
.tmt-tv-pill-entry .tmt-tv-pnl {
padding: 3px 9px;
font-weight: 800;
border-right: 1px solid #e2e8f0;
background: #ffffff;
}
.tmt-tv-pill-entry .tmt-tv-pnl.is-pos {
color: #059669;
}
.tmt-tv-pill-entry .tmt-tv-pnl.is-neg {
color: #dc2626;
}
.tmt-tv-pill-sl {
border: 1.5px solid #dc2626;
background: #dc2626 !important;
color: #ffffff !important;
}
.tmt-tv-pill-sl .tmt-tv-qty {
padding: 2px 7px;
font-weight: 800;
color: #ffffff !important;
border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.tmt-tv-pill-sl .tmt-tv-lbl {
padding: 2px 8px;
font-size: 11px;
font-weight: 800;
color: #ffffff !important;
border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.tmt-tv-pill-sl .tmt-tv-btn-close {
color: #ffffff !important;
}
.tmt-tv-pill-sl .tmt-tv-btn-close:hover {
background: rgba(255, 255, 255, 0.25);
color: #ffffff !important;
}
.tmt-tv-btn-close {
padding: 2px 7px;
color: #64748b;
font-weight: 900;
cursor: pointer;
transition: color 0.15s, background 0.15s;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tmt-tv-btn-close:hover {
color: #dc2626;
background: #fee2e2;
}
.tmt-tv-entry-arrow {
position: absolute;
transform: translate(-50%, 4px);
color: #2962ff;
font-size: 16px;
font-weight: 900;
pointer-events: none;
z-index: 15;
}
.tmt-tv-bracket-line {
position: absolute;
width: 1.5px;
background: #64748b;
z-index: 13;
pointer-events: none;
}
.tmt-tv-bracket-node {
position: absolute;
width: 7px;
height: 7px;
border-radius: 50%;
background: #ffffff;
border: 2px solid #2962ff;
transform: translate(-50%, -50%);
z-index: 14;
pointer-events: none;
}
.tmt-tv-bracket-node.node-target {
border-color: #089981;
}
.tmt-tv-bracket-node.node-sl {
border-color: #d97706;
}
/* Visual Chart Modal - Disabled in Favor of Tab 2 TmT Market Chart */
#tmt-pos-chart-modal {
position: fixed !important;
inset: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: rgba(11, 15, 25, 0.88) !important;
backdrop-filter: blur(8px) !important;
-webkit-backdrop-filter: blur(8px) !important;
z-index: 999999 !important;
display: none !important;
pointer-events: none !important;
align-items: center;
justify-content: center;
padding: 16px;
box-sizing: border-box;
}
#tmt-pos-chart-card {
background: #ffffff;
border: 1.5px solid #fed7aa;
border-radius: 16px;
width: 95vw;
max-width: 1350px;
height: 90vh;
max-height: 880px;
display: flex;
flex-direction: column;
box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(254, 215, 170, 0.4);
overflow: hidden;
color: #0f172a;
position: relative;
}
#tmt-pos-chart-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 14px;
background: #ffffff;
border-bottom: 1.5px solid #e2e8f0;
flex-shrink: 0;
gap: 8px;
flex-wrap: nowrap !important;
overflow-x: auto;
white-space: nowrap;
box-sizing: border-box;
}
#tmt-pos-chart-header::-webkit-scrollbar {
height: 3px;
}
#tmt-pos-chart-header::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
.tmt-pcm-head-left {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: nowrap;
flex-shrink: 0;
}
.tmt-pcm-symbol-badge {
font-size: 15px;
font-weight: 900;
color: #0f172a;
background: #eff6ff;
padding: 4px 12px;
border-radius: 8px;
border: 1.5px solid #bfdbfe;
letter-spacing: 0.3px;
display: inline-flex;
align-items: center;
gap: 6px;
}
.tmt-pcm-meta-pill {
font-size: 12px;
font-weight: 700;
color: #64748b;
background: #f8fafc;
padding: 4px 10px;
border-radius: 6px;
border: 1px solid #e2e8f0;
display: inline-flex;
align-items: center;
gap: 5px;
}
.tmt-pcm-meta-val {
color: #0f172a;
font-weight: 800;
}
.tmt-pcm-head-center {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-pcm-live-pnl-pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
border-radius: 20px;
font-weight: 900;
font-size: 14px;
letter-spacing: 0.3px;
background: #f8fafc;
border: 1.5px solid #e2e8f0;
transition: all 0.2s ease;
}
.tmt-pcm-live-pnl-pill.is-profit {
background: #ecfdf5;
border-color: #10b981;
color: #059669;
}
.tmt-pcm-live-pnl-pill.is-loss {
background: #fef2f2;
border-color: #ef4444;
color: #dc2626;
}
.tmt-pcm-head-right {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-pcm-tf-group {
display: inline-flex;
background: #f1f5f9;
border-radius: 8px;
padding: 2px;
border: 1px solid #cbd5e1;
}
.tmt-pcm-tf-btn {
background: transparent;
color: #475569;
border: none;
padding: 4px 10px;
font-size: 12px;
font-weight: 700;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s;
}
.tmt-pcm-tf-btn.active, .tmt-pcm-tf-btn:hover {
background: #0284c7;
color: #ffffff;
}
.tmt-pcm-close-btn {
background: #f1f5f9;
color: #64748b;
border: 1px solid #cbd5e1;
width: 34px;
height: 34px;
border-radius: 8px;
font-size: 16px;
font-weight: 900;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
}
.tmt-pcm-close-btn:hover {
background: #fee2e2;
border-color: #ef4444;
color: #dc2626;
}
.tmt-pcm-tv-popout-btn {
background: #ffffff;
color: #0284c7;
border: 1.5px solid #bae6fd;
padding: 5px 12px;
font-size: 12px;
font-weight: 800;
border-radius: 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.15s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.tmt-pcm-tv-popout-btn:hover {
background: #f0f9ff;
border-color: #0284c7;
color: #0369a1;
transform: translateY(-1px);
box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15);
}
/* Chart Canvas & Overlay Container */
#tmt-pos-chart-canvas-wrap {
position: relative;
flex: 1;
width: 100%;
height: 100%;
min-height: 400px;
background: #ffffff;
overflow: hidden;
}
#tmt-pos-chart-canvas {
width: 100%;
height: 100%;
background: #ffffff;
}
#tmt-pos-drag-overlay {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 15;
overflow: visible;
}
/* Draggable Lines */
.tmt-pcm-line {
position: absolute;
left: 0;
right: 0;
height: 28px;
margin-top: -14px;
display: flex;
align-items: center;
pointer-events: auto;
cursor: ns-resize;
user-select: none;
-webkit-user-select: none;
touch-action: none;
z-index: 20;
}
.tmt-pcm-line::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 2px;
transform: translateY(-50%);
z-index: 1;
}
/* Target Line (Green) */
.tmt-pcm-line-target::before {
border-top: 2px dashed #059669;
}
.tmt-pcm-line-target:hover::before, .tmt-pcm-line-target.is-dragging::before {
border-top: 2.5px solid #059669;
box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}
/* Stop Loss Line (Red) */
.tmt-pcm-line-sl::before {
border-top: 2px dashed #dc2626;
}
.tmt-pcm-line-sl:hover::before, .tmt-pcm-line-sl.is-dragging::before {
border-top: 2.5px solid #dc2626;
box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
}
/* Entry Line (Blue - Fixed) */
.tmt-pcm-line-entry {
cursor: default !important;
}
.tmt-pcm-line-entry::before {
border-top: 2px solid #2563eb;
}
/* LTP Line (Gold / Amber - Dynamic) */
.tmt-pcm-line-ltp {
cursor: default !important;
}
.tmt-pcm-line-ltp::before {
border-top: 2px dotted #d97706;
}
/* Interactive Handles / Badges on the Lines */
.tmt-pcm-handle-wrap {
position: absolute;
left: 20px;
display: inline-flex;
align-items: center;
gap: 6px;
z-index: 2;
border-radius: 8px;
padding: 4px 8px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
cursor: ns-resize;
}
.tmt-pcm-line-target .tmt-pcm-handle-wrap {
border: 1.5px solid #10b981;
background: #ecfdf5;
color: #065f46;
}
.tmt-pcm-line-sl .tmt-pcm-handle-wrap {
border: 1.5px solid #ef4444;
background: #fef2f2;
color: #991b1b;
}
.tmt-pcm-line-entry .tmt-pcm-handle-wrap {
border: 1.5px solid #3b82f6;
background: #eff6ff;
color: #1e40af;
cursor: default;
}
.tmt-pcm-line-ltp .tmt-pcm-handle-wrap {
border: 1.5px solid #f59e0b;
background: #fffbeb;
color: #92400e;
cursor: default;
left: auto;
right: 90px;
}
.tmt-pcm-drag-grip {
font-size: 13px;
opacity: 0.7;
cursor: grab;
}
.tmt-pcm-handle-label {
font-size: 11.5px;
font-weight: 800;
letter-spacing: 0.3px;
white-space: nowrap;
}
.tmt-pcm-handle-price {
font-size: 13px;
font-weight: 900;
background: rgba(0, 0, 0, 0.07);
padding: 2px 7px;
border-radius: 5px;
letter-spacing: 0.2px;
}
.tmt-pcm-handle-pnl {
font-size: 11.5px;
font-weight: 900;
padding: 2px 7px;
border-radius: 5px;
white-space: nowrap;
}
.tmt-pcm-pnl-green {
background: #d1fae5;
color: #047857;
}
.tmt-pcm-pnl-red {
background: #fee2e2;
color: #b91c1c;
}
.tmt-pcm-handle-cancel {
background: rgba(0, 0, 0, 0.08);
color: #64748b;
border: none;
width: 18px;
height: 18px;
border-radius: 50%;
font-size: 11px;
font-weight: 800;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
}
.tmt-pcm-handle-cancel:hover {
background: #dc2626;
color: #ffffff;
}
/* Right Price Scale Tag */
.tmt-pcm-scale-tag {
position: absolute;
right: 0;
padding: 2px 8px;
font-size: 11.5px;
font-weight: 800;
color: #ffffff;
border-radius: 4px 0 0 4px;
z-index: 2;
white-space: nowrap;
box-shadow: -2px 0 6px rgba(0, 0, 0, 0.15);
}
.tmt-pcm-line-target .tmt-pcm-scale-tag {
background: #059669;
}
.tmt-pcm-line-sl .tmt-pcm-scale-tag {
background: #dc2626;
}
.tmt-pcm-line-entry .tmt-pcm-scale-tag {
background: #2563eb;
}
.tmt-pcm-line-ltp .tmt-pcm-scale-tag {
background: #d97706;
}
/* Bottom Controls Bar */
#tmt-pos-chart-bottom-bar {
background: #f8fafc;
border-top: 1.5px solid #e2e8f0;
padding: 10px 18px;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
gap: 16px;
flex-wrap: wrap;
}
.tmt-pcm-preset-row {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.tmt-pcm-preset-btn {
background: #ffffff;
color: #334155;
border: 1.5px solid #cbd5e1;
border-radius: 6px;
padding: 5px 10px;
font-size: 11.5px;
font-weight: 800;
cursor: pointer;
transition: all 0.15s ease;
display: inline-flex;
align-items: center;
gap: 4px;
}
.tmt-pcm-preset-btn:hover {
background: #f1f5f9;
color: #0f172a;
transform: translateY(-1px);
}
.tmt-pcm-preset-target:hover {
background: #ecfdf5;
border-color: #10b981;
color: #059669;
}
.tmt-pcm-preset-sl:hover {
background: #fef2f2;
border-color: #ef4444;
color: #dc2626;
}
.tmt-pcm-exit-btn {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
color: #ffffff;
border: 1px solid #ef4444;
border-radius: 8px;
padding: 6px 14px;
font-size: 12.5px;
font-weight: 900;
cursor: pointer;
letter-spacing: 0.3px;
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
transition: all 0.15s;
display: inline-flex;
align-items: center;
gap: 6px;
}
.tmt-pcm-exit-btn:hover {
background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}
.tmt-pcm-auto-badge {
font-size: 11px;
font-weight: 800;
color: #0284c7;
background: #f0f9ff;
border: 1px solid #bae6fd;
padding: 4px 10px;
border-radius: 6px;
display: inline-flex;
align-items: center;
gap: 5px;
}
/* Floating Live Toast Notification inside Chart */
#tmt-pcm-toast {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
background: #ffffff;
border: 1.5px solid #0284c7;
border-radius: 10px;
padding: 8px 18px;
color: #0f172a;
font-size: 12.5px;
font-weight: 800;
display: none;
align-items: center;
gap: 8px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
z-index: 100;
pointer-events: none;
}
#tmt-pcm-toast.success {
border-color: #10b981;
background: #ecfdf5;
color: #065f46;
}
#tmt-pcm-toast.error {
border-color: #ef4444;
background: #fef2f2;
color: #991b1b;
}
/* =========================================================================
CHROME MULTI-CHART TABS (DRAG & DROP, ADD TAB +, CLOSE X)
========================================================================= */
.tmt-chart-tabs-wrapper {
display: inline-flex;
align-items: flex-end;
gap: 6px;
}
.tmt-chrome-tab.tmt-chart-tab {
position: relative;
cursor: grab;
transition: transform 0.15s ease, background 0.15s, border-color 0.15s;
padding-right: 48px !important; /* reserve room for popout and close buttons */
}
.tmt-chrome-tab.tmt-chart-tab:has(.tmt-tab-close-btn) {
padding-right: 48px !important;
}
.tmt-chrome-tab.tmt-chart-tab:not(:has(.tmt-tab-close-btn)) {
padding-right: 30px !important;
}
.tmt-chrome-tab.tmt-chart-tab:active {
cursor: grabbing;
}
.tmt-chrome-tab.tmt-chart-tab.is-dragging {
opacity: 0.45;
transform: scale(0.96);
border-style: dashed !important;
}
.tmt-chrome-tab.tmt-chart-tab.drag-over-left {
border-left: 3px solid #ff6b00 !important;
}
.tmt-chrome-tab.tmt-chart-tab.drag-over-right {
border-right: 3px solid #ff6b00 !important;
}
.tmt-tab-popout-btn {
position: absolute;
right: 27px;
top: 50%;
transform: translateY(-50%);
width: 17px;
height: 17px;
border-radius: 4px;
border: none;
background: transparent;
color: #94a3b8;
font-size: 12px;
font-weight: 900;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0;
transition: all 0.15s ease;
z-index: 2;
}
.tmt-chrome-tab.tmt-chart-tab:not(:has(.tmt-tab-close-btn)) .tmt-tab-popout-btn {
right: 8px;
}
.tmt-tab-popout-btn:hover {
background: rgba(14, 165, 233, 0.18);
color: #0284c7;
}
.tmt-tab-close-btn {
position: absolute;
right: 7px;
top: 50%;
transform: translateY(-50%);
width: 17px;
height: 17px;
border-radius: 50%;
border: none;
background: transparent;
color: #94a3b8;
font-size: 11px;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0;
transition: all 0.15s ease;
}
.tmt-tab-close-btn:hover {
background: rgba(239, 68, 68, 0.18);
color: #ef4444;
}
.tmt-chrome-add-chart-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin-bottom: 7px;
margin-left: 2px;
border-radius: 50%;
background: #f1f5f9;
border: 1.5px solid #cbd5e1;
color: #475569;
font-size: 18px;
font-weight: 900;
line-height: 1;
cursor: pointer;
transition: all 0.15s ease;
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
outline: none;
user-select: none;
flex-shrink: 0;
}
.tmt-chrome-add-chart-btn:hover {
background: #ff6b00;
color: #ffffff;
border-color: #ea580c;
transform: scale(1.1);
}
/* =========================================================================
SBI SECURITIES-STYLE PRO OPTION CHAIN MODAL & TABLE
========================================================================= */
.tmt-sbi-chain-window {
width: 680px;
max-width: 98vw;
background: #ffffff;
border-radius: 14px;
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(203, 213, 225, 0.9);
border: 1px solid #cbd5e1;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.tmt-sbi-chain-header {
padding: 10px 14px;
background: #ffffff;
border-bottom: 1px solid #e2e8f0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
user-select: none;
}
.tmt-sbi-spot-title {
font-size: 14px;
font-weight: 800;
color: #0f172a;
display: flex;
align-items: baseline;
gap: 6px;
}
.tmt-sbi-spot-val {
font-family: monospace;
font-size: 15px;
font-weight: 900;
color: #0f172a;
}
.tmt-sbi-spot-chg {
font-size: 12px;
font-weight: 800;
}
.tmt-sbi-tab-switcher {
display: inline-flex;
align-items: center;
background: #f1f5f9;
border-radius: 20px;
padding: 2px;
border: 1px solid #e2e8f0;
}
.tmt-sbi-tab-btn {
background: transparent;
border: none;
padding: 4px 12px;
border-radius: 16px;
font-size: 11.5px;
font-weight: 800;
color: #64748b;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-sbi-tab-btn.active {
background: #4f46e5;
color: #ffffff;
box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}
/* Highlights Bar (Call / PCR / Put) */
.tmt-sbi-summary-bar {
display: flex;
align-items: stretch;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
font-size: 11.5px;
}
.tmt-sbi-card-call {
flex: 1;
background: #059669;
color: #ffffff;
padding: 6px 12px;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 800;
}
.tmt-sbi-card-pcr {
width: 140px;
min-width: 140px;
background: #f8fafc;
border-left: 1px solid #e2e8f0;
border-right: 1px solid #e2e8f0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4px 8px;
font-size: 10px;
font-weight: 800;
color: #475569;
text-align: center;
}
.tmt-sbi-pcr-val {
font-size: 13px;
font-weight: 900;
color: #0f172a;
}
.tmt-sbi-card-put {
flex: 1;
background: #f43f5e;
color: #ffffff;
padding: 6px 12px;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 800;
}
.tmt-sbi-table-container {
max-height: 380px;
height: 380px;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: thin;
position: relative;
background: #ffffff;
}
.tmt-sbi-chain-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
font-size: 11.5px;
}
.tmt-sbi-chain-table thead th {
position: sticky;
top: 0;
z-index: 5;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
font-size: 10.5px;
font-weight: 800;
color: #475569;
padding: 6px 4px;
text-align: center;
user-select: none;
}
.tmt-sbi-row {
border-bottom: 1px solid #f1f5f9;
height: 38px;
transition: background 0.1s ease;
position: relative;
}
.tmt-sbi-row:hover {
background: #f8fafc;
}
.tmt-sbi-itm-call {
background: #eff6ff !important;
}
.tmt-sbi-itm-put {
background: #eff6ff !important;
}
/* Cell OI Bar Container */
.tmt-sbi-cell-oi {
position: relative;
padding: 4px 6px;
text-align: center;
font-family: monospace;
}
.tmt-sbi-bar-fill {
position: absolute;
bottom: 2px;
height: 4px;
background: #f97316;
border-radius: 2px;
opacity: 0.85;
pointer-events: none;
}
.tmt-sbi-bar-fill-call {
right: 6px;
}
.tmt-sbi-bar-fill-put {
left: 6px;
}
.tmt-sbi-oi-tag {
position: absolute;
top: 2px;
font-size: 9px;
font-weight: 900;
padding: 1px 4px;
border-radius: 3px;
color: #ffffff;
line-height: 1.1;
pointer-events: none;
}
.tmt-sbi-oi-tag-1 {
background: #ec4899;
}
.tmt-sbi-oi-tag-2 {
background: #f43f5e;
}
.tmt-sbi-oi-main {
font-weight: 900;
font-size: 12px;
color: #0f172a;
}
.tmt-sbi-oi-sub {
font-size: 10px;
font-weight: 700;
line-height: 1;
}
/* LTP Cells */
.tmt-sbi-cell-ltp {
padding: 4px 6px;
font-family: monospace;
cursor: pointer;
user-select: none;
}
.tmt-sbi-ltp-val {
font-size: 12.5px;
font-weight: 900;
}
.tmt-sbi-ltp-sub {
font-size: 10px;
font-weight: 700;
line-height: 1;
}
/* Middle Strike Cell */
.tmt-sbi-cell-strike {
width: 140px;
min-width: 140px;
background: #fdfefe;
border-left: 1px solid #f1f5f9;
border-right: 1px solid #f1f5f9;
text-align: center;
padding: 3px 4px;
position: relative;
}
.tmt-sbi-strike-main {
font-family: monospace;
font-size: 13px;
font-weight: 900;
color: #0f172a;
letter-spacing: 0.3px;
}
.tmt-sbi-strike-sub {
font-size: 9.5px;
font-weight: 700;
color: #64748b;
margin-top: 1px;
}
/* Dynamic Smart Badges (S1, R1, SPOT) */
.tmt-sbi-badge-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px 12px;
border-radius: 12px;
color: #ffffff;
font-weight: 900;
font-size: 11px;
letter-spacing: 0.3px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
white-space: nowrap;
}
.tmt-sbi-badge-spot {
background: #4f46e5;
}
.tmt-sbi-badge-s1 {
background: #059669;
}
.tmt-sbi-badge-r1 {
background: #dc2626;
}
/* Quick Buy on hover */
.tmt-sbi-row-actions {
display: none;
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
gap: 3px;
z-index: 4;
}
.tmt-sbi-row:hover .tmt-sbi-row-actions {
display: flex;
}
.tmt-sbi-btn-trade {
border: none;
border-radius: 4px;
padding: 2px 7px;
font-size: 10px;
font-weight: 900;
cursor: pointer;
color: #ffffff;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.tmt-sbi-btn-trade-call {
background: #059669;
}
.tmt-sbi-btn-trade-put {
background: #dc2626;
}
/* Today Booked Capsule: Compact Icon by default, smooth expand on hover */
.tmt-head-booked.tmt-booked-hover-expand {
display: inline-flex !important;
align-items: center !important;
height: 38px !important;
padding: 5px 10px !important;
box-sizing: border-box !important;
border-radius: 9px !important;
cursor: pointer !important;
overflow: hidden !important;
max-width: 44px !important;
transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease, box-shadow 0.25s ease !important;
}
.tmt-head-booked.tmt-booked-hover-expand .tmt-booked-icon-part {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 22px;
height: 22px;
}
.tmt-head-booked.tmt-booked-hover-expand .tmt-booked-expandable-content {
display: inline-flex;
align-items: center;
gap: 10px;
max-width: 0;
opacity: 0;
overflow: hidden;
white-space: nowrap;
margin-left: 0;
transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, margin-left 0.22s ease;
}
.tmt-head-booked.tmt-booked-hover-expand:hover,
.tmt-head-booked.tmt-booked-hover-expand:focus-visible {
max-width: 290px !important;
padding: 5px 14px !important;
box-shadow: 0 3px 10px rgba(16, 185, 129, 0.18) !important;
}
.tmt-head-booked.tmt-booked-hover-expand:hover .tmt-booked-expandable-content,
.tmt-head-booked.tmt-booked-hover-expand:focus-visible .tmt-booked-expandable-content {
max-width: 250px;
opacity: 1;
margin-left: 8px;
}
