:root {
--tmt-bg: #f8fafc;
--tmt-card-bg: #ffffff;
--tmt-card-border: #e2e8f0;
--tmt-header-bg: #ffffff;
--tmt-text-main: #0f172a;
--tmt-text-muted: #64748b;
--tmt-orange: #ff6b00;
--tmt-orange-dark: #ea580c;
--tmt-orange-light: #fff7ed;
--tmt-orange-border: #fed7aa;
--tmt-orange-glow: rgba(255, 107, 0, 0.25);
--tmt-green: #10b981;
--tmt-green-dark: #059669;
--tmt-green-light: #ecfdf5;
--tmt-green-border: #a7f3d0;
--tmt-red: #ef4444;
--tmt-red-dark: #dc2626;
--tmt-red-light: #fef2f2;
--tmt-red-border: #fecaca;
--tmt-purple: #7c3aed;
--tmt-purple-light: #f5f3ff;
--tmt-purple-border: #ddd6fe;
--tmt-amber: #d97706;
--tmt-amber-light: #fffbeb;
--tmt-amber-border: #fde68a;
}
.tmt-terminal-wrap {
margin: 0px 0 30px 0;
width: 100%;
max-width: 100%;
box-sizing: border-box;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: var(--tmt-text-main);
}
/* Header */
.tmt-terminal-header {
background: var(--tmt-header-bg);
border: 1px solid var(--tmt-card-border);
border-top: 4px solid var(--tmt-orange);
border-radius: 12px;
padding: 12px 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 20px;
box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
}
.tmt-th-left {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
flex-shrink: 0;
}
.tmt-th-logo {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-th-icon-box {
width: 36px;
height: 36px;
border-radius: 8px;
background: var(--tmt-orange-light);
border: 1px solid var(--tmt-orange-border);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: var(--tmt-orange);
box-shadow: 0 2px 6px var(--tmt-orange-glow);
flex-shrink: 0;
}
.tmt-th-title-wrap {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-th-title {
margin: 0;
font-size: 18px;
font-weight: 900;
letter-spacing: 0.3px;
color: #0f172a;
white-space: nowrap;
}
.tmt-th-title span {
color: var(--tmt-orange);
}
.tmt-live-dot {
cursor: pointer !important;
transition: transform 0.15s ease !important;
}
.tmt-live-dot:hover, .tmt-fallback-dot:hover {
transform: scale(1.3) !important;
}
.tmt-fallback-dot {
width: 10px !important;
height: 10px !important;
border-radius: 50% !important;
background: #f59e0b !important;
display: inline-block !important;
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8) !important;
animation: tmtFallbackPulse 1.8s infinite !important;
flex-shrink: 0 !important;
cursor: pointer !important;
transition: transform 0.15s ease !important;
}
@keyframes tmtFallbackPulse {
0% {
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
}
70% {
box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
}
}
.tmt-live-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: #10b981;
display: inline-block;
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
animation: tmtLivePulse 1.8s infinite;
flex-shrink: 0;
}
.tmt-offline-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: #94a3b8;
display: inline-block;
flex-shrink: 0;
}
@keyframes tmtLivePulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
}
70% {
transform: scale(1.15);
box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}
}
.tmt-badge {
font-size: 11px;
font-weight: 700;
padding: 5px 12px;
border-radius: 9999px;
display: inline-flex;
align-items: center;
gap: 6px;
letter-spacing: 0.3px;
}
.tmt-badge-live {
background: var(--tmt-green-light);
color: var(--tmt-green-dark);
border: 1px solid var(--tmt-green-border);
}
.tmt-badge-offline {
background: var(--tmt-red-light);
color: var(--tmt-red-dark);
border: 1px solid var(--tmt-red-border);
}
.tmt-badge-id {
background: var(--tmt-orange-light);
color: var(--tmt-orange-dark);
border: 1px solid var(--tmt-orange-border);
}
.tmt-badge-shield {
background: var(--tmt-amber-light);
color: var(--tmt-amber);
border: 1px solid var(--tmt-amber-border);
}
.tmt-badge-danger {
background: var(--tmt-red-light);
color: var(--tmt-red-dark);
border: 1px solid var(--tmt-red);
animation: pulseDanger 1.5s infinite;
}
.tmt-pulse-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: currentColor;
display: inline-block;
box-shadow: 0 0 4px currentColor;
}
@keyframes pulseDanger {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.8; transform: scale(1.04); }
}
/* Tabbed Trading Panel */
.tmt-trade-tabs {
display: inline-flex;
align-items: center;
gap: 4px;
background: #f1f5f9;
padding: 4px;
border-radius: 10px;
border: 1px solid var(--tmt-card-border);
}
.tmt-trade-tab {
padding: 6px 13px;
font-size: 13px;
font-weight: 700;
border: none;
background: transparent;
color: var(--tmt-text-muted);
border-radius: 7px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.15s ease;
user-select: none;
line-height: 1.2;
}
.tmt-trade-tab:hover {
color: var(--tmt-text-main);
background: rgba(255, 255, 255, 0.6);
}
.tmt-trade-tab.active {
background: #ffffff;
color: var(--tmt-orange-dark);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
font-weight: 800;
}
.tmt-tab-cnt {
font-size: 11px;
font-weight: 800;
padding: 1px 7px;
border-radius: 9999px;
background: #e2e8f0;
color: #475569;
}
.tmt-trade-tab.active .tmt-tab-cnt {
background: var(--tmt-orange-light);
color: var(--tmt-orange-dark);
}
.tmt-trade-tab-pane {
animation: fadeInPane 0.2s ease;
}
@keyframes fadeInPane {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
/* Integrated Pending Orders Box in Today Tab */
.tmt-today-pending-box {
background: #ffffff;
border: 2.5px solid #f59e0b !important;
border-radius: 12px;
margin-bottom: 18px;
box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.22), 0 4px 10px -2px rgba(0, 0, 0, 0.08) !important;
overflow: hidden;
height: auto !important;
min-height: 0 !important;
max-height: none !important;
transition: all 0.2s ease;
}
.tmt-pending-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 14px;
background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
border-bottom: 2px solid #fde68a;
}
.tmt-pending-header-left {
display: flex;
align-items: center;
gap: 8px;
}
.tmt-pending-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #d97706;
display: inline-block;
box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
animation: tmtPendingPulse 1.5s infinite;
}
@keyframes tmtPendingPulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(217, 119, 6, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}
.tmt-pending-title {
font-size: 11.5px;
font-weight: 800;
color: #92400e;
letter-spacing: 0.4px;
text-transform: uppercase;
}
.tmt-btn-cancel-all {
padding: 4px 10px;
font-size: 11px;
font-weight: 800;
border-radius: 6px;
border: 1px solid #fecaca;
background: #ffffff;
color: #dc2626;
cursor: pointer;
transition: all 0.15s ease;
line-height: 1.2;
}
.tmt-btn-cancel-all:hover {
background: #fee2e2;
border-color: #f87171;
transform: translateY(-1px);
}
.tmt-pending-table-wrap {
height: auto !important;
min-height: 0 !important;
max-height: 240px !important;
overflow-y: auto !important;
overflow-x: auto;
position: relative;
border: none !important;
background: #ffffff;
}
.tmt-pending-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 0 !important;
}
.tmt-pending-table th {
background: #f8fafc !important;
padding: 7px 12px !important;
font-size: 11px !important;
font-weight: 800;
color: #64748b;
border-bottom: 1px solid #e2e8f0;
}
.tmt-pending-table td {
padding: 8px 12px !important;
font-size: 12px !important;
border-bottom: 1px solid #f1f5f9;
}
.tmt-pending-table tr:last-child td {
border-bottom: none;
}
.tmt-tab-pending-pill {
font-size: 10px;
font-weight: 800;
padding: 2px 7px;
border-radius: 9999px;
background: #d97706;
color: #ffffff;
margin-left: 4px;
display: inline-flex;
align-items: center;
line-height: 1.2;
animation: tmtPillPulse 2s infinite;
}
@keyframes tmtPillPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.75; }
}
.tmt-th-actions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
flex-shrink: 0;
}
/* Header Center Capsules & More Dropdown */
.tmt-th-center {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.tmt-head-capsule {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 7px 14px;
border-radius: 10px;
border: 1px solid var(--tmt-card-border);
background: #ffffff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.tmt-head-pnl.is-profit,
.tmt-head-booked.is-profit {
background: #ecfdf5;
border-color: #a7f3d0;
}
.tmt-head-pnl.is-loss,
.tmt-head-booked.is-loss {
background: #fef2f2;
border-color: #fecaca;
}
.tmt-head-margin {
background: #eff6ff;
border-color: #bfdbfe;
}
/* ADMIN-ONLY AI SIGNALS HEADER CAPSULE */
/* LIVE MARKET TIME HEADER CAPSULE (FIXED SIZE, NO RESIZING) */
.tmt-head-clock {
cursor: default;
position: relative;
user-select: none;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 178px !important;
min-width: 178px !important;
max-width: 178px !important;
height: 40px !important;
padding: 0 10px !important;
border-radius: 10px !important;
border: 1px solid var(--tmt-card-border, #e2e8f0) !important;
background: #ffffff !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
flex-shrink: 0 !important;
box-sizing: border-box !important;
overflow: hidden !important;
}
.tmt-head-clock:hover {
border-color: #cbd5e1 !important;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07) !important;
}
.tmt-clock-inner {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
width: 100% !important;
height: 100% !important;
gap: 6px !important;
}
.tmt-clock-icon {
flex-shrink: 0 !important;
color: #0284c7 !important;
}
#tmt-header-clock-val {
font-family: 'SF Mono', Consolas, 'Liberation Mono', Menlo, Monaco, 'Courier New', monospace !important;
font-variant-numeric: tabular-nums !important;
font-feature-settings: "tnum" 1 !important;
font-size: 16.5px !important;
font-weight: 850 !important;
color: #0f172a !important;
letter-spacing: 0.2px !important;
cursor: pointer !important;
user-select: none !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
white-space: nowrap !important;
line-height: 1 !important;
flex: 1 !important;
}
#tmt-clock-digits {
display: inline-block !important;
width: 84px !important;
min-width: 84px !important;
max-width: 84px !important;
text-align: center !important;
font-size: 16.5px !important;
font-weight: 850 !important;
font-variant-numeric: tabular-nums !important;
font-feature-settings: "tnum" 1 !important;
font-family: 'SF Mono', Consolas, 'Liberation Mono', Menlo, Monaco, monospace !important;
color: #0f172a !important;
line-height: 1 !important;
}
#tmt-clock-ampm {
font-size: 10px !important;
font-weight: 800 !important;
color: #0284c7 !important;
background: #e0f2fe !important;
padding: 2px 4px !important;
border-radius: 4px !important;
margin-left: 3px !important;
display: inline-block !important;
width: 24px !important;
min-width: 24px !important;
text-align: center !important;
letter-spacing: 0 !important;
line-height: 1.1 !important;
}
.tmt-clock-eye-btn {
background: none !important;
border: none !important;
padding: 3px 4px !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
color: #94a3b8 !important;
border-radius: 5px !important;
transition: all 0.15s ease !important;
flex-shrink: 0 !important;
}
.tmt-clock-eye-btn:hover {
color: #0284c7 !important;
background: rgba(2, 132, 199, 0.1) !important;
}
.tmt-head-clock.is-hidden {
background: #f8fafc !important;
opacity: 0.85 !important;
}
.tmt-head-clock.is-hidden #tmt-header-clock-val,
.tmt-head-clock.is-hidden #tmt-clock-digits {
color: #94a3b8 !important;
}
.tmt-head-ai-signals {
cursor: pointer;
transition: all 0.2s ease;
position: relative;
user-select: none;
display: inline-flex;
align-items: center;
gap: 10px;
}
.tmt-head-ai-signals.has-signals {
background: #fff7ed !important;
border: 1.5px solid #fdba74 !important;
box-shadow: 0 2px 10px rgba(249, 115, 22, 0.18) !important;
}
.tmt-head-ai-signals.is-empty {
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
opacity: 0.85;
}
.tmt-head-ai-signals:hover {
transform: translateY(-1px);
box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25) !important;
border-color: #f97316 !important;
}
.tmt-ai-sig-indicator {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tmt-ai-sig-robot {
font-size: 16px;
line-height: 1;
}
.tmt-ai-sig-dot {
display: none;
position: absolute;
top: -2px;
right: -2px;
width: 8px;
height: 8px;
border-radius: 50%;
background: #ea580c;
}
.tmt-ai-sig-dot.is-pulsing {
display: block;
animation: tmtAiPulse 1.6s infinite ease-out;
}
@keyframes tmtAiPulse {
0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
70% { box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); }
100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}
/* AI SIGNALS GLOW & PULSE ANIMATION UNTIL OPENED */
.tmt-head-ai-signals.is-animating {
animation: tmtAiCapsuleGlow 1.8s infinite ease-in-out !important;
border-color: #ea580c !important;
}
.tmt-head-ai-signals.is-animating .tmt-ai-sig-robot {
display: inline-block;
animation: tmtAiRobotBounce 1.8s infinite ease-in-out !important;
}
.tmt-head-ai-signals.is-animating #tmt-header-ai-signals-badge {
animation: tmtAiBadgePulse 1.8s infinite ease-in-out !important;
}
@keyframes tmtAiCapsuleGlow {
0% {
box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.55), 0 2px 8px rgba(234, 88, 12, 0.2);
transform: scale(1);
}
50% {
box-shadow: 0 0 0 7px rgba(234, 88, 12, 0), 0 4px 18px rgba(234, 88, 12, 0.45);
transform: scale(1.04);
}
100% {
box-shadow: 0 0 0 0 rgba(234, 88, 12, 0), 0 2px 8px rgba(234, 88, 12, 0.2);
transform: scale(1);
}
}
@keyframes tmtAiRobotBounce {
0%, 100% {
transform: translateY(0) rotate(0deg);
}
25% {
transform: translateY(-2.5px) rotate(-8deg);
}
50% {
transform: translateY(0) rotate(0deg);
}
75% {
transform: translateY(-2.5px) rotate(8deg);
}
}
@keyframes tmtAiBadgePulse {
0%, 100% {
opacity: 0.9;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.08);
color: #c2410c !important;
}
}
/* AI SIGNALS MODAL STYLES */
.tmt-ai-signals-modal-card {
width: 1140px !important;
max-width: 96vw !important;
max-height: 88vh !important;
display: flex !important;
flex-direction: column !important;
background: #ffffff !important;
border-radius: 18px !important;
box-shadow: 0 25px 60px -15px rgba(249, 115, 22, 0.28), 0 0 0 1px rgba(249, 115, 22, 0.25) !important;
overflow: hidden !important;
animation: tmtModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes tmtModalPop {
0% { opacity: 0; transform: scale(0.96) translateY(8px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}
/* Option 2: Interactive Engine Filter Bar */
.tmt-ai-filter-bar {
display: flex !important;
align-items: center !important;
gap: 8px !important;
margin-bottom: 16px !important;
padding-bottom: 12px !important;
border-bottom: 1.5px dashed #e2e8f0 !important;
overflow-x: auto !important;
scrollbar-width: none !important;
}
.tmt-ai-filter-bar::-webkit-scrollbar {
display: none !important;
}
.tmt-ai-filter-group {
display: flex !important;
align-items: center !important;
gap: 8px !important;
flex-wrap: nowrap !important;
}
.tmt-ai-filter-btn {
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
padding: 6px 13px !important;
font-size: 11.5px !important;
font-weight: 700 !important;
border-radius: 999px !important;
border: 1px solid #e2e8f0 !important;
background: #ffffff !important;
color: #475569 !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
white-space: nowrap !important;
user-select: none !important;
line-height: 1 !important;
}
.tmt-ai-filter-btn:hover {
background: #f8fafc !important;
border-color: #cbd5e1 !important;
color: #0f172a !important;
}
.tmt-ai-filter-btn.active {
background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
color: #ffffff !important;
border-color: transparent !important;
box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28) !important;
}
.tmt-ai-filter-btn .tmt-filter-count {
background: rgba(0, 0, 0, 0.08) !important;
font-size: 10px !important;
font-weight: 800 !important;
padding: 2px 6px !important;
border-radius: 10px !important;
font-family: var(--font-mono, monospace) !important;
}
.tmt-ai-filter-btn.active .tmt-filter-count {
background: rgba(255, 255, 255, 0.25) !important;
color: #ffffff !important;
}
/* AI Signal Card */
.tmt-ai-signal-card {
display: flex !important;
flex-direction: column !important;
gap: 10px !important;
padding: 14px 16px !important;
background: #ffffff !important;
border: 1.5px solid #f1f5f9 !important;
border-radius: 14px !important;
margin-bottom: 12px !important;
transition: all 0.2s ease !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}
.tmt-ai-signal-card.is-filtered-out,
.tmt-ai-signal-card[style*="display: none"] {
display: none !important;
}
.tmt-ai-signal-card:hover {
border-color: #fed7aa !important;
box-shadow: 0 6px 20px rgba(249, 115, 22, 0.08) !important;
background: #fffdfb !important;
}
.tmt-ai-card-top-grid {
display: grid !important;
grid-template-columns: minmax(280px, 2.6fr) minmax(260px, 2.2fr) 0.65fr 1.65fr !important;
gap: 12px !important;
align-items: center !important;
width: 100% !important;
}
/* Option 4: Live Target & Profit/Loss Progress Bar */
.tmt-ai-progress-strip {
display: flex !important;
align-items: center !important;
gap: 16px !important;
margin-top: 4px !important;
padding: 10px 14px !important;
background: #f8fafc !important;
border-radius: 10px !important;
border: 1px solid #e2e8f0 !important;
}
.tmt-ai-prog-left {
display: flex !important;
flex-direction: column !important;
gap: 3px !important;
min-width: 210px !important;
flex-shrink: 0 !important;
}
.tmt-ai-pnl-status-pill {
font-size: 11px !important;
font-weight: 800 !important;
padding: 3px 8px !important;
border-radius: 6px !important;
border: 1px solid !important;
display: inline-flex !important;
align-items: center !important;
width: fit-content !important;
font-family: var(--font-mono, monospace) !important;
line-height: 1.2 !important;
}
.tmt-ai-pnl-subtext {
font-size: 10.5px !important;
font-weight: 600 !important;
color: #64748b !important;
}
.tmt-ai-prog-gauge {
flex: 1 !important;
display: flex !important;
flex-direction: column !important;
gap: 6px !important;
min-width: 0 !important;
}
.tmt-ai-prog-track {
position: relative !important;
height: 8px !important;
border-radius: 999px !important;
background: #e2e8f0 !important;
overflow: visible !important;
}
.tmt-ai-track-bg {
position: absolute !important;
inset: 0 !important;
border-radius: 999px !important;
background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, rgba(2, 132, 199, 0.1) 50%, rgba(16, 185, 129, 0.15) 100%) !important;
}
.tmt-ai-track-fill {
position: absolute !important;
top: 0 !important;
bottom: 0 !important;
border-radius: 999px !important;
transition: all 0.35s ease !important;
box-shadow: 0 0 8px rgba(16, 185, 129, 0.4) !important;
}
.tmt-ai-notch-entry {
position: absolute !important;
top: -3px !important;
width: 2.5px !important;
height: 14px !important;
background: #0284c7 !important;
transform: translateX(-50%) !important;
z-index: 2 !important;
border-radius: 1px !important;
box-shadow: 0 0 4px rgba(2, 132, 199, 0.5) !important;
}
.tmt-ai-ltp-pin {
position: absolute !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
z-index: 5 !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tmt-ai-ltp-pin-dot {
width: 14px !important;
height: 14px !important;
border-radius: 50% !important;
background: #ffffff !important;
border: 3px solid #10b981 !important;
box-shadow: 0 0 8px rgba(16, 185, 129, 0.7) !important;
}
.tmt-ai-ltp-pin.is-loss .tmt-ai-ltp-pin-dot {
border-color: #ef4444 !important;
box-shadow: 0 0 8px rgba(239, 68, 68, 0.7) !important;
}
.tmt-ai-ltp-pin-tip {
position: absolute !important;
bottom: 18px !important;
background: #0f172a !important;
color: #ffffff !important;
font-size: 10px !important;
font-weight: 800 !important;
font-family: var(--font-mono, monospace) !important;
padding: 1px 6px !important;
border-radius: 4px !important;
white-space: nowrap !important;
pointer-events: none !important;
box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
}
.tmt-ai-track-labels {
position: relative !important;
display: flex !important;
justify-content: space-between !important;
font-size: 10px !important;
font-weight: 700 !important;
color: #64748b !important;
margin-top: 4px !important;
}
.tmt-ai-track-labels .lbl-entry {
position: absolute !important;
transform: translateX(-50%) !important;
color: #0284c7 !important;
font-weight: 800 !important;
}
.tmt-ai-track-labels .lbl-sl {
color: #dc2626 !important;
}
.tmt-ai-track-labels .lbl-target {
color: #16a34a !important;
}
.tmt-ai-sig-main-col {
min-width: 0;
}
.tmt-ai-eng-tag {
display: inline-block;
padding: 2.5px 8px;
border-radius: 6px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.3px;
}
.tmt-ai-sig-time {
font-size: 11.5px;
color: #64748b;
font-weight: 600;
}
.tmt-ai-sig-symbol {
font-size: 14.5px;
font-weight: 800;
color: #0f172a;
margin: 2px 0;
letter-spacing: 0.1px;
white-space: normal !important;
word-break: break-word !important;
overflow-wrap: anywhere !important;
line-height: 1.3 !important;
}
.tmt-ai-sig-strategy {
font-size: 11.5px;
color: #64748b;
font-weight: 600;
white-space: normal !important;
word-break: break-word !important;
line-height: 1.3 !important;
}
.tmt-ai-sig-levels-col {
display: flex !important;
gap: 6px !important;
align-items: center !important;
justify-content: center !important;
flex-wrap: nowrap !important;
}
.tmt-ai-level-pill {
display: flex !important;
flex-direction: column !important;
padding: 4px 6px !important;
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
border-radius: 8px !important;
text-align: center !important;
min-width: 58px !important;
flex: 1 !important;
transition: all 0.2s ease !important;
}
.tmt-ai-level-pill.tmt-ai-pill-ltp {
flex: 1.25 !important;
min-width: 76px !important;
}
.tmt-ai-level-pill .lbl {
font-size: 9px;
text-transform: uppercase;
color: #64748b;
font-weight: 800;
letter-spacing: 0.4px;
display: flex !important;
align-items: center !important;
justify-content: center !important;
gap: 4px !important;
line-height: 1.2 !important;
margin-bottom: 2px !important;
}
.tmt-ai-diff-badge {
font-size: 8.5px !important;
font-weight: 800 !important;
font-family: var(--font-mono, monospace) !important;
padding: 1px 4px !important;
border-radius: 4px !important;
border: 1px solid transparent !important;
line-height: 1 !important;
letter-spacing: 0 !important;
display: inline-flex !important;
align-items: center !important;
}
.tmt-ai-level-pill .val {
font-size: 12px;
font-family: var(--font-mono, monospace);
font-weight: 800;
white-space: nowrap;
line-height: 1.3 !important;
display: block !important;
text-align: center !important;
}
.tmt-ai-level-pill .val-entry { color: #0284c7; }
.tmt-ai-level-pill .val-ltp { font-weight: 900; }
.tmt-ai-level-pill .val-target { color: #16a34a; }
.tmt-ai-level-pill .val-sl { color: #dc2626; }
.tmt-ai-level-pill.pill-ltp-profit {
border-color: #86efac !important;
background: #f0fdf4 !important;
}
.tmt-ai-level-pill.pill-ltp-loss {
border-color: #fca5a5 !important;
background: #fef2f2 !important;
}
.tmt-ai-sig-conf-col {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
}
.tmt-ai-conf-score {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
border-radius: 8px;
font-size: 12.5px;
font-weight: 800;
font-family: var(--font-mono, monospace);
white-space: nowrap;
}
.tmt-ai-sig-actions-col {
display: flex !important;
gap: 8px !important;
align-items: center !important;
justify-content: flex-end !important;
}
.tmt-btn-approve-quick {
background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
color: #ffffff !important;
border: none !important;
border-radius: 9px !important;
padding: 7px 11px !important;
font-size: 11.5px !important;
font-weight: 800 !important;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 6px rgba(16, 185, 129, 0.28);
display: inline-flex;
align-items: center;
gap: 3px;
white-space: nowrap !important;
}
.tmt-btn-approve-quick:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
filter: brightness(1.05);
}
.tmt-btn-reject-quick {
background: #ffffff !important;
color: #dc2626 !important;
border: 1.5px solid #fecaca !important;
border-radius: 9px !important;
padding: 6.5px 10px !important;
font-size: 11.5px !important;
font-weight: 700 !important;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap !important;
}
.tmt-btn-reject-quick:hover {
background: #fef2f2 !important;
border-color: #ef4444 !important;
color: #b91c1c !important;
}
.tmt-btn-ignore-quick {
background: #ffffff !important;
color: #64748b !important;
border: 1.5px solid #cbd5e1 !important;
border-radius: 9px !important;
padding: 6.5px 10px !important;
font-size: 11.5px !important;
font-weight: 700 !important;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap !important;
display: inline-flex;
align-items: center;
gap: 3px;
}
.tmt-btn-ignore-quick:hover {
background: #f1f5f9 !important;
border-color: #94a3b8 !important;
color: #334155 !important;
}
.tmt-ai-signal-card.is-ignored {
opacity: 0.52 !important;
background: #f8fafc !important;
border: 1.5px dashed #cbd5e1 !important;
box-shadow: none !important;
filter: grayscale(45%) !important;
transition: all 0.25s ease !important;
}
.tmt-ai-signal-card.is-ignored:hover {
opacity: 0.85 !important;
background: #f1f5f9 !important;
}
.tmt-ai-ignored-tag {
background: #e2e8f0 !important;
color: #475569 !important;
font-size: 11px !important;
font-weight: 800 !important;
padding: 4px 8px !important;
border-radius: 6px !important;
border: 1px solid #cbd5e1 !important;
display: inline-flex !important;
align-items: center !important;
gap: 4px !important;
user-select: none !important;
}
.tmt-btn-unignore-link {
background: transparent !important;
border: none !important;
color: #0284c7 !important;
font-size: 11px !important;
font-weight: 700 !important;
cursor: pointer !important;
text-decoration: underline !important;
padding: 2px 4px !important;
}
.tmt-btn-unignore-link:hover {
color: #0369a1 !important;
}
.tmt-ai-signal-card.is-approved {
opacity: 0.9 !important;
background: #f0fdf4 !important;
border: 1.5px solid #86efac !important;
box-shadow: 0 1px 4px rgba(16, 185, 129, 0.08) !important;
transition: all 0.25s ease !important;
}
.tmt-ai-signal-card.is-approved:hover {
opacity: 1 !important;
background: #ecfdf5 !important;
border-color: #4ade80 !important;
}
.tmt-ai-approved-tag {
background: #dcfce7 !important;
color: #15803d !important;
font-size: 11.5px !important;
font-weight: 800 !important;
padding: 5px 12px !important;
border-radius: 7px !important;
border: 1.5px solid #86efac !important;
display: inline-flex !important;
align-items: center !important;
gap: 4px !important;
user-select: none !important;
}
.tmt-ai-signal-card.is-rejected {
opacity: 0.58 !important;
background: #fef2f2 !important;
border: 1.5px dashed #fca5a5 !important;
box-shadow: none !important;
filter: grayscale(35%) !important;
transition: all 0.25s ease !important;
}
.tmt-ai-signal-card.is-rejected:hover {
opacity: 0.85 !important;
background: #fee2e2 !important;
}
.tmt-ai-rejected-tag {
background: #fee2e2 !important;
color: #b91c1c !important;
font-size: 11.5px !important;
font-weight: 800 !important;
padding: 5px 12px !important;
border-radius: 7px !important;
border: 1.5px solid #fca5a5 !important;
display: inline-flex !important;
align-items: center !important;
gap: 4px !important;
user-select: none !important;
}
@media (max-width: 900px) {
.tmt-ai-card-top-grid {
grid-template-columns: 1fr 1fr !important;
gap: 12px !important;
}
.tmt-ai-sig-main-col {
grid-column: 1 / -1 !important;
}
.tmt-ai-sig-levels-col {
justify-content: flex-start !important;
}
.tmt-ai-sig-actions-col {
justify-content: flex-end !important;
}
}
@media (max-width: 600px) {
.tmt-ai-card-top-grid {
grid-template-columns: 1fr !important;
gap: 10px !important;
}
.tmt-ai-sig-levels-col {
justify-content: space-between !important;
}
.tmt-ai-sig-conf-col {
flex-direction: row !important;
justify-content: flex-start !important;
gap: 8px !important;
}
.tmt-ai-sig-actions-col {
justify-content: flex-start !important;
flex-wrap: wrap !important;
}
.tmt-ai-progress-strip {
flex-direction: column !important;
align-items: stretch !important;
gap: 10px !important;
}
}
/* TODAY & BOOKED REALIZED COMPACT HOVER WIDGET */
.tmt-booked-compact-widget {
cursor: pointer;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
padding: 7px 11px !important;
user-select: none;
display: inline-flex !important;
align-items: center !important;
vertical-align: middle;
gap: 0 !important;
}
.tmt-booked-compact-widget .tmt-booked-icon-part {
transition: transform 0.2s ease;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tmt-booked-compact-widget .tmt-booked-text-part {
max-width: 0;
opacity: 0;
overflow: hidden;
white-space: nowrap;
margin-left: 0;
transition: max-width 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease, margin-left 0.22s ease;
display: inline-flex;
align-items: center;
gap: 12px;
}
.tmt-booked-compact-widget:hover,
.tmt-booked-compact-widget:focus-visible {
padding: 7px 14px !important;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
.tmt-booked-compact-widget:hover .tmt-booked-icon-part {
transform: scale(1.1);
}
.tmt-booked-compact-widget:hover .tmt-booked-text-part,
.tmt-booked-compact-widget:focus-visible .tmt-booked-text-part {
max-width: 260px;
opacity: 1;
margin-left: 10px;
}
/* Bracket % Input styling & remove number spinners */
.tmt-pct-box-wrap {
display: inline-flex !important;
align-items: center !important;
box-sizing: border-box !important;
transition: all 0.2s ease !important;
}
.tmt-dual-input-group {
transition: all 0.2s ease !important;
}
.tmt-dual-input-group input {
box-shadow: none !important;
}
.tmt-dual-input-group input:focus {
outline: none !important;
box-shadow: none !important;
}
.tmt-dual-input-group input[type=number]::-webkit-inner-spin-button,
.tmt-dual-input-group input[type=number]::-webkit-outer-spin-button {
opacity: 1 !important;
cursor: pointer !important;
}
/* Available Margin Compact Toggle Widget & Floating Popover */
.tmt-margin-toggle-widget {
display: inline-flex;
align-items: center;
position: relative;
vertical-align: middle;
}
.tmt-btn-margin-compact {
background: #f0f9ff !important;
border: 1.5px solid #bae6fd !important;
color: #0369a1 !important;
width: 36px !important;
height: 34px !important;
padding: 0 !important;
border-radius: 8px !important;
display: inline-flex !important;
align-items: center;
justify-content: center;
cursor: pointer;
white-space: nowrap;
transition: all 0.18s ease;
flex-shrink: 0;
box-sizing: border-box !important;
}
.tmt-btn-margin-compact:hover {
background: #e0f2fe !important;
border-color: #7dd3fc !important;
box-shadow: 0 2px 10px rgba(2, 132, 199, 0.22) !important;
transform: scale(1.05);
}
.tmt-btn-margin-compact .tmt-btn-icon-part {
font-size: 16px;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tmt-btn-margin-compact .tmt-btn-text-part {
display: none !important;
}
.tmt-margin-floating-popover {
position: absolute !important;
top: calc(100% + 6px) !important;
left: 0 !important;
z-index: 1050 !important;
min-width: 320px;
max-width: 360px;
background: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
border-radius: 12px !important;
box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.22), 0 4px 8px -2px rgba(15, 23, 42, 0.08) !important;
padding: 12px 14px !important;
display: none;
flex-direction: column !important;
gap: 7px;
animation: tmtPopoverDrop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.tmt-margin-floating-popover::before {
content: "";
position: absolute;
top: -8px;
left: 0;
right: 0;
height: 8px;
}
.tmt-margin-floating-popover::after {
content: "";
position: absolute;
top: -5px;
left: 13px;
width: 8px;
height: 8px;
background: #ffffff;
border-left: 1.5px solid #cbd5e1;
border-top: 1.5px solid #cbd5e1;
transform: rotate(45deg);
}
.tmt-margin-floating-popover.is-open {
display: flex !important;
}
@media (hover: hover) and (pointer: fine) {
.tmt-margin-toggle-widget:hover .tmt-margin-floating-popover {
display: flex !important;
}
}
@keyframes tmtPopoverDrop {
from {
opacity: 0;
transform: translateY(-6px) scale(0.97);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.tmt-popover-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 8px;
border-bottom: 1px solid #e2e8f0;
margin-bottom: 4px;
}
.tmt-popover-body {
display: flex;
flex-direction: column;
gap: 7px;
}
.tmt-popover-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.tmt-popover-lbl {
display: flex;
align-items: center;
gap: 7px;
text-align: left;
}
.tmt-dot-indicator {
width: 7px;
height: 7px;
border-radius: 50%;
flex-shrink: 0;
}
.tmt-popover-divider {
height: 1px;
background: #f1f5f9;
margin: 2px 0;
}
.tmt-margin-capsule-close {
background: transparent;
border: none;
padding: 0;
cursor: pointer;
font-size: 13px;
font-weight: 800;
line-height: 1;
color: #64748b;
border-radius: 4px;
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
}
.tmt-margin-capsule-close:hover {
color: #ef4444 !important;
background: #fee2e2 !important;
transform: scale(1.1);
}
/* Action Buttons: Compact Icon by Default, Expand on Hover */
.tmt-btn-expand-hover {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
height: 38px !important;
padding: 0 10px !important;
border-radius: 8px !important;
font-size: 12.5px !important;
font-weight: 800 !important;
cursor: pointer !important;
transition: all 0.26s cubic-bezier(0.4, 0, 0.2, 1) !important;
overflow: hidden !important;
white-space: nowrap !important;
box-sizing: border-box !important;
flex-shrink: 0 !important;
}
.tmt-btn-expand-hover .tmt-btn-icon-part {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 14px;
line-height: 1;
flex-shrink: 0;
}
.tmt-btn-expand-hover .tmt-btn-text-part {
max-width: 0;
opacity: 0;
overflow: hidden;
white-space: nowrap;
margin-left: 0;
transition: max-width 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease, margin-left 0.22s ease;
display: inline-block;
}
.tmt-btn-expand-hover:hover,
.tmt-btn-expand-hover:focus-visible {
padding: 0 13px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}
.tmt-btn-expand-hover:hover .tmt-btn-text-part,
.tmt-btn-expand-hover:focus-visible .tmt-btn-text-part {
max-width: 140px;
opacity: 1;
margin-left: 6px;
}
/* =============================================================
* ⚙️ HEADER SETTINGS DROPDOWN COMPONENT
* ============================================================= */
.tmt-settings-dropdown-wrap {
position: relative;
display: inline-flex;
align-items: center;
}
.tmt-settings-trigger-btn {
background: #f8fafc !important;
color: #1e293b !important;
border: 1.5px solid #cbd5e1 !important;
transition: all 0.22s ease !important;
}
.tmt-settings-trigger-btn:hover,
.tmt-settings-dropdown-wrap:hover .tmt-settings-trigger-btn {
background: #f1f5f9 !important;
border-color: #94a3b8 !important;
color: #0f172a !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}
.tmt-settings-dropdown-wrap:hover .tmt-settings-trigger-btn .tmt-btn-text-part {
max-width: 140px;
opacity: 1;
margin-left: 6px;
}
.tmt-settings-dropdown-menu {
display: none;
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 220px;
background: #ffffff;
border: 1.5px solid #e2e8f0;
border-radius: 12px;
box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.18), 0 4px 8px -2px rgba(0, 0, 0, 0.08);
padding: 8px;
flex-direction: column;
gap: 5px;
z-index: 999999;
}
.tmt-settings-dropdown-wrap:hover .tmt-settings-dropdown-menu,
.tmt-settings-dropdown-menu.is-open {
display: flex !important;
animation: tmtSettingsFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes tmtSettingsFadeIn {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
.tmt-settings-menu-item {
display: flex !important;
align-items: center !important;
justify-content: flex-start !important;
width: 100% !important;
gap: 10px !important;
padding: 9px 12px !important;
border-radius: 8px !important;
border: 1px solid #f1f5f9 !important;
background: #f8fafc !important;
color: #1e293b !important;
font-size: 13px !important;
font-weight: 700 !important;
cursor: pointer !important;
text-align: left !important;
transition: all 0.15s ease !important;
white-space: nowrap !important;
box-sizing: border-box !important;
line-height: 1.3 !important;
}
.tmt-settings-menu-item:hover {
background: #f1f5f9 !important;
border-color: #cbd5e1 !important;
transform: translateX(2px);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}
.tmt-settings-menu-item .tmt-item-icon {
font-size: 15px;
line-height: 1;
flex-shrink: 0;
width: 22px;
text-align: center;
display: inline-flex;
align-items: center;
justify-content: center;
}
.tmt-settings-menu-item .tmt-item-text {
flex-grow: 1;
}
.tmt-btn-records-toggle {
background: #f8fafc !important;
color: #0f172a !important;
border: 1.5px solid #cbd5e1 !important;
transition: all 0.2s ease !important;
}
.tmt-btn-records-toggle:hover {
background: #f1f5f9 !important;
border-color: #94a3b8 !important;
color: #0284c7 !important;
box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15) !important;
}
.tmt-btn-records-toggle.is-hidden-records {
background: #fff7ed !important;
color: #ea580c !important;
border-color: #fed7aa !important;
box-shadow: 0 1px 4px rgba(234, 88, 12, 0.12) !important;
}
.tmt-btn-rs-hover {
background: #fff7ed !important;
color: #ea580c !important;
border: 1.5px solid #fed7aa !important;
}
.tmt-btn-rs-hover:hover {
background: #ffedd5 !important;
border-color: #fdba74 !important;
box-shadow: 0 2px 8px rgba(234, 88, 12, 0.18) !important;
}
.tmt-btn-disc-hover {
background: #fef2f2 !important;
color: #b91c1c !important;
border: 1.5px solid #fecaca !important;
}
.tmt-btn-disc-hover:hover {
background: #fee2e2 !important;
border-color: #fca5a5 !important;
box-shadow: 0 2px 8px rgba(185, 28, 28, 0.18) !important;
}
/* AI Confluence Bubble Header Dock Spot */
.tmt-header-hud-dock {
display: inline-flex;
align-items: center;
min-width: 10px;
min-height: 48px;
vertical-align: middle;
margin-left: 6px;
transition: all 0.2s ease;
}
.tmt-header-hud-dock.tmt-hud-dock-hidden,
.tmt-header-hud-dock:empty {
display: none !important;
visibility: hidden !important;
width: 0 !important;
min-width: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
#tmt-floating-ai-hud.tmt-hud-hidden,
.tmt-hud-container.tmt-hud-hidden,
body.tmt-terminal-mode-clean #tmt-floating-ai-hud.tmt-hud-hidden,
body.tmt-terminal-mode-fullscreen #tmt-floating-ai-hud.tmt-hud-hidden,
.tmt-hud-container.tmt-hud-docked.tmt-hud-hidden {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
}
.tmt-hud-container.tmt-hud-docked:not(.tmt-hud-hidden) {
position: static !important;
bottom: auto !important;
right: auto !important;
left: auto !important;
top: auto !important;
margin: 0 !important;
display: inline-flex !important;
align-items: center !important;
z-index: 10 !important;
}
.tmt-hud-container.tmt-hud-docked .tmt-hud-compact {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
border: 1.5px solid #cbd5e1 !important;
border-radius: 10px !important;
padding: 5px 8px 6px 7px !important;
min-width: 175px !important;
background: #ffffff !important;
height: auto !important;
min-height: 48px !important;
box-sizing: border-box !important;
overflow: hidden !important;
}
.tmt-hud-container.tmt-hud-docked .tmt-hud-compact:hover {
border-color: #ff6b00 !important;
box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2) !important;
}
.tmt-hud-container.tmt-hud-docked .tmt-hud-compact-content {
gap: 3px !important;
}
.tmt-hud-container.tmt-hud-docked .tmt-hud-pill {
padding: 2px 5px !important;
font-size: 10.5px !important;
}
.tmt-hud-container.tmt-hud-docked .tmt-hud-val {
font-size: 11px !important;
padding: 1px 5px !important;
}
.tmt-capsule-col {
display: flex;
flex-direction: column;
line-height: 1.15;
}
.tmt-capsule-lbl {
font-size: 9.5px;
font-weight: 800;
letter-spacing: 0.5px;
text-transform: uppercase;
color: #64748b;
margin-bottom: 2px;
}
.tmt-head-pnl.is-profit .tmt-capsule-lbl,
.tmt-head-booked.is-profit .tmt-capsule-lbl {
color: #047857;
}
.tmt-head-pnl.is-loss .tmt-capsule-lbl,
.tmt-head-booked.is-loss .tmt-capsule-lbl {
color: #b91c1c;
}
.tmt-head-margin .tmt-capsule-lbl {
color: #1d4ed8;
}
.tmt-capsule-lbl-sub {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.3px;
text-transform: uppercase;
color: #94a3b8;
margin-bottom: 2px;
}
.tmt-capsule-val {
font-size: 14.5px;
font-weight: 900;
color: #0f172a;
white-space: nowrap;
}
.tmt-head-margin .tmt-capsule-val {
color: #1e40af;
}
.tmt-capsule-subval {
font-size: 12px;
font-weight: 800;
color: #475569;
white-space: nowrap;
}
.tmt-capsule-divider {
width: 1px;
height: 24px;
background: rgba(0, 0, 0, 0.08);
}
.tmt-head-pnl.is-profit .tmt-capsule-divider,
.tmt-head-booked.is-profit .tmt-capsule-divider {
background: #a7f3d0;
}
.tmt-head-pnl.is-loss .tmt-capsule-divider,
.tmt-head-booked.is-loss .tmt-capsule-divider {
background: #fecaca;
}
.tmt-head-margin .tmt-capsule-divider {
background: #bfdbfe;
}
/* More Dropdown */
.tmt-more-dropdown-wrap {
position: relative;
display: inline-block;
}
.tmt-more-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 9px 14px;
font-weight: 700;
cursor: pointer;
}
.tmt-more-arrow {
font-size: 9px;
color: #64748b;
transition: transform 0.2s ease;
}
.tmt-more-dropdown-wrap.open .tmt-more-arrow {
transform: rotate(180deg);
}
.tmt-more-dropdown-menu {
position: absolute;
top: calc(100% + 6px);
right: 0;
min-width: 225px;
background: #ffffff;
border: 1px solid var(--tmt-card-border);
border-radius: 12px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
z-index: 1050;
padding: 6px 0;
animation: tmtMenuFadeIn 0.15s ease-out;
}
@keyframes tmtMenuFadeIn {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
.tmt-more-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px 8px 14px;
border-bottom: 1px solid #f1f5f9;
margin-bottom: 4px;
background: #f8fafc;
border-radius: 11px 11px 0 0;
}
.tmt-more-header-label {
font-size: 9px;
font-weight: 800;
color: #94a3b8;
text-transform: uppercase;
display: block;
letter-spacing: 0.5px;
}
.tmt-more-header-client {
font-size: 13px;
font-weight: 900;
color: #1e293b;
}
.tmt-more-header-status {
font-size: 10px;
font-weight: 800;
padding: 2px 7px;
border-radius: 6px;
text-transform: uppercase;
}
.tmt-more-header-status.status-active {
background: #dcfce7;
color: #15803d;
border: 1px solid #bbf7d0;
}
.tmt-more-header-status.status-offline {
background: #f1f5f9;
color: #64748b;
border: 1px solid #cbd5e1;
}
.tmt-more-menu-items {
padding: 2px 4px;
}
.tmt-more-menu-item {
width: 100%;
display: flex;
align-items: center;
gap: 10px;
padding: 9px 12px;
background: transparent;
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
color: #334155;
cursor: pointer;
text-align: left;
transition: background 0.15s ease, color 0.15s ease;
box-sizing: border-box;
}
.tmt-more-menu-item:hover {
background: #fff7ed;
color: #c2410c;
}
.tmt-more-menu-item.tmt-menu-item-shield:hover {
background: #fffbeb;
color: #b45309;
}
.tmt-more-menu-item.tmt-menu-item-danger {
color: #dc2626;
}
.tmt-more-menu-item.tmt-menu-item-danger:hover {
background: #fef2f2;
color: #b91c1c;
}
.tmt-more-divider {
height: 1px;
background: #f1f5f9;
margin: 4px 6px;
}
.tmt-menu-icon {
font-size: 15px;
line-height: 1;
display: inline-flex;
align-items: center;
}
.mono {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
}
/* Common Buttons */
.tmt-btn {
padding: 9px 16px;
font-size: 13px;
font-weight: 700;
border-radius: 8px;
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.2s ease;
text-decoration: none;
line-height: 1.2;
white-space: nowrap;
flex-shrink: 0;
}
.tmt-btn-primary {
background: linear-gradient(135deg, var(--tmt-orange), var(--tmt-orange-dark));
color: #ffffff !important;
box-shadow: 0 2px 8px var(--tmt-orange-glow);
}
.tmt-btn-primary:hover {
background: linear-gradient(135deg, #f97316, #c2410c);
color: #fff !important;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}
.tmt-btn-shield {
background: var(--tmt-amber-light);
color: var(--tmt-amber);
border: 1px solid var(--tmt-amber-border);
}
.tmt-btn-shield:hover {
background: #fef3c7;
}
.tmt-btn-danger {
background: var(--tmt-red);
color: #ffffff;
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}
.tmt-btn-danger:hover {
background: var(--tmt-red-dark);
}
.tmt-btn-secondary {
background: #ffffff;
color: var(--tmt-text-main);
border: 1px solid var(--tmt-card-border);
}
.tmt-btn-secondary:hover {
background: #f1f5f9;
}
.tmt-terminal-wrap .tmt-btn-outline,
.tmt-btn-outline,
.tmt-btn-ghost {
width: auto !important;
height: auto !important;
border-radius: 8px !important;
padding: 9px 16px !important;
background: #ffffff !important;
color: var(--tmt-text-muted) !important;
border: 1px solid var(--tmt-card-border) !important;
display: inline-flex !important;
align-items: center !important;
white-space: nowrap !important;
}
.tmt-terminal-wrap .tmt-btn-outline:hover,
.tmt-btn-outline:hover,
.tmt-btn-ghost:hover {
background: #f1f5f9 !important;
color: #0f172a !important;
}
.tmt-btn-icon {
background: #ffffff;
border: 1px solid var(--tmt-card-border);
color: var(--tmt-text-muted);
padding: 9px 12px;
font-size: 14px;
}
.tmt-btn-icon:hover {
background: #f8fafc;
color: var(--tmt-orange);
transform: rotate(45deg);
}
/* Alerts */
.tmt-alert {
padding: 12px 18px;
border-radius: 8px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13.5px;
}
.tmt-alert button {
background: transparent;
border: none;
color: inherit;
font-size: 16px;
cursor: pointer;
}
.tmt-alert-success {
background: var(--tmt-green-light);
border: 1px solid var(--tmt-green-border);
color: var(--tmt-green-dark);
}
.tmt-alert-danger {
background: var(--tmt-red-light);
border: 1px solid var(--tmt-red-border);
color: var(--tmt-red-dark);
}
/* KPI Cards */
.tmt-kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 16px;
margin-bottom: 22px;
}
.tmt-kpi-card {
background: var(--tmt-card-bg);
border: 1px solid var(--tmt-card-border);
border-radius: 12px;
padding: 18px;
position: relative;
box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
}
.tmt-kpi-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.tmt-kpi-label {
font-size: 11px;
font-weight: 800;
letter-spacing: 0.5px;
color: var(--tmt-text-muted);
}
.tmt-kpi-pill {
font-size: 10px;
font-weight: 700;
padding: 2px 7px;
border-radius: 4px;
background: #f1f5f9;
color: var(--tmt-text-muted);
}
.tmt-kpi-val {
font-size: 28px;
font-weight: 900;
line-height: 1.1;
margin-bottom: 8px;
letter-spacing: -0.5px;
color: #0f172a;
}
.tmt-kpi-sub {
font-size: 11.5px;
color: var(--tmt-text-muted);
}
.text-orange { color: var(--tmt-orange); }
.text-purple { color: var(--tmt-purple); }
.text-amber { color: var(--tmt-amber); }
.text-green { color: var(--tmt-green-dark); }
.text-red { color: var(--tmt-red-dark); }
.tmt-risk-bar-wrap {
height: 8px;
background: #f1f5f9;
border-radius: 4px;
overflow: hidden;
margin: 14px 0 10px 0;
}
.tmt-risk-bar-fill {
height: 100%;
background: var(--tmt-green);
transition: width 0.3s ease, background 0.3s ease;
}
/* Main Workspace Layout (Flexbox with Draggable Splitter) */
.tmt-workspace-grid {
display: flex;
flex-wrap: nowrap !important;
gap: 0;
margin-bottom: 22px;
position: relative;
align-items: stretch;
width: 100%;
}
.tmt-scalp-box {
width: var(--tmt-left-width, 820px);
min-width: 340px;
max-width: 75%;
flex-shrink: 0;
transition: none;
display: flex;
flex-direction: column;
overflow: hidden;
}
.tmt-scalp-body {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-width: 0;
max-width: 100%;
}
.tmt-chain-view {
display: flex;
flex-direction: column;
flex: 1 1 auto;
min-width: 0;
max-width: 100%;
}
/* Draggable Resizer Splitter */
.tmt-pane-resizer {
width: 16px;
margin: 0 4px;
cursor: col-resize;
display: flex;
align-items: center;
justify-content: center;
position: relative;
user-select: none;
-webkit-user-select: none;
flex-shrink: 0;
z-index: 10;
border-radius: 6px;
transition: background 0.15s ease;
}
.tmt-pane-resizer:hover,
.tmt-pane-resizer.is-dragging {
background: rgba(255, 107, 0, 0.12);
}
.tmt-resizer-handle {
width: 4px;
height: 52px;
background: #cbd5e1;
border-radius: 4px;
transition: all 0.2s ease;
position: relative;
}
.tmt-resizer-handle::before,
.tmt-resizer-handle::after {
content: '';
position: absolute;
top: 50%;
width: 2px;
height: 16px;
background: #94a3b8;
transform: translateY(-50%);
border-radius: 2px;
}
.tmt-resizer-handle::before { left: -4px; }
.tmt-resizer-handle::after { right: -4px; }
.tmt-pane-resizer:hover .tmt-resizer-handle,
.tmt-pane-resizer.is-dragging .tmt-resizer-handle {
background: var(--tmt-orange);
box-shadow: 0 0 10px rgba(255, 107, 0, 0.55);
height: 68px;
}
.tmt-pane-resizer:hover .tmt-resizer-handle::before,
.tmt-pane-resizer:hover .tmt-resizer-handle::after,
.tmt-pane-resizer.is-dragging .tmt-resizer-handle::before,
.tmt-pane-resizer.is-dragging .tmt-resizer-handle::after {
background: var(--tmt-orange-dark);
}
#tmt-order-panel-box {
flex: 1 1 0%;
min-width: 340px;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 12px;
display: flex;
flex-direction: column;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
overflow: hidden;
padding: 0 !important;
}
#tmt-order-panel-box.panel-mode-ce {
border-color: #10b981 !important;
box-shadow: 0 4px 16px rgba(16, 185, 129, 0.14) !important;
}
#tmt-order-panel-box.panel-mode-pe {
border-color: #ef4444 !important;
box-shadow: 0 4px 16px rgba(239, 68, 68, 0.14) !important;
}
.tmt-order-panel-body {
padding: 0 !important;
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.tmt-ticket-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
height: 100%;
min-height: 290px;
padding: 24px 20px;
color: #64748b;
}
.tmt-ticket-placeholder-icon {
font-size: 52px;
margin-bottom: 16px;
line-height: 1;
}
.tmt-ticket-placeholder-title {
font-size: 19px;
font-weight: 900;
color: #0f172a;
margin: 0 0 10px 0;
}
.tmt-ticket-placeholder-desc {
font-size: 14px;
line-height: 1.6;
color: #64748b;
max-width: 330px;
margin: 0 auto;
}
#tmt-order-panel-box .tmt-strike-ticket {
border: none !important;
background: transparent !important;
padding: 0 !important;
box-shadow: none !important;
margin-top: 0 !important;
}
/* Unified Bottom Monitoring Box with Primary Tabs (Positions vs Order Book) */
#tmt-records-box {
margin-top: 18px;
padding: 18px 20px 14px 20px;
background: var(--tmt-card-bg);
border: 1px solid var(--tmt-card-border);
border-radius: 12px;
box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
position: relative;
display: flex;
flex-direction: column;
}
.tmt-records-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
padding-bottom: 14px;
border-bottom: 1.5px solid #f1f5f9;
margin-bottom: 14px;
}
.tmt-records-master-tabs {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.tmt-rec-master-tab {
display: inline-flex;
align-items: center;
gap: 9px;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 10px;
padding: 10px 22px;
font-size: 15.5px;
font-weight: 800;
color: #475569;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.tmt-rec-master-tab:hover {
background: #f8fafc;
border-color: var(--tmt-orange);
color: var(--tmt-orange);
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(255, 107, 0, 0.12);
}
.tmt-rec-master-tab.active,
.tmt-rec-master-tab.active *,
.tmt-rec-master-tab.active .tmt-rec-tab-title,
.tmt-rec-master-tab.active .tmt-tab-cnt {
background: linear-gradient(135deg, var(--tmt-orange), var(--tmt-orange-dark)) !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
border-color: var(--tmt-orange-dark) !important;
box-shadow: 0 4px 14px var(--tmt-orange-glow) !important;
}
.tmt-rec-master-tab.active .tmt-tab-cnt {
background: rgba(255, 255, 255, 0.28) !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}
.tmt-rec-master-tab .tmt-tab-cnt {
background: #f1f5f9;
color: #1e293b;
font-size: 12px;
font-weight: 900;
padding: 2px 8px;
border-radius: 6px;
transition: all 0.2s ease;
}
.tmt-records-subhead {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding-bottom: 8px;
}
#tmt-records-box .tmt-table-wrap {
height: auto !important;
min-height: 120px;
max-height: none !important;
overflow-y: visible !important;
overflow-x: auto;
position: relative;
border: 2.5px solid #f59e0b !important;
border-radius: 12px !important;
box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.18), 0 4px 10px -2px rgba(0, 0, 0, 0.06) !important;
background: #ffffff;
}
/* Vertical Bottom Height Resizer - Hidden per user request */
.tmt-v-resizer {
display: none !important;
height: 26px;
margin-top: 12px;
margin-bottom: -2px;
align-items: center;
justify-content: center;
cursor: row-resize;
cursor: ns-resize;
user-select: none;
-webkit-user-select: none;
position: relative;
width: 100%;
transition: all 0.15s ease;
}
.tmt-v-resizer-line {
flex: 1 1 auto;
height: 1px;
background: #e2e8f0;
transition: background 0.15s ease;
}
.tmt-v-resizer-pill {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 4px 18px;
background: #f8fafc;
border: 1px solid #cbd5e1;
border-radius: 12px;
font-size: 11.5px;
font-weight: 800;
color: #64748b;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
transition: all 0.2s ease;
}
.tmt-v-resizer:hover .tmt-v-resizer-pill,
.tmt-v-resizer.is-dragging .tmt-v-resizer-pill {
background: var(--tmt-orange);
color: #ffffff;
border-color: var(--tmt-orange-dark);
box-shadow: 0 3px 12px rgba(255, 107, 0, 0.45);
transform: scale(1.04);
}
.tmt-v-resizer:hover .tmt-v-resizer-line,
.tmt-v-resizer.is-dragging .tmt-v-resizer-line {
background: var(--tmt-orange);
}
@media (max-width: 1024px) {
.tmt-terminal-top-tabs-row {
display: flex !important;
width: 100% !important;
margin-bottom: -2.5px !important;
z-index: 12 !important;
}
.tmt-top-bar-left {
width: 100% !important;
min-width: 0 !important;
max-width: 100% !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
}
.tmt-top-bar-resizer-gap {
display: none !important;
}
/* Docked Order Tabs on Mobile: Placed directly above Order Panel */
.tmt-order-tabs-mobile-docked {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
margin-top: 14px !important;
margin-bottom: -2.5px !important;
position: relative !important;
z-index: 12 !important;
display: flex !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
}
.tmt-order-tabs-mobile-docked .tmt-order-tabs-bar {
display: flex !important;
width: 100% !important;
overflow-x: auto !important;
scrollbar-width: none !important;
padding-left: 4px !important;
gap: 4px !important;
}
.tmt-order-tabs-mobile-docked .tmt-order-tab {
height: 38px !important;
padding: 0 12px !important;
}
.tmt-order-tabs-mobile-docked .tmt-order-tab.active {
height: 38px !important;
padding: 0 14px !important;
}
.tmt-workspace-grid {
flex-direction: column;
gap: 20px;
}
.tmt-scalp-box {
width: 100% !important;
min-width: auto;
max-width: 100%;
}
.tmt-pane-resizer {
display: none;
}
#tmt-order-panel-box {
width: 100% !important;
min-width: auto;
}
}
@media (max-width: 768px) {
.tmt-chrome-tabs-bar {
padding-left: 2px !important;
gap: 4px !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
width: 100% !important;
}
.tmt-chrome-tab {
padding: 0 10px !important;
height: 38px !important;
}
.tmt-chrome-tab.active {
padding: 0 12px !important;
height: 38px !important;
}
.tmt-chrome-tab.active .tmt-tab-label {
max-width: 120px !important;
font-size: 0.82em !important;
}
.tmt-order-tabs-bar {
padding-left: 2px !important;
gap: 4px !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
width: 100% !important;
}
.tmt-order-tab {
padding: 0 10px !important;
height: 38px !important;
}
.tmt-order-tab.active {
padding: 0 12px !important;
height: 38px !important;
}
.tmt-order-tab.active .tmt-ord-tab-label {
max-width: 120px !important;
font-size: 0.82em !important;
}
}
/* ========================================================================= */
/* MOBILE 4 MAIN TABS & SETTINGS PANE RESPONSIVE SYSTEM */
/* ========================================================================= */
.tmt-term-mobile-nav {
display: none;
}
.tmt-mobile-settings-pane {
display: none;
}
@media (max-width: 768px), body.tmt-mobile-mode {
.tmt-terminal-wrap {
padding-bottom: 75px !important;
margin: 0 !important;
padding-left: 6px !important;
padding-right: 6px !important;
}
.tmt-terminal-header {
display: none !important;
}
.tmt-pane-resizer {
display: none !important;
}
.tmt-workspace-grid {
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
margin-bottom: 8px !important;
}
.tmt-scalp-box {
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
}
#tmt-order-panel-box {
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
}
#tmt-records-box {
width: 100% !important;
max-width: 100% !important;
}
body.tmt-in-app .tmt-term-mobile-nav {
display: none !important;
}
body.tmt-in-app .tmt-terminal-wrap {
padding-bottom: 20px !important;
}
/* Option Chain Table Styling on Mobile */
.tmt-chain-table-wrap {
max-height: calc(100vh - 150px) !important;
min-height: 280px !important;
border-radius: 8px !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
margin-bottom: 0 !important;
}
.tmt-chain-superhead th {
padding: 6px 4px !important;
font-size: 12px !important;
}
.tmt-th-strike {
width: 68px !important;
min-width: 60px !important;
max-width: 76px !important;
}
.tmt-cell-strike {
width: 68px !important;
min-width: 60px !important;
max-width: 76px !important;
padding: 4px 2px !important;
font-size: 13px !important;
}
.tmt-chain-cell {
padding: 4px 4px !important;
}
.tmt-cell-ltp-ce,
.tmt-cell-ltp-pe {
padding: 4px 5px !important;
}
/* Header Indices & Filter Bar on Mobile */
.tmt-hub-box-header {
margin-bottom: 6px !important;
padding-bottom: 0 !important;
border-bottom: none !important;
}
.tmt-hub-box-header .tmt-box-title {
display: none !important;
}
.tmt-header-indices {
width: 100% !important;
max-width: 100% !important;
padding-bottom: 4px !important;
gap: 6px !important;
}
.tmt-h-idx-btn {
padding: 4px 10px !important;
font-size: 12px !important;
height: 28px !important;
border-radius: 6px !important;
}
.tmt-h-breadth-btn {
padding: 2px 6px !important;
font-size: 10px !important;
height: 20px !important;
}
.tmt-chain-filter-bar {
margin-bottom: 6px !important;
padding: 4px 6px !important;
gap: 6px !important;
}
.tmt-chain-expiry-group select,
.tmt-chain-select {
height: 28px !important;
font-size: 12px !important;
padding: 2px 6px !important;
}
.tmt-chain-spot-badge {
font-size: 11.5px !important;
padding: 2px 7px !important;
height: 28px !important;
display: inline-flex !important;
align-items: center !important;
}
.tmt-chain-actions-group {
gap: 4px !important;
}
.tmt-chain-select-sm,
.tmt-btn-chain-multiplier,
.tmt-btn-chain-pnl-toggle {
height: 26px !important;
font-size: 11px !important;
padding: 2px 6px !important;
}
/* LTP Combo in 2 compact stacked lines for Mobile */
.tmt-ltp-combo {
display: flex !important;
flex-wrap: wrap !important;
align-items: baseline !important;
row-gap: 1px !important;
column-gap: 4px !important;
width: 100% !important;
padding: 0 !important;
}
.tmt-ltp-combo-ce {
justify-content: flex-end !important;
text-align: right !important;
}
.tmt-ltp-combo-pe {
justify-content: flex-start !important;
text-align: left !important;
}
.tmt-ltp-combo .tmt-btn-strike-depth {
display: none !important;
}
.tmt-ltp-combo-ce .tmt-ltp-price {
order: 1 !important;
width: 100% !important;
text-align: right !important;
font-size: 13.5px !important;
font-weight: 900 !important;
line-height: 1.2 !important;
}
.tmt-ltp-combo-pe .tmt-ltp-price {
order: 1 !important;
width: 100% !important;
text-align: left !important;
font-size: 13.5px !important;
font-weight: 900 !important;
line-height: 1.2 !important;
}
.tmt-ltp-combo-ce .tmt-ltp-diff {
order: 2 !important;
font-size: 10px !important;
font-weight: 700 !important;
line-height: 1.1 !important;
}
.tmt-ltp-combo-ce .tmt-ltp-pct {
order: 3 !important;
font-size: 9.5px !important;
font-weight: 800 !important;
padding: 1px 4px !important;
min-width: 0 !important;
border-radius: 4px !important;
line-height: 1.1 !important;
}
.tmt-ltp-combo-pe .tmt-ltp-diff {
order: 2 !important;
font-size: 10px !important;
font-weight: 700 !important;
line-height: 1.1 !important;
}
.tmt-ltp-combo-pe .tmt-ltp-pct {
order: 3 !important;
font-size: 9.5px !important;
font-weight: 800 !important;
padding: 1px 4px !important;
min-width: 0 !important;
border-radius: 4px !important;
line-height: 1.1 !important;
}
.tmt-term-mobile-nav {
display: flex !important;
position: fixed !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
height: 60px !important;
background: #ffffff !important;
border-top: 1.5px solid #fed7aa !important;
align-items: center !important;
justify-content: space-around !important;
z-index: 99999 !important;
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
padding: 4px 6px !important;
padding-bottom: max(4px, env(safe-area-inset-bottom)) !important;
}
.tmt-tmn-tab {
flex: 1 !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
background: transparent !important;
border: none !important;
padding: 4px 0 !important;
cursor: pointer !important;
border-radius: 10px !important;
transition: all 0.2s ease !important;
}
.tmt-tmn-tab.active {
background: #fff7ed !important;
}
.tmt-tmn-icon {
font-size: 19px !important;
line-height: 1.2 !important;
}
.tmt-tmn-label {
font-size: 10.5px !important;
font-weight: 800 !important;
color: #64748b !important;
margin-top: 2px !important;
letter-spacing: -0.2px !important;
}
.tmt-tmn-tab.active .tmt-tmn-label {
color: #ea580c !important;
font-weight: 900 !important;
}
.tmt-mobile-settings-pane {
width: 100% !important;
box-sizing: border-box !important;
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 6px;
margin-bottom: 24px;
}
.tmt-msp-header {
background: #ffffff;
border: 1.5px solid #fed7aa;
border-radius: 14px;
padding: 14px 16px;
box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08);
}
.tmt-msp-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.tmt-msp-logo {
font-size: 14px;
font-weight: 900;
color: #0f172a;
display: flex;
align-items: center;
gap: 6px;
}
.tmt-msp-logo span {
color: #ea580c;
}
.tmt-msp-card {
background: #ffffff;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
padding: 14px 16px;
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.tmt-msp-pnl-card {
border-color: #fed7aa;
background: linear-gradient(135deg, #ffffff 0%, #fffbf7 100%);
}
.tmt-msp-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.tmt-msp-card-title {
font-size: 13px;
font-weight: 900;
color: #0f172a;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.tmt-msp-card-action {
background: #f1f5f9;
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 4px 10px;
font-size: 11px;
font-weight: 800;
color: #0284c7;
cursor: pointer;
}
.tmt-msp-pnl-grid {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 8px;
}
.tmt-msp-pnl-item {
display: flex;
flex-direction: column;
gap: 3px;
}
.tmt-msp-pnl-label {
font-size: 10px;
font-weight: 800;
color: #64748b;
text-transform: uppercase;
}
.tmt-msp-pnl-value {
font-size: 17px;
font-weight: 900;
font-family: monospace;
}
.tmt-msp-pnl-divider {
width: 1px;
height: 36px;
background: #e2e8f0;
}
.tmt-msp-actions-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.tmt-msp-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 10px;
border-radius: 12px;
border: 1.5px solid #cbd5e1;
background: #f8fafc;
color: #1e293b;
font-weight: 800;
font-size: 12.5px;
cursor: pointer;
box-sizing: border-box;
transition: all 0.2s;
}
.tmt-msp-btn-icon {
font-size: 16px;
line-height: 1;
}
.tmt-msp-btn-shield {
background: #f0fdf4;
border-color: #86efac;
color: #15803d;
}
.tmt-msp-btn-kill {
background: #fef2f2;
border-color: #fecaca;
color: #b91c1c;
}
.tmt-msp-btn-kill.is-locked {
background: #dc2626;
color: #ffffff;
border-color: #991b1b;
}
.tmt-msp-btn-panic {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
color: #ffffff;
border: none;
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
font-size: 13px;
}
.tmt-msp-btn-connect {
background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
color: #ffffff;
border: none;
box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}
.tmt-msp-btn-disconnect {
background: #fef2f2;
border-color: #fecaca;
color: #b91c1c;
}
.tmt-msp-badge {
font-size: 11px;
font-weight: 800;
padding: 3px 8px;
border-radius: 12px;
}
.badge-orange {
background: #ffedd5;
color: #ea580c;
border: 1px solid #fed7aa;
}
.badge-slate {
background: #f1f5f9;
color: #64748b;
border: 1px solid #cbd5e1;
}
}
@media (min-width: 769px) {
body:not(.tmt-mobile-mode) .tmt-term-mobile-nav {
display: none !important;
}
body:not(.tmt-mobile-mode) #tmt-mobile-settings-pane {
display: none !important;
}
}
.tmt-box {
background: var(--tmt-card-bg);
border: 2px solid var(--tmt-card-border);
border-radius: 14px;
padding: 20px;
box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
}
#tmt-records-box {
border: 2.5px solid #94a3b8 !important;
border-radius: 14px !important;
box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 6px 16px -3px rgba(15, 23, 42, 0.08) !important;
}
.tmt-box-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
border-bottom: 1px solid var(--tmt-card-border);
margin-bottom: 18px;
}
.tmt-box-title {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-box-icon {
font-size: 20px;
}
.tmt-box-title h2 {
margin: 0;
font-size: 16px;
font-weight: 800;
color: #0f172a;
}
.tmt-badge-fast {
background: var(--tmt-orange-light);
color: var(--tmt-orange-dark);
border: 1px solid var(--tmt-orange-border);
}
/* Option Execution Hub Box Header */
.tmt-hub-box-header {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: space-between;
padding-bottom: 12px;
border-bottom: 1px solid var(--tmt-card-border);
margin-bottom: 14px;
}
.tmt-hub-box-header .tmt-box-title {
flex-shrink: 0;
}
/* Header Index Fast Buttons - Single Line Horizontal Scroll */
.tmt-header-indices {
display: flex;
gap: 8px;
align-items: stretch;
flex-wrap: nowrap !important;
overflow-x: auto !important;
overflow-y: hidden !important;
max-width: 100%;
min-width: 0;
padding-bottom: 6px;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
scrollbar-color: #ff6b00 #f1f5f9;
}
.tmt-header-indices::-webkit-scrollbar {
height: 5px;
}
.tmt-header-indices::-webkit-scrollbar-track {
background: #f8fafc;
border-radius: 4px;
}
.tmt-header-indices::-webkit-scrollbar-thumb {
background: #ff8c33;
border-radius: 4px;
}
.tmt-header-indices::-webkit-scrollbar-thumb:hover {
background: #ea580c;
}
.tmt-idx-col {
display: inline-flex;
flex-direction: column;
gap: 0;
align-items: stretch;
flex-shrink: 0 !important;
min-width: 112px;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.tmt-idx-col:has(.tmt-h-idx-btn.active) {
border: 2px solid var(--tmt-orange-dark, #ea580c);
box-shadow: 0 3px 10px rgba(234, 88, 12, 0.24);
}
.tmt-idx-col .tmt-h-idx-btn {
border: none !important;
border-radius: 0 !important;
padding: 6px 13px !important;
font-size: 14.5px !important;
font-weight: 900 !important;
box-shadow: none !important;
transform: none !important;
}
.tmt-idx-col .tmt-h-idx-btn.tmt-idx-up {
background: #16a34a !important;
color: #ffffff !important;
}
.tmt-idx-col .tmt-h-idx-btn.tmt-idx-down {
background: #dc2626 !important;
color: #ffffff !important;
}
.tmt-idx-quote-pill {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
padding: 5px 10px;
background: #ffffff;
border: none;
border-top: 1px solid #f1f5f9;
border-radius: 0;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
line-height: 1.15;
white-space: nowrap;
cursor: pointer;
}
.tmt-idx-quote-pill .tmt-idx-val {
color: #0f172a;
font-size: 14px;
font-weight: 800;
}
.tmt-idx-quote-pill .tmt-idx-chg {
color: #64748b;
font-size: 11.5px;
font-weight: 700;
}
.tmt-idx-col .tmt-h-breadth-btn {
border: none !important;
border-top: 1px solid #f1f5f9 !important;
border-radius: 0 !important;
padding: 4px 8px !important;
font-size: 12.5px !important;
background: #f8fafc !important;
box-shadow: none !important;
}
.tmt-refresh-col .tmt-h-refresh-btn {
border: none !important;
border-radius: 0 !important;
padding: 5px 10px !important;
flex: 1 1 auto !important;
}
.tmt-macro-col .tmt-macro-title {
border: none !important;
border-radius: 0 !important;
padding: 5px 10px !important;
font-size: 12px !important;
}
.tmt-macro-col .tmt-macro-badge {
border: none !important;
border-top: 1px solid #f1f5f9 !important;
border-radius: 0 !important;
flex-direction: column !important;
gap: 1px !important;
padding: 4px 8px !important;
flex: 1 1 auto !important;
justify-content: center !important;
background: #ffffff !important;
}
.tmt-h-idx-btn {
background: #ffffff;
border: 1px solid #cbd5e1;
color: #334155;
padding: 6px 14px;
border-radius: 6px;
font-size: 13.5px;
font-weight: 800;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
line-height: 1.2;
transition: all 0.15s ease;
user-select: none;
position: relative;
}
.tmt-h-idx-btn:hover {
background: #f1f5f9;
color: #0f172a;
border-color: #94a3b8;
transform: translateY(-1px);
}
.tmt-h-idx-btn.active {
background: linear-gradient(135deg, var(--tmt-orange), var(--tmt-orange-dark));
border-color: var(--tmt-orange-dark);
color: #ffffff !important;
box-shadow: 0 2px 6px var(--tmt-orange-glow);
}
/* Hover Tooltip showing Qty on mouse hover */
.tmt-h-idx-btn::after {
content: attr(data-tooltip);
position: absolute;
bottom: calc(100% + 7px);
left: 50%;
transform: translateX(-50%) translateY(4px);
background: #0f172a;
color: #ffffff;
padding: 4px 8px;
border-radius: 5px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.3px;
white-space: nowrap;
pointer-events: none;
opacity: 0;
visibility: hidden;
transition: opacity 0.18s ease, transform 0.18s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
z-index: 1000;
}
.tmt-h-idx-btn::before {
content: '';
position: absolute;
bottom: calc(100% + 2px);
left: 50%;
transform: translateX(-50%) translateY(4px);
border-width: 5px 5px 0 5px;
border-style: solid;
border-color: #0f172a transparent transparent transparent;
pointer-events: none;
opacity: 0;
visibility: hidden;
transition: opacity 0.18s ease, transform 0.18s ease;
z-index: 1000;
}
.tmt-h-idx-btn:hover::after,
.tmt-h-idx-btn:hover::before {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.tmt-h-lot {
display: none !important;
}
/* Line 2: Market Breadth Buttons (e.g. 27/23/0, 7/7/0) */
.tmt-h-breadth-btn {
background: #ffffff;
border: 1px solid #e2e8f0;
color: #475569;
padding: 3px 8px;
border-radius: 5px;
font-size: 12px;
font-weight: 800;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 2px;
line-height: 1.1;
transition: all 0.15s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
user-select: none;
}
.tmt-h-breadth-btn:hover {
background: #f8fafc;
border-color: #cbd5e1;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.tmt-h-breadth-btn.active {
background: #eff6ff;
border-color: #2563eb;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}
.tmt-b-pos {
color: #16a34a !important; /* Green for Advances */
font-weight: 800;
}
.tmt-b-neg {
color: #dc2626 !important; /* Red for Declines */
font-weight: 800;
}
.tmt-b-neu {
color: #64748b !important; /* Slate Gray for Neutral */
font-weight: 800;
}
.tmt-b-slash {
color: #cbd5e1;
font-weight: 600;
font-size: 10px;
}
/* Unified Refresh & ALL Stocks Column next to BANKEX */
.tmt-refresh-col {
display: inline-flex;
flex-direction: column;
gap: 4px;
align-items: stretch;
}
.tmt-h-refresh-btn {
background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
border: 1px solid #0284c7 !important;
color: #ffffff !important;
padding: 6px 13px !important;
border-radius: 8px !important;
font-size: 13px !important;
font-weight: 800 !important;
cursor: pointer !important;
display: inline-flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
line-height: 1.2 !important;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
box-shadow: 0 2px 6px rgba(2, 132, 199, 0.32) !important;
user-select: none !important;
}
.tmt-h-refresh-btn:hover {
background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
border-color: #0369a1 !important;
color: #ffffff !important;
transform: translateY(-1px) scale(1.02) !important;
box-shadow: 0 4px 12px rgba(2, 132, 199, 0.42) !important;
}
.tmt-h-refresh-btn:active {
transform: translateY(0) scale(0.98) !important;
box-shadow: 0 1px 3px rgba(2, 132, 199, 0.25) !important;
}
.tmt-h-refresh-btn.spinning .tmt-h-refresh-icon {
display: inline-block !important;
animation: tmt-spin 0.6s linear infinite !important;
}
.tmt-h-refresh-icon {
font-size: 13.5px !important;
display: inline-block !important;
color: #ffffff !important;
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)) !important;
}
.tmt-h-refresh-lbl {
font-size: 12px !important;
font-weight: 800 !important;
color: #ffffff !important;
letter-spacing: 0.3px !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.tmt-h-refresh-btn:hover .tmt-h-refresh-lbl {
color: #ffffff !important;
}
.tmt-b-all-lbl {
background: #e2e8f0;
color: #1e293b;
font-size: 10px;
font-weight: 900;
padding: 1px 4px;
border-radius: 3px;
letter-spacing: 0.5px;
margin-right: 2px;
}
@keyframes tmt-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* ==========================================================================
VIEW 2: Index Constituents In-Depth View (Bank Nifty 14 Stocks)
========================================================================== */
.tmt-stocks-view {
display: flex;
flex-direction: column;
gap: 12px;
padding: 12px 14px;
background: #ffffff;
border-radius: 8px;
}
.tmt-stocks-header-bar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
padding: 10px 14px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
}
.tmt-stocks-header-left {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
}
.tmt-stocks-title-badge {
display: flex;
align-items: center;
gap: 8px;
}
.tmt-stocks-icon {
font-size: 20px;
}
.tmt-stocks-title {
margin: 0;
font-size: 16px;
font-weight: 900;
color: #0f172a;
}
.tmt-stocks-count-tag {
font-size: 11px;
font-weight: 800;
padding: 3px 8px;
border-radius: 6px;
background: #e0e7ff;
color: #3730a3;
}
.tmt-stocks-spot-box {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: #475569;
background: #ffffff;
padding: 4px 10px;
border-radius: 6px;
border: 1px solid #e2e8f0;
}
.tmt-stocks-spot-box strong {
font-size: 15px;
font-weight: 900;
color: #0f172a;
font-family: 'SF Mono', Monaco, Consolas, monospace;
}
.tmt-stocks-chg {
font-size: 12px;
font-weight: 800;
font-family: 'SF Mono', Monaco, Consolas, monospace;
}
/* Sortable Column Headers in Constituents Table */
.tmt-sortable-th {
cursor: pointer !important;
user-select: none;
transition: all 0.15s ease;
position: relative;
}
.tmt-sortable-th:hover {
background: #e2e8f0 !important;
color: #0369a1 !important;
}
.tmt-sortable-th.active-sort {
background: #e0f2fe !important;
color: #0284c7 !important;
}
.tmt-sort-icon {
display: inline-block;
font-size: 11px;
margin-left: 3px;
opacity: 0.55;
transition: all 0.15s ease;
}
.tmt-sortable-th.active-sort .tmt-sort-icon {
opacity: 1;
color: #0284c7;
font-weight: 900;
}
/* Market Insights Card (Screenshot 3) */
.tmt-market-insights-card {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 12px 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.tmt-insights-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.tmt-insights-icon {
font-size: 16px;
}
.tmt-insights-header h4 {
margin: 0;
font-size: 14px;
font-weight: 800;
color: #1e293b;
}
.tmt-insights-sub {
font-size: 12px;
font-weight: 600;
color: #64748b;
margin-left: auto;
}
.tmt-insights-bars-grid {
display: flex;
flex-direction: column;
gap: 8px;
}
.tmt-insight-row {
display: grid;
grid-template-columns: 140px 1fr 40px;
align-items: center;
gap: 12px;
}
.tmt-insight-meta {
display: flex;
align-items: center;
gap: 8px;
}
.tmt-insight-dot {
width: 8px;
height: 8px;
border-radius: 50%;
}
.tmt-dot-pos { background: #16a34a; }
.tmt-dot-neg { background: #dc2626; }
.tmt-dot-neu { background: #f59e0b; }
.tmt-insight-lbl {
font-size: 12px;
font-weight: 700;
color: #334155;
}
.tmt-insight-bar-track {
height: 8px;
background: #f1f5f9;
border-radius: 999px;
overflow: hidden;
position: relative;
}
.tmt-insight-bar-fill {
height: 100%;
border-radius: 999px;
transition: width 0.3s ease;
}
.tmt-bar-pos { background: linear-gradient(90deg, #22c55e, #16a34a); }
.tmt-bar-neg { background: linear-gradient(90deg, #ef4444, #dc2626); }
.tmt-bar-neu { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.tmt-insight-count {
font-size: 13px;
font-weight: 900;
font-family: 'SF Mono', Monaco, Consolas, monospace;
text-align: right;
}
.tmt-count-pos { color: #16a34a; }
.tmt-count-neg { color: #dc2626; }
.tmt-count-neu { color: #d97706; }
/* Constituents Stocks Table (Scrollable within container with Sticky Headers) */
.tmt-stocks-table-wrap {
border: 1px solid #e2e8f0;
border-radius: 8px;
overflow-x: auto;
overflow-y: auto;
max-height: 480px;
position: relative;
background: #ffffff;
scrollbar-width: thin;
scrollbar-color: #cbd5e1 #f8fafc;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.tmt-stocks-table-wrap::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.tmt-stocks-table-wrap::-webkit-scrollbar-track {
background: #f8fafc;
border-radius: 4px;
}
.tmt-stocks-table-wrap::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
.tmt-stocks-table-wrap::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.tmt-stocks-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: 13.5px;
background: #ffffff;
}
.tmt-stocks-table thead th {
position: sticky;
top: 0;
z-index: 5;
background: #f8fafc;
color: #475569;
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 11px 14px;
border-bottom: 2px solid #e2e8f0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tmt-stocks-table tbody td {
padding: 10px 14px;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
background: #ffffff;
}
.tmt-stocks-table tbody tr:hover td {
background: #f8fafc;
}
.tmt-col-company {
text-align: left;
}
.tmt-company-name {
font-weight: 800;
color: #0f172a;
font-size: 13.5px;
}
.tmt-company-sub {
font-size: 11px;
font-weight: 700;
color: #94a3b8;
margin-top: 1px;
}
.tmt-col-sector {
font-size: 12.5px;
color: #64748b;
font-weight: 600;
}
.tmt-col-weight {
text-align: right;
font-family: 'SF Mono', Monaco, Consolas, monospace;
font-size: 13px;
color: #1e293b;
}
.tmt-col-ltp {
text-align: right;
font-family: 'SF Mono', Monaco, Consolas, monospace;
font-size: 14px;
color: #0f172a;
}
.tmt-col-chg {
text-align: right;
font-family: 'SF Mono', Monaco, Consolas, monospace;
font-size: 13px;
font-weight: 800;
}
.tmt-col-chp {
text-align: right;
}
.tmt-pct-badge {
display: inline-block;
font-family: 'SF Mono', Monaco, Consolas, monospace;
font-size: 12px;
font-weight: 800;
padding: 3px 8px;
border-radius: 5px;
min-width: 65px;
text-align: center;
}
.tmt-pct-badge-up {
background: #ecfdf5;
color: #059669;
border: 1px solid #a7f3d0;
}
.tmt-pct-badge-down {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fecaca;
}
.tmt-pct-badge-flat {
background: #f1f5f9;
color: #64748b;
border: 1px solid #e2e8f0;
}
.tmt-stock-up .tmt-col-chg {
color: #059669;
}
.tmt-stock-down .tmt-col-chg {
color: #dc2626;
}
.tmt-stock-flat .tmt-col-chg {
color: #64748b;
}
/* Option Chain Filter Bar - Single Line Horizontal Scroll */
.tmt-chain-filter-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
background: #f8fafc;
border: 1px solid var(--tmt-card-border);
border-radius: 8px;
padding: 5px 8px;
margin-bottom: 8px;
flex-wrap: nowrap !important;
overflow-x: auto !important;
overflow-y: hidden !important;
width: 100%;
box-sizing: border-box;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
scrollbar-color: #ea580c #f1f5f9;
}
.tmt-sound-popover::after {
content: "";
position: absolute;
top: 100%;
right: 12px;
border: 6px solid transparent;
border-top-color: #ffffff;
}
.tmt-sound-popover::before {
content: "";
position: absolute;
top: 100%;
right: 11px;
border: 7px solid transparent;
border-top-color: #cbd5e1;
}
.tmt-chain-filter-bar::-webkit-scrollbar {
height: 6px;
}
.tmt-chain-filter-bar::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 4px;
}
.tmt-chain-filter-bar::-webkit-scrollbar-thumb {
background: #ea580c;
border-radius: 4px;
}
.tmt-chain-filter-bar::-webkit-scrollbar-thumb:hover {
background: #c2410c;
}
.tmt-chain-expiry-group,
.tmt-chain-spot-badge,
.tmt-chain-actions-group,
.tmt-chain-strikes-group,
.tmt-chain-interval-group,
.tmt-chain-multiplier-group,
.tmt-chain-pnl-toggle-group,
.tmt-font-size-group,
.tmt-sound-control-wrap,
#tmt-btn-chain-col-settings {
flex-shrink: 0 !important;
}
.tmt-chain-expiry-group {
display: flex;
align-items: center;
gap: 3px;
}
.tmt-expiry-nav-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 28px;
background: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 6px;
color: #334155;
font-size: 10px;
font-weight: 800;
cursor: pointer;
padding: 0;
user-select: none;
transition: all 0.15s ease-in-out;
flex-shrink: 0;
}
.tmt-expiry-nav-btn:hover:not(:disabled) {
background: #eff6ff;
border-color: #2563eb;
color: #1d4ed8;
transform: scale(1.05);
box-shadow: 0 1px 3px rgba(37, 99, 235, 0.15);
}
.tmt-expiry-nav-btn:active:not(:disabled) {
transform: scale(0.95);
background: #dbeafe;
}
.tmt-expiry-nav-btn:disabled {
opacity: 0.35;
cursor: not-allowed;
background: #f8fafc;
border-color: #e2e8f0;
color: #94a3b8;
pointer-events: none;
}
.tmt-chain-lbl {
font-size: 12px;
font-weight: 800;
color: #475569;
margin: 0;
}
select.tmt-chain-select,
select.tmt-chain-select-sm {
height: 28px !important;
line-height: 24px !important;
padding: 1px 6px !important;
font-size: 12px !important;
font-weight: 800 !important;
color: #0f172a !important;
background: #ffffff !important;
border: 1.5px solid #cbd5e1 !important;
border-radius: 6px !important;
box-sizing: border-box !important;
width: auto !important;
cursor: pointer !important;
display: inline-block !important;
vertical-align: middle !important;
text-align: left !important;
-webkit-appearance: menulist !important;
appearance: menulist !important;
}
select.tmt-chain-select option,
select.tmt-chain-select-sm option {
background: #ffffff !important;
color: #0f172a !important;
font-size: 12px !important;
font-weight: 700 !important;
padding: 4px 6px !important;
}
/* Inline World Markets Toggle Button */
.tmt-btn-chain-world-markets {
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 7px;
color: #0f172a;
font-size: 15px;
line-height: 1;
height: 30px;
min-width: 36px;
padding: 0 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
transition: all 0.18s ease;
flex-shrink: 0 !important;
user-select: none;
}
.tmt-btn-chain-world-markets:hover {
background: #f8fafc;
border-color: #94a3b8;
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.tmt-btn-chain-world-markets.active {
background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
border-color: #0284c7 !important;
color: #ffffff !important;
box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
}
/* Instant Hover Tooltip for World Markets Button */
.tmt-btn-chain-world-markets::after {
content: attr(data-tooltip);
position: absolute;
top: calc(100% + 8px);
bottom: auto;
left: 50%;
transform: translateX(-50%) translateY(-4px);
background: #0f172a;
color: #ffffff;
padding: 5px 10px;
border-radius: 6px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.3px;
white-space: nowrap;
pointer-events: none;
opacity: 0;
visibility: hidden;
transition: opacity 0.15s ease, transform 0.15s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
z-index: 99999;
}
.tmt-btn-chain-world-markets::before {
content: '';
position: absolute;
top: calc(100% + 3px);
bottom: auto;
left: 50%;
transform: translateX(-50%) translateY(-4px);
border-width: 0 5px 5px 5px;
border-style: solid;
border-color: transparent transparent #0f172a transparent;
pointer-events: none;
opacity: 0;
visibility: hidden;
transition: opacity 0.15s ease, transform 0.15s ease;
z-index: 99999;
}
.tmt-btn-chain-world-markets:hover::after,
.tmt-btn-chain-world-markets:hover::before {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.tmt-chain-strikes-group select.tmt-chain-select-sm {
min-width: 48px !important;
max-width: 52px !important;
width: auto !important;
padding: 1px 4px !important;
text-align: center;
}
#tmt-inline-world-markets-wrap {
display: none;
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
padding-top: 6px;
}
#tmt-inline-world-markets-wrap #tmt-world-box {
display: block !important;
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
border: 1.5px solid #fed7aa !important;
border-radius: 12px !important;
box-shadow: 0 4px 16px rgba(255, 107, 0, 0.08) !important;
padding: 10px 14px !important;
background: #ffffff !important;
max-height: calc(100vh - 210px) !important;
overflow-y: auto !important;
}
.tmt-chain-spot-badge {
font-size: 12px;
color: #475569;
background: #ffffff;
border: 1px solid var(--tmt-card-border);
padding: 2px 10px;
border-radius: 6px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
white-space: nowrap;
box-sizing: border-box;
margin: 0 auto;
flex-shrink: 0 !important;
}
.tmt-chain-spot-badge strong {
color: #0f172a;
font-weight: 900;
font-size: 14.5px;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
display: inline-block;
text-align: right;
margin-left: 4px;
}
.tmt-chain-chg {
font-size: 12.5px;
font-weight: 800;
margin-left: 6px;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
display: inline-block;
text-align: left;
white-space: nowrap;
}
.tmt-chain-actions-group {
display: flex;
align-items: center;
gap: 14px !important;
margin-left: auto;
flex-shrink: 0 !important;
flex-wrap: nowrap !important;
}
.tmt-chain-strikes-group,
.tmt-chain-interval-group,
.tmt-chain-multiplier-group,
.tmt-chain-pnl-toggle-group {
display: flex;
align-items: center;
gap: 4px;
flex-shrink: 0 !important;
}
.tmt-chain-lbl-sm {
font-size: 12px;
font-weight: 800;
color: #475569;
margin: 0;
}
.tmt-btn-chain-multiplier {
background: #ffffff;
color: #475569;
border: 1.5px solid #cbd5e1;
border-radius: 7px;
padding: 0;
width: 32px;
height: 30px;
font-size: 13px;
font-weight: 900;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
line-height: 1;
transition: all 0.15s ease;
user-select: none;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.tmt-btn-chain-multiplier:hover {
border-color: #ea580c;
color: #ea580c;
background: #fff7ed;
transform: translateY(-1px);
}
.tmt-btn-chain-multiplier.active {
background: #ea580c !important;
color: #ffffff !important;
border-color: #c2410c !important;
box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.25), 0 1px 4px rgba(234, 88, 12, 0.4) !important;
}
.tmt-font-size-group {
display: inline-flex;
align-items: center;
gap: 4px;
background: #ffffff;
border: 1px solid var(--tmt-card-border);
border-radius: 7px;
padding: 2px 6px;
height: 30px;
box-sizing: border-box;
}
.tmt-btn-font-adj {
background: transparent;
border: none;
cursor: pointer;
color: #475569;
font-weight: 800;
padding: 2px 5px;
border-radius: 4px;
transition: all 0.15s ease;
line-height: 1;
}
.tmt-btn-font-adj.font-adj-sm {
font-size: 11px;
}
.tmt-btn-font-adj.font-adj-lg {
font-size: 14px;
font-weight: 900;
}
.tmt-btn-font-adj:hover {
background: #f1f5f9;
color: #0f172a;
}
.tmt-btn-chain-refresh {
background: #ffffff;
border: 1px solid var(--tmt-card-border);
border-radius: 6px;
padding: 5px 8px;
font-size: 13.5px;
cursor: pointer;
color: #475569;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
line-height: 1;
}
.tmt-btn-chain-refresh:hover {
background: #f1f5f9;
color: #0f172a;
}
.tmt-btn-chain-refresh.spinning {
animation: tmt-spin 0.75s linear infinite;
pointer-events: none;
}
/* Option Chain Table Styling */
.tmt-chain-table-wrap {
flex: 1 1 auto;
min-height: 260px;
max-height: calc(100vh - 230px);
overflow-y: scroll !important;
overflow-x: auto !important;
border: 1.5px solid var(--tmt-card-border);
border-radius: 8px;
background: #ffffff;
margin-bottom: 0 !important;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: #ea580c #f1f5f9;
--tmt-chain-fs: 13.5px;
}
@media screen and (max-height: 820px) {
.tmt-chain-table-wrap {
max-height: calc(100vh - 215px) !important;
min-height: 240px !important;
}
}
.tmt-chain-table-wrap::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.tmt-chain-table-wrap::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 6px;
border-left: 1px solid #cbd5e1;
}
.tmt-chain-table-wrap::-webkit-scrollbar-thumb {
background: #ea580c;
border-radius: 6px;
border: 2px solid #f1f5f9;
}
.tmt-chain-table-wrap::-webkit-scrollbar-thumb:hover {
background: #c2410c;
}
/* P&L Toggle Button Styling */
.tmt-btn-chain-pnl-toggle {
background: #ffffff;
color: #475569;
border: 1.5px solid #cbd5e1;
border-radius: 6px;
padding: 3px 12px;
height: 30px;
font-size: 12.5px;
font-weight: 800;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
line-height: 1;
transition: all 0.15s ease;
user-select: none;
box-sizing: border-box;
}
.tmt-btn-chain-pnl-toggle:hover {
border-color: #ea580c;
color: #ea580c;
}
.tmt-btn-chain-pnl-toggle.active {
background: #fff7ed;
color: #ea580c;
border-color: #ea580c;
box-shadow: 0 1px 4px rgba(234, 88, 12, 0.2);
}
.tmt-btn-chain-pnl-toggle .tmt-pnl-indicator {
font-size: 11px;
}
.tmt-chain-table {
width: max-content !important;
table-layout: fixed !important;
border-collapse: separate !important;
border-spacing: 0 !important;
font-size: var(--tmt-chain-fs, 13px);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-variant-numeric: tabular-nums !important;
font-feature-settings: "tnum" 1 !important;
}
.tmt-chain-table thead {
position: sticky;
top: 0;
z-index: 10;
background: #ffffff;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.tmt-chain-superhead th {
padding: 8px 8px;
font-size: 13.5px;
font-weight: 700;
text-align: center;
letter-spacing: 0.4px;
border-bottom: 1.5px solid #cbd5e1;
}
.tmt-th-calls {
background: #ecfdf5;
color: #065f46;
border-right: 1px solid #cbd5e1;
}
.tmt-th-strike {
width: 90px;
min-width: 90px;
max-width: 90px;
box-sizing: border-box;
background: #f1f5f9;
color: #334155;
font-weight: 700;
border-right: 1px solid #cbd5e1;
border-left: 1px solid #cbd5e1;
}
.tmt-th-puts {
background: #fef2f2;
color: #991b1b;
}
/* Strike rows: Clean Continuous Lines with Delicate Borders */
.tmt-chain-row {
border-bottom: 1px solid #f1f5f9 !important;
transition: background 0.12s ease;
}
.tmt-chain-cell {
padding: 5px 6px !important;
vertical-align: middle;
border-bottom: 1px solid #f1f5f9 !important;
border-right: 1px solid #e2e8f0 !important;
box-sizing: border-box;
}
/* 3-Column vertical boundaries & Clickable Styles */
.tmt-cell-ltp-ce {
border-right: 1px solid #e2e8f0 !important;
cursor: pointer;
transition: background-color 0.12s ease;
padding: 4px 8px !important;
box-sizing: border-box;
text-align: right !important;
overflow: visible !important;
}
.tmt-cell-strike {
border-right: 1px solid #e2e8f0 !important;
border-left: 1px solid #e2e8f0 !important;
background: #f8fafc;
font-weight: 600;
color: #334155;
text-align: center;
cursor: pointer;
transition: background-color 0.12s ease;
padding: 5px 4px !important;
width: 82px;
min-width: 50px;
box-sizing: border-box;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
overflow: hidden !important;
}
.tmt-cell-ltp-pe {
border-right: 1px solid #e2e8f0 !important;
cursor: pointer;
transition: background-color 0.12s ease;
padding: 4px 8px !important;
box-sizing: border-box;
text-align: left !important;
overflow: visible !important;
}
/* Highly Distinct ITM & OTM Background Shading (Clean, Light Theme) */
.tmt-cell-itm {
background-color: #fff8d6 !important; /* Soft warm amber/cream tint for ITM */
}
.tmt-cell-otm {
background-color: #ffffff !important; /* Crisp clean white for OTM */
}
.tmt-chain-row:hover .tmt-cell-itm {
background-color: #fef08a !important;
}
.tmt-chain-row:hover .tmt-cell-otm {
background-color: #f1f5f9 !important;
}
.tmt-chain-row:hover .tmt-cell-strike {
background-color: #e2e8f0 !important;
}
/* ATM Row Highlight Strictly Disabled (Clean uniform strikes - Spot line indicates ATM) */
.tmt-chain-row.is-atm,
tr.is-atm,
.tmt-chain-row.active-strike-row {
box-shadow: none !important;
outline: none !important;
border: none !important;
}
.tmt-chain-row .tmt-cell-strike,
.tmt-chain-row.is-atm .tmt-cell-strike,
tr.is-atm .tmt-cell-strike,
.tmt-chain-row.active-strike-row .tmt-cell-strike {
background: #f8fafc !important;
color: #334155 !important;
border-right: 1px solid #e2e8f0 !important;
border-left: 1px solid #e2e8f0 !important;
border-top: none !important;
border-bottom: 1px solid #f1f5f9 !important;
box-shadow: none !important;
outline: none !important;
}
.tmt-chain-row .tmt-chain-strike-val,
.tmt-chain-row.is-atm .tmt-chain-strike-val,
tr.is-atm .tmt-chain-strike-val,
.tmt-chain-row.active-strike-row .tmt-chain-strike-val {
color: #334155 !important;
font-size: calc(var(--tmt-chain-fs, 13.5px) + 0.5px) !important;
font-weight: 600 !important;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
letter-spacing: 0.2px !important;
}
.tmt-chain-row:hover .tmt-cell-strike,
.tmt-chain-row.is-atm:hover .tmt-cell-strike,
tr.is-atm:hover .tmt-cell-strike,
.tmt-chain-row.active-strike-row:hover .tmt-cell-strike {
background-color: #e2e8f0 !important;
color: #1e293b !important;
}
/* Spot Price Divider Line (Between Strikes) */
.tmt-chain-spot-row {
background: rgba(2, 132, 199, 0.04) !important;
height: 32px !important;
}
.tmt-chain-spot-row:hover {
background: rgba(2, 132, 199, 0.08) !important;
}
.tmt-chain-spot-row td.tmt-chain-spot-cell {
padding: 2px 8px !important;
text-align: center !important;
border-top: 1.5px dashed #0284c7 !important;
border-bottom: 1.5px dashed #0284c7 !important;
vertical-align: middle !important;
}
.tmt-chain-spot-bar {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
position: relative;
}
.tmt-chain-spot-line {
flex: 1;
height: 1.5px;
background: linear-gradient(90deg, transparent, #0284c7 40%, #0284c7 100%);
pointer-events: none;
}
.tmt-chain-spot-line.tmt-line-right {
background: linear-gradient(90deg, #0284c7 0%, #0284c7 60%, transparent);
}
.tmt-chain-spot-divider-badge {
font-size: 12px;
color: #475569;
background: #ffffff !important;
border: 1px solid var(--tmt-card-border, #cbd5e1);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
padding: 2px 12px;
border-radius: 6px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
white-space: nowrap;
box-sizing: border-box;
margin: 0 10px;
flex-shrink: 0 !important;
z-index: 3;
}
.tmt-chain-spot-divider-badge strong {
font-weight: 900;
font-size: 14px;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
display: inline-block;
margin: 0 4px;
}
/* Active Selected Strike Cell */
.tmt-cell-ltp-ce.active-strike-cell,
.tmt-cell-ltp-pe.active-strike-cell {
background-color: #fed7aa !important;
outline: 2px solid var(--tmt-orange) !important;
outline-offset: -2px;
}
.tmt-chain-strike-val {
font-weight: 600;
color: #334155;
font-size: calc(var(--tmt-chain-fs, 13.5px) + 0.5px);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
letter-spacing: 0.2px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
}
.tmt-atm-tag {
display: none !important;
}
/* Clean Row Layout for LTP, Diff & % (Stacked: Price top, Diff % bottom) */
.tmt-ltp-card {
display: flex;
align-items: center;
width: 100%;
box-sizing: border-box;
user-select: none;
white-space: nowrap;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
padding: 2px 2px !important;
transition: all 0.12s ease;
}
.tmt-ltp-card.tmt-ltp-ce {
justify-content: flex-end;
}
.tmt-ltp-card.tmt-ltp-pe {
justify-content: flex-start;
}
.tmt-ltp-price {
font-size: calc(var(--tmt-chain-fs, 13.5px) + 0.5px);
font-weight: 600;
line-height: 1.2;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
letter-spacing: -0.1px;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
}
.tmt-ltp-ce .tmt-ltp-price {
text-align: right;
}
.tmt-ltp-pe .tmt-ltp-price {
text-align: left;
}
.tmt-ltp-diff {
font-size: calc(var(--tmt-chain-fs, 13.5px) - 2px);
font-weight: 500;
line-height: 1;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 5px;
border-radius: 4px;
min-width: 0 !important;
max-width: none !important;
width: auto !important;
text-align: center;
box-sizing: border-box;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
overflow: visible !important;
white-space: nowrap !important;
}
.tmt-ltp-pct {
font-size: calc(var(--tmt-chain-fs, 13.5px) - 2px);
font-weight: 500;
line-height: 1;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 6px;
border-radius: 4px;
min-width: 0 !important;
max-width: none !important;
width: auto !important;
text-align: center;
box-sizing: border-box;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
overflow: visible !important;
white-space: nowrap !important;
}
/* Down / Bearish Colors (Clean Text for Price, Light Red Pill for Diff & %) */
.tmt-ltp-card.ltp-down .tmt-ltp-price {
color: #dc2626 !important;
background: transparent !important;
}
.tmt-ltp-card.ltp-down .tmt-ltp-diff,
.tmt-ltp-card.ltp-down .tmt-ltp-pct {
color: #991b1b !important;
background-color: #fee2e2 !important;
border: 1px solid #fecaca !important;
}
/* Up / Bullish Colors (Clean Text for Price, Light Green Pill for Diff & %) */
.tmt-ltp-card.ltp-up .tmt-ltp-price {
color: #16a34a !important;
background: transparent !important;
}
.tmt-ltp-card.ltp-up .tmt-ltp-diff,
.tmt-ltp-card.ltp-up .tmt-ltp-pct {
color: #166534 !important;
background-color: #dcfce7 !important;
border: 1px solid #bbf7d0 !important;
}
/* Neutral Colors */
.tmt-ltp-card.ltp-neutral .tmt-ltp-price {
color: #475569 !important;
background: transparent !important;
}
.tmt-ltp-card.ltp-neutral .tmt-ltp-diff,
.tmt-ltp-card.ltp-neutral .tmt-ltp-pct {
color: #475569 !important;
background-color: #f1f5f9 !important;
border: 1px solid #e2e8f0 !important;
}
/* Strike-wise Live P&L in Option Chain */
.tmt-chain-cell.tmt-cell-pnl {
text-align: center;
vertical-align: middle;
padding: 2px 2px !important;
width: 114px;
min-width: 114px;
box-sizing: border-box;
user-select: none;
border-right: 1px solid #e2e8f0 !important;
}
.tmt-strike-pnl-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2.5px 7px;
border-radius: 4px;
font-size: 11px;
font-weight: 800;
line-height: 1;
white-space: nowrap;
gap: 4px;
box-sizing: border-box;
}
.tmt-strike-pnl-pill.pnl-running.pnl-up {
background: #ecfdf5;
color: #059669;
border: 1px solid #a7f3d0;
box-shadow: 0 1px 4px rgba(5, 150, 105, 0.15);
}
.tmt-strike-pnl-pill.pnl-running.pnl-down {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fca5a5;
box-shadow: 0 1px 4px rgba(220, 38, 38, 0.15);
}
.tmt-strike-pnl-pill.pnl-running.pnl-zero {
background: #f8fafc;
color: #475569;
border: 1px solid #cbd5e1;
}
.tmt-strike-pnl-pill.pnl-closed {
background: #f1f5f9;
color: #64748b;
border: 1px dashed #cbd5e1;
font-size: 10.5px;
font-weight: 700;
}
.tmt-strike-pnl-pill.pnl-closed.pnl-up {
color: #15803d;
background: #f0fdf4;
border-color: #bbf7d0;
}
.tmt-strike-pnl-pill.pnl-closed.pnl-down {
color: #b91c1c;
background: #fef2f2;
border-color: #fecaca;
}
.tmt-pnl-hover-actions {
display: none;
align-items: center;
gap: 3px;
}
.tmt-strike-pnl-pill.pnl-running:hover .tmt-pnl-hover-actions {
display: inline-flex;
}
.tmt-btn-pnl-action {
border: none;
border-radius: 4px;
width: 20px;
height: 20px;
padding: 0;
font-size: 10px;
font-weight: 900;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
line-height: 1;
transition: transform 0.12s ease, opacity 0.12s ease;
flex-shrink: 0;
}
.tmt-btn-pnl-action:hover {
transform: scale(1.18);
}
.tmt-btn-pnl-modify {
background: #dbeafe;
color: #1d4ed8;
border: 1px solid #93c5fd;
}
.tmt-btn-pnl-modify:hover {
background: #2563eb;
color: #ffffff;
}
.tmt-btn-pnl-close {
background: #fee2e2;
color: #dc2626;
border: 1px solid #fca5a5;
}
.tmt-btn-pnl-close:hover {
background: #dc2626;
color: #ffffff;
}
.tmt-strike-pnl-val {
white-space: nowrap;
display: inline-block;
}
/* Dhan-Style Columns & Modal Styling */
.tmt-btn-chain-col-config {
background: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 6px;
padding: 5px 10px;
font-size: 13px;
font-weight: 700;
color: #334155;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
transition: all 0.15s ease;
}
.tmt-btn-chain-col-config:hover {
background: #fff7ed;
border-color: #f97316;
color: #ea580c;
}
.tmt-super-th-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4px;
gap: 6px;
}
.tmt-chain-gear-btn {
background: rgba(255, 255, 255, 0.9);
border: 1px solid #cbd5e1;
border-radius: 5px;
padding: 2px 7px;
font-size: 11.5px;
font-weight: 700;
color: #475569;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 4px;
transition: all 0.15s ease;
line-height: 1.3;
}
.tmt-chain-gear-btn:hover {
background: #ff6b00;
color: #ffffff;
border-color: #ff6b00;
}
.tmt-super-th-txt {
flex: 1;
text-align: center;
}
.tmt-chain-subhead-row th {
background: #f8fafc;
color: #334155;
font-size: calc(var(--tmt-chain-fs, 13.5px) - 2px);
font-weight: 800;
text-align: right;
padding: 5px 6px !important;
border-bottom: 2px solid #94a3b8 !important;
border-top: 1px solid #cbd5e1 !important;
border-right: 1.5px solid #94a3b8 !important;
white-space: nowrap;
letter-spacing: 0.2px;
box-sizing: border-box;
position: relative !important;
overflow: visible !important;
}
.tmt-chain-superhead th.tmt-th-strike {
position: relative !important;
overflow: visible !important;
border-right: 2px solid #64748b !important;
border-left: 2px solid #64748b !important;
}
/* Column Resizer handles on Positions Table with crisp divider lines */
#tmt-positions-table {
table-layout: fixed !important;
width: 100% !important;
border-collapse: separate !important;
border-spacing: 0 !important;
}
#tmt-positions-table thead th {
position: relative !important;
overflow: visible !important;
border-right: 1px solid #cbd5e1 !important;
box-sizing: border-box !important;
}
#tmt-positions-table thead th:last-child {
border-right: none !important;
}
#tmt-positions-table thead th .tmt-col-resizer {
position: absolute !important;
top: 0 !important;
right: -5px !important;
width: 10px !important;
height: 100% !important;
cursor: col-resize !important;
user-select: none !important;
z-index: 50 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
background: transparent !important;
}
#tmt-positions-table thead th .tmt-col-resizer::after {
content: '' !important;
display: block !important;
width: 2px !important;
height: 60% !important;
background: #cbd5e1 !important;
border-radius: 1px !important;
transition: all 0.15s ease !important;
}
#tmt-positions-table thead th .tmt-col-resizer:hover::after,
#tmt-positions-table thead th .tmt-col-resizer.is-resizing::after {
width: 3px !important;
height: 90% !important;
background: #ea580c !important;
box-shadow: 0 0 6px rgba(234, 88, 12, 0.6) !important;
}
/* Default state: Charges column in Positions Table is hidden until user clicks [🧾 Charges] */
#tmt-positions-table:not(.tmt-show-charges) .col-pos-charges,
#tmt-positions-table:not(.tmt-show-charges) .th-pos-charges,
#tmt-positions-table:not(.tmt-show-charges) .tmt-pos-charges-cell,
#tmt-positions-table:not(.tmt-show-charges) #tmt-foot-charges-pnl {
display: none !important;
}
.tmt-col-resizer {
position: absolute;
top: 0;
right: -4px;
width: 8px;
height: 100%;
cursor: col-resize !important;
user-select: none;
z-index: 40;
background: transparent;
transition: background-color 0.15s ease;
}
.tmt-col-resizer:hover,
.tmt-col-resizer.is-resizing {
background-color: #f97316 !important;
}
.tmt-subth-ce-ltp, .tmt-subth-pe-ltp {
background: #f1f5f9 !important;
color: #0f172a !important;
font-weight: 900 !important;
min-width: 170px;
box-sizing: border-box;
border-right: 1.5px solid #94a3b8 !important;
padding: 5px 8px !important;
overflow: hidden !important;
}
.tmt-subth-ce-ltp {
text-align: right !important;
}
.tmt-subth-pe-ltp {
text-align: left !important;
}
.tmt-subth-ce-ltp, .tmt-subth-pe-ltp,
.tmt-cell-ltp-ce, .tmt-cell-ltp-pe {
white-space: nowrap !important;
overflow: visible !important;
}
.tmt-cell-ltp-ce {
text-align: right !important;
padding: 4px 8px !important;
}
.tmt-cell-ltp-pe {
text-align: left !important;
padding: 4px 8px !important;
}
.tmt-ltp-combo {
display: flex !important;
align-items: center !important;
gap: 9px !important;
white-space: nowrap !important;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum";
box-sizing: border-box !important;
padding: 0 !important;
width: 100% !important;
}
.tmt-ltp-combo-ce {
justify-content: flex-end !important;
}
.tmt-ltp-combo-pe {
justify-content: flex-start !important;
}
.tmt-ltp-combo .tmt-ltp-price {
font-weight: 600;
font-size: calc(var(--tmt-chain-fs, 13.5px) + 0.5px);
color: #0f172a;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
letter-spacing: -0.1px;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
flex-shrink: 0;
white-space: nowrap;
}
.tmt-ltp-combo-ce .tmt-ltp-price {
order: 3;
text-align: right;
}
.tmt-ltp-combo-pe .tmt-ltp-price {
order: 1;
text-align: left;
}
.tmt-ltp-combo .tmt-ltp-diff {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
font-weight: 500 !important;
font-size: calc(var(--tmt-chain-fs, 13.5px) - 2px) !important;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
padding: 1.5px 5px !important;
border-radius: 4px !important;
line-height: 1.25 !important;
white-space: nowrap !important;
flex-shrink: 0 !important;
letter-spacing: -0.1px !important;
box-sizing: border-box !important;
width: auto !important;
text-align: center !important;
max-width: none !important;
overflow: visible !important;
background: #f1f5f9;
color: #64748b;
}
.tmt-ltp-combo-ce .tmt-ltp-diff {
order: 2;
}
.tmt-ltp-combo-pe .tmt-ltp-diff {
order: 2;
}
.tmt-ltp-combo .tmt-ltp-pct {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
font-weight: 500 !important;
font-size: calc(var(--tmt-chain-fs, 13.5px) - 2px) !important;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
padding: 1.5px 6px !important;
border-radius: 4px !important;
line-height: 1.25 !important;
white-space: nowrap !important;
flex-shrink: 0 !important;
letter-spacing: -0.1px !important;
box-sizing: border-box !important;
width: auto !important;
min-width: 56px !important;
text-align: center !important;
max-width: none !important;
overflow: visible !important;
}
.tmt-ltp-combo-ce .tmt-btn-strike-depth {
order: 1 !important;
margin-right: 2px !important;
}
.tmt-ltp-combo-ce .tmt-ltp-pct {
order: 2 !important;
margin-right: auto !important;
}
.tmt-ltp-combo-ce .tmt-ltp-diff {
order: 3 !important;
margin-right: 0 !important;
margin-left: 0 !important;
max-width: none !important;
width: auto !important;
overflow: visible !important;
white-space: nowrap !important;
}
.tmt-ltp-combo-ce .tmt-ltp-price {
order: 4 !important;
text-align: right !important;
}
.tmt-ltp-combo-pe .tmt-ltp-price {
order: 1 !important;
text-align: left !important;
}
.tmt-ltp-combo-pe .tmt-ltp-diff {
order: 2 !important;
margin-right: 0 !important;
margin-left: 0 !important;
max-width: none !important;
width: auto !important;
overflow: visible !important;
white-space: nowrap !important;
}
.tmt-ltp-combo-pe .tmt-ltp-pct {
order: 3 !important;
margin-left: auto !important;
}
.tmt-ltp-combo-pe .tmt-btn-strike-depth {
order: 4 !important;
margin-left: 2px !important;
}
.tmt-ltp-combo .tmt-btn-strike-depth {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
min-width: 24px !important;
height: 22px !important;
padding: 1px 6px !important;
font-size: 13px !important;
font-weight: 900 !important;
color: #64748b !important;
background: #f8fafc !important;
border: 1px solid #cbd5e1 !important;
border-radius: 5px !important;
cursor: pointer !important;
line-height: 1 !important;
flex-shrink: 0 !important;
user-select: none !important;
box-sizing: border-box !important;
opacity: 0.85 !important;
visibility: visible !important;
transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease !important;
}
.tmt-chain-cell:hover .tmt-btn-strike-depth,
.tmt-chain-row:hover .tmt-btn-strike-depth {
opacity: 1 !important;
color: #1e293b !important;
border-color: #94a3b8 !important;
background: #f1f5f9 !important;
}
.tmt-btn-strike-depth:hover {
opacity: 1 !important;
background: #ea580c !important;
color: #ffffff !important;
border-color: #ea580c !important;
box-shadow: 0 1px 4px rgba(234, 88, 12, 0.3) !important;
}
.tmt-ltp-combo .tmt-ltp-pct.val-down,
.tmt-metric-val.val-down.tmt-pct-box {
background: #fff1f2 !important;
border: 1px solid #fecdd3 !important;
color: #e11d48 !important;
}
.tmt-ltp-combo .tmt-ltp-pct.val-up,
.tmt-metric-val.val-up.tmt-pct-box {
background: #ecfdf5 !important;
border: 1px solid #a7f3d0 !important;
color: #059669 !important;
}
.tmt-ltp-combo .tmt-ltp-pct.val-dim,
.tmt-metric-val.val-dim.tmt-pct-box {
background: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
color: #64748b !important;
}
.tmt-ltp-combo .val-down:not(.tmt-ltp-pct):not(.tmt-ltp-diff) {
color: #dc2626 !important;
}
.tmt-ltp-combo .val-up:not(.tmt-ltp-pct):not(.tmt-ltp-diff) {
color: #16a34a !important;
}
.tmt-ltp-combo .val-dim:not(.tmt-ltp-pct):not(.tmt-ltp-diff) {
color: #94a3b8 !important;
}
/* Option 3: % Value Soft Rounded Pill */
.tmt-ltp-combo .tmt-ltp-diff.val-down {
background: #fee2e2 !important;
color: #dc2626 !important;
}
.tmt-ltp-combo .tmt-ltp-diff.val-up {
background: #dcfce7 !important;
color: #15803d !important;
}
.tmt-ltp-combo .tmt-ltp-diff.val-dim {
background: #f1f5f9 !important;
color: #64748b !important;
}
.tmt-subth-ce-pnl, .tmt-subth-pe-pnl {
width: 114px !important;
min-width: 80px !important;
box-sizing: border-box !important;
text-align: center;
border-right: 1.5px solid #94a3b8 !important;
}
.tmt-subth-chart {
width: 26px !important;
min-width: 26px !important;
max-width: 26px !important;
box-sizing: border-box !important;
text-align: center;
border-right: 1.5px solid #94a3b8 !important;
padding: 4px 2px !important;
}
.tmt-subth-metric {
width: 70px;
min-width: 45px;
box-sizing: border-box;
border-right: 1.5px solid #94a3b8 !important;
text-align: right !important;
padding: 5px 6px !important;
}
/* Dynamic metric cells */
.tmt-cell-metric {
text-align: right !important;
font-size: calc(var(--tmt-chain-fs, 13.5px) - 1.5px);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-weight: 500;
color: #334155;
padding: 5px 6px !important;
white-space: nowrap;
vertical-align: middle;
border-bottom: 1px solid #f1f5f9 !important;
border-right: 1px solid #e2e8f0 !important;
width: 70px;
min-width: 45px;
box-sizing: border-box;
font-variant-numeric: tabular-nums;
font-feature-settings: "tnum" 1;
overflow: hidden;
text-overflow: ellipsis;
}
.tmt-cell-diff {
font-weight: 700 !important;
cursor: pointer;
text-align: right !important;
padding: 5px 6px !important;
width: 70px;
min-width: 45px;
box-sizing: border-box;
}
.tmt-cell-metric.val-up { color: #16a34a !important; }
.tmt-cell-metric.val-down { color: #dc2626 !important; }
.tmt-cell-metric.val-dim { color: #94a3b8 !important; }
.tmt-cell-metric.val-iv { color: #9333ea !important; font-weight: 800; }
.tmt-cell-metric.val-greek { color: #2563eb !important; }
.tmt-cell-metric.val-itm { color: #0284c7 !important; font-weight: 800; }
.tmt-cell-metric.val-pop { color: #059669 !important; font-weight: 800; }
/* Buildup badges */
.tmt-buildup-chip {
display: inline-block;
padding: 2px 5px;
border-radius: 4px;
font-size: 10.5px;
font-weight: 800;
letter-spacing: 0.2px;
line-height: 1.2;
}
.bld-lb { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; } /* Long Buildup */
.bld-sb { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; } /* Short Buildup */
.bld-lu { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; } /* Long Unwinding */
.bld-sc { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; } /* Short Covering */
.bld-neutral { background: #f1f5f9; color: #475569; }
/* Insight tags on strikes */
.tmt-insight-tag {
display: inline-block;
padding: 1.5px 5px;
border-radius: 3px;
font-size: 10px;
font-weight: 800;
margin-left: 4px;
vertical-align: middle;
line-height: 1.2;
}
.tag-high-iv { background: #fdf4ff; color: #c026d3; border: 1px solid #f0abfc; }
.tag-high-oi { background: #fff7ed; color: #ea580c; border: 1px solid #fdba74; }
.tag-high-vol { background: #eff6ff; color: #2563eb; border: 1px solid #93c5fd; }
.tag-oeh { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.tag-oel { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
/* Modal Styles */
.tmt-cols-modal-overlay {
display: none !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: rgba(15, 23, 42, 0.65) !important;
backdrop-filter: blur(5px) !important;
-webkit-backdrop-filter: blur(5px) !important;
z-index: 99999999 !important;
align-items: center !important;
justify-content: center !important;
padding: 16px !important;
box-sizing: border-box !important;
}
.tmt-cols-modal-overlay.open {
display: flex !important;
}
.tmt-cols-modal-card {
position: relative !important;
z-index: 100000000 !important;
background: #ffffff !important;
border-radius: 12px !important;
width: 100% !important;
max-width: 440px !important;
max-height: 88vh !important;
display: flex !important;
flex-direction: column !important;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
overflow: hidden !important;
animation: tmtModalSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes tmtModalSlideIn {
from { opacity: 0; transform: scale(0.96) translateY(8px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
.tmt-cols-modal-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid #e2e8f0;
background: #f8fafc;
}
.tmt-cols-modal-title {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-cols-gear-icon {
font-size: 20px;
}
.tmt-cols-modal-title h4 {
margin: 0;
font-size: 15px;
font-weight: 800;
color: #0f172a;
line-height: 1.2;
}
.tmt-cols-modal-title small {
font-size: 11.5px;
color: #64748b;
}
.tmt-cols-modal-close {
background: transparent;
border: none;
font-size: 24px;
line-height: 1;
color: #94a3b8;
cursor: pointer;
padding: 0 4px;
transition: color 0.15s;
}
.tmt-cols-modal-close:hover {
color: #0f172a;
}
.tmt-cols-modal-body {
padding: 14px 18px;
overflow-y: auto;
flex: 1;
display: flex;
flex-direction: column;
gap: 12px;
}
.tmt-cols-hint-banner {
background: #fff7ed;
border: 1px solid #fed7aa;
border-radius: 6px;
padding: 8px 10px;
font-size: 12px;
color: #9a3412;
line-height: 1.4;
}
.tmt-cols-list-wrap {
display: flex;
flex-direction: column;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #ffffff;
max-height: 330px;
overflow-y: auto;
}
.tmt-cols-list-wrap::-webkit-scrollbar {
width: 6px;
}
.tmt-cols-list-wrap::-webkit-scrollbar-track {
background: #f8fafc;
border-radius: 8px;
}
.tmt-cols-list-wrap::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
.tmt-cols-list-wrap::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.tmt-cols-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 12px;
border-bottom: 1px solid #f1f5f9;
background: #ffffff;
transition: background 0.15s;
user-select: none;
cursor: pointer;
}
.tmt-cols-row:last-child {
border-bottom: none;
}
.tmt-cols-row:hover {
background: #f8fafc;
}
.tmt-cols-row.tmt-row-dragging {
opacity: 0.45;
background: #fff7ed;
}
.tmt-cols-row.tmt-row-drag-over {
border-top: 2px solid #ff6b00;
}
.tmt-cols-row-left {
display: flex;
align-items: center;
gap: 10px;
flex: 1;
}
.tmt-drag-handle {
cursor: grab;
padding: 2px 4px;
display: inline-flex;
align-items: center;
color: #f97316;
opacity: 0.85;
}
.tmt-drag-handle:hover {
opacity: 1;
}
.tmt-cols-check-lbl {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-size: 13.5px;
font-weight: 600;
color: #1e293b;
margin: 0;
}
.tmt-cols-check-lbl input[type="checkbox"] {
width: 16px;
height: 16px;
accent-color: #6366f1;
cursor: pointer;
margin: 0;
}
.tmt-cols-row-actions {
display: inline-flex;
align-items: center;
gap: 3px;
}
.tmt-cols-reorder-btn {
background: #f1f5f9;
border: 1px solid #e2e8f0;
border-radius: 4px;
color: #64748b;
font-size: 10px;
padding: 3px 6px;
cursor: pointer;
line-height: 1;
transition: all 0.12s ease;
}
.tmt-cols-reorder-btn:hover {
background: #ff6b00;
color: #ffffff;
border-color: #ff6b00;
}
/* Insights Section matching Dhan screenshot */
.tmt-cols-insights-box {
border-top: 1px solid #e2e8f0;
padding-top: 12px;
margin-top: 4px;
}
.tmt-cols-insights-title {
margin-bottom: 8px;
}
.tmt-cols-insights-title h5 {
margin: 0;
font-size: 13px;
font-weight: 800;
color: #334155;
}
.tmt-cols-insights-title span {
font-size: 11px;
color: #94a3b8;
}
.tmt-cols-insights-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 6px;
}
.tmt-insight-chip-btn {
background: #f8fafc;
border: 1px solid #e2e8f0;
color: #64748b;
border-radius: 6px;
padding: 6px 14px;
font-size: 12.5px;
font-weight: 700;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-insight-chip-btn:hover {
background: #f1f5f9;
color: #0f172a;
}
.tmt-insight-chip-btn.active {
background: #f1f5f9;
color: #0f172a;
border-color: #94a3b8;
box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.tmt-insight-chip-btn[data-insight="high_iv"].active {
background: #d946ef !important;
color: #ffffff !important;
border-color: #d946ef !important;
}
.tmt-insight-chip-btn[data-insight="high_oi"].active {
background: #f97316 !important;
color: #ffffff !important;
border-color: #f97316 !important;
}
.tmt-insight-chip-btn[data-insight="high_vol"].active {
background: #3b82f6 !important;
color: #ffffff !important;
border-color: #3b82f6 !important;
}
.tmt-insight-chip-btn[data-insight="o_eq_h"].active,
.tmt-insight-chip-btn[data-insight="o_eq_l"].active {
background: #334155 !important;
color: #ffffff !important;
border-color: #334155 !important;
}
/* Modal Footer */
.tmt-cols-modal-foot {
padding: 12px 18px;
border-top: 1px solid #e2e8f0;
background: #f8fafc;
display: flex;
align-items: center;
justify-content: space-between;
}
.tmt-btn-cols-reset {
background: transparent;
border: none;
color: #dc2626;
font-size: 12.5px;
font-weight: 700;
cursor: pointer;
padding: 6px 4px;
text-decoration: underline;
}
.tmt-cols-foot-actions {
display: inline-flex;
align-items: center;
gap: 8px;
}
.tmt-btn-cols-secondary {
background: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 6px;
padding: 6px 12px;
font-size: 12.5px;
font-weight: 700;
color: #475569;
cursor: pointer;
transition: all 0.15s;
}
.tmt-btn-cols-secondary:hover {
background: #f1f5f9;
}
.tmt-btn-cols-primary {
background: #ff6b00;
border: 1px solid #ff6b00;
border-radius: 6px;
padding: 6px 16px;
font-size: 12.5px;
font-weight: 800;
color: #ffffff;
cursor: pointer;
transition: all 0.15s;
box-shadow: 0 2px 4px rgba(255, 107, 0, 0.25);
}
.tmt-btn-cols-primary:hover {
background: #ea580c;
}
/* 2-Leg Scalper Header & Controls */
.tmt-2leg-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 0 12px 0;
border-bottom: 1px solid #f1f5f9;
margin-bottom: 12px;
}
.tmt-2leg-title-row {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-2leg-icon {
width: 36px;
height: 36px;
border-radius: 10px;
background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: #fff;
box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}
.tmt-2leg-title {
margin: 0;
font-size: 14.5px;
font-weight: 900;
color: #0f172a;
line-height: 1.2;
}
.tmt-2leg-subtitle {
font-size: 11px;
font-weight: 600;
color: #64748b;
}
.tmt-2leg-atm-badge {
font-size: 11.5px;
font-weight: 700;
color: #c2410c;
background: #ffedd5;
padding: 3px 8px;
border-radius: 6px;
border: 1px solid #fed7aa;
}
.tmt-2leg-controls-grid {
display: flex;
align-items: flex-end;
gap: 8px;
margin-bottom: 12px;
flex-wrap: nowrap;
}
.tmt-moneyness-toggle {
display: inline-flex;
align-items: center;
background: #f1f5f9;
border-radius: 8px;
padding: 3px;
gap: 4px;
border: 1.5px solid #cbd5e1;
height: 38px;
box-sizing: border-box;
width: fit-content;
}
.tmt-mode-btn {
padding: 6px 11px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 6px;
font-size: 11.5px;
font-weight: 800;
cursor: pointer;
background: transparent;
color: #64748b;
transition: all 0.15s ease;
user-select: none;
white-space: nowrap;
}
.tmt-mode-btn:hover {
color: #0f172a;
}
.tmt-mode-btn.active#tmt-btn-mode-itm {
background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
color: #ffffff;
box-shadow: 0 2px 6px rgba(255, 107, 0, 0.3);
}
.tmt-mode-btn.active#tmt-btn-mode-otm {
background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
color: #ffffff;
box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}
.tmt-2leg-select-compact {
padding: 7px 10px !important;
font-size: 12.5px !important;
font-weight: 700 !important;
height: 38px !important;
border-radius: 8px !important;
box-sizing: border-box !important;
}
/* 2-Leg In-Box Active Positions & Pending Orders */
.tmt-2leg-trades-card {
background: #ffffff;
border: 1.5px solid #fed7aa;
border-radius: 10px;
padding: 12px;
box-shadow: 0 4px 14px rgba(255, 107, 0, 0.08);
}
.tmt-2leg-trades-head {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 8px;
margin-bottom: 10px;
border-bottom: 1px solid #f1f5f9;
font-size: 11.5px;
font-weight: 800;
color: #334155;
}
.tmt-2leg-count-badge {
font-size: 10px;
font-weight: 800;
background: #ffedd5;
color: #c2410c;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid #fed7aa;
}
.tmt-2leg-net-pnl {
font-size: 13px;
font-weight: 900;
font-family: monospace;
}
.tmt-2leg-pos-item {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 10px;
margin-bottom: 8px;
transition: all 0.15s ease;
}
.tmt-2leg-pos-item.pos-ce {
border-left: 3.5px solid #10b981;
}
.tmt-2leg-pos-item.pos-pe {
border-left: 3.5px solid #ef4444;
}
.tmt-2leg-pos-item:last-child {
margin-bottom: 0;
}
.tmt-pos-top-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6px;
}
.tmt-pos-symbol {
font-size: 12.5px;
font-weight: 800;
color: #0f172a;
}
.tmt-pos-pnl {
font-size: 13px;
font-weight: 900;
font-family: monospace;
}
.tmt-pos-pnl.profit {
color: #10b981;
}
.tmt-pos-pnl.loss {
color: #ef4444;
}
.tmt-pos-meta-row {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11px;
color: #64748b;
margin-bottom: 8px;
}
.tmt-pos-meta-item strong {
color: #1e293b;
}
.tmt-pos-actions-row {
display: flex;
align-items: center;
gap: 6px;
}
.tmt-btn-pos-cutloss {
flex: 1;
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: #ffffff;
border: none;
border-radius: 6px;
padding: 6px 10px;
font-size: 11.5px;
font-weight: 800;
cursor: pointer;
box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
transition: all 0.15s;
}
.tmt-btn-pos-cutloss:hover {
background: #b91c1c;
}
.tmt-btn-pos-book {
flex: 1;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: #ffffff;
border: none;
border-radius: 6px;
padding: 6px 10px;
font-size: 11.5px;
font-weight: 800;
cursor: pointer;
box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
transition: all 0.15s;
}
.tmt-btn-pos-book:hover {
background: #047857;
}
.tmt-btn-pos-trail {
flex: 1;
background: #f1f5f9;
color: #0f172a;
border: 1.5px solid #cbd5e1;
border-radius: 6px;
padding: 6px 8px;
font-size: 11px;
font-weight: 800;
cursor: pointer;
transition: all 0.15s;
}
.tmt-btn-pos-trail:hover {
background: #e2e8f0;
}
.tmt-btn-pos-trail.is-active {
background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
color: #ffffff;
border-color: #0284c7;
box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
animation: tmtTrailPulse 1.5s infinite;
}
@keyframes tmtTrailPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.85; }
}
.tmt-2leg-no-trades {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 10px;
background: #f8fafc;
border: 1px dashed #cbd5e1;
border-radius: 8px;
color: #64748b;
font-size: 11.5px;
}
.tmt-pos-pending-item {
background: #fffbeb;
border: 1px solid #fef3c7;
border-left: 3.5px solid #f59e0b;
border-radius: 8px;
padding: 9px 10px;
margin-bottom: 8px;
display: flex;
align-items: center;
justify-content: space-between;
}
.tmt-btn-pos-cancel {
background: #ffffff;
border: 1px solid #fca5a5;
color: #dc2626;
border-radius: 6px;
padding: 4px 8px;
font-size: 11px;
font-weight: 800;
cursor: pointer;
}
.tmt-2leg-mpp-banner {
display: flex;
align-items: flex-start;
gap: 8px;
background: #f0fdf4;
border: 1px solid #bbf7d0;
border-radius: 8px;
padding: 8px 10px;
font-size: 11.5px;
color: #166534;
line-height: 1.4;
margin-bottom: 12px;
}
/* 2-Leg Pair Preview Card */
.tmt-2leg-preview-card {
background: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 10px;
padding: 12px;
margin-bottom: 14px;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}
.tmt-2leg-preview-head {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 10.5px;
font-weight: 800;
letter-spacing: 0.5px;
color: #64748b;
margin-bottom: 8px;
}
.tmt-2leg-live-pulse {
color: #10b981;
font-weight: 900;
animation: tmtPulseText 1.5s infinite;
}
@keyframes tmtPulseText {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.tmt-2leg-legs-row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
}
.tmt-2leg-leg-box {
flex: 1;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 8px;
padding: 9px 10px;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tmt-2leg-leg-box.leg-ce {
border-color: #86efac;
background: #f0fdf4;
}
.tmt-2leg-leg-box.leg-pe {
border-color: #fca5a5;
background: #fef2f2;
}
.tmt-leg-side-tag {
font-size: 9.5px;
font-weight: 900;
letter-spacing: 0.5px;
margin-bottom: 3px;
}
.tmt-leg-side-tag.tag-ce { color: #15803d; }
.tmt-leg-side-tag.tag-pe { color: #b91c1c; }
.tmt-leg-strike {
font-size: 14px;
font-weight: 900;
color: #0f172a;
margin-bottom: 4px;
}
.tmt-leg-detail {
display: flex;
flex-direction: column;
gap: 2px;
font-size: 11px;
color: #475569;
}
.tmt-leg-detail strong {
color: #0f172a;
}
.tmt-leg-exe-lbl strong {
color: #ff6b00;
font-weight: 900;
}
.tmt-leg-sym {
font-size: 9.5px;
font-family: monospace;
color: #94a3b8;
margin-top: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tmt-2leg-plus-sep {
font-size: 18px;
font-weight: 900;
color: #94a3b8;
flex-shrink: 0;
}
.tmt-2leg-summary-bar {
display: flex;
align-items: center;
justify-content: space-between;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 8px 10px;
font-size: 11px;
}
.tmt-sum-item {
display: flex;
flex-direction: column;
gap: 2px;
}
.tmt-sum-item span {
font-size: 10px;
color: #64748b;
font-weight: 700;
}
.tmt-sum-item strong {
font-size: 12.5px;
font-weight: 900;
color: #0f172a;
}
/* Action Execution Buttons */
.tmt-2leg-action-buttons {
display: flex;
flex-direction: column;
gap: 8px;
}
.tmt-btn-2leg-buy {
width: 100%;
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: #ffffff;
border: none;
border-radius: 10px;
padding: 12px 16px;
cursor: pointer;
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
transition: all 0.15s ease;
text-align: left;
}
.tmt-btn-2leg-buy:hover {
background: linear-gradient(135deg, #059669 0%, #047857 100%);
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}
.tmt-btn-2leg-buy:active {
transform: translateY(0);
}
.tmt-btn-2leg-inner {
display: flex;
align-items: center;
gap: 12px;
}
.tmt-btn-2leg-icon {
font-size: 24px;
line-height: 1;
}
.tmt-btn-2leg-text {
display: block;
font-size: 14.5px;
font-weight: 900;
letter-spacing: 0.5px;
}
.tmt-btn-2leg-desc {
display: block;
font-size: 11px;
opacity: 0.9;
font-weight: 600;
margin-top: 1px;
}
.tmt-btn-2leg-exit {
width: 100%;
background: #fef2f2;
color: #dc2626;
border: 1.5px solid #fca5a5;
border-radius: 8px;
padding: 9px 14px;
font-size: 13px;
font-weight: 900;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: all 0.15s;
}
.tmt-btn-2leg-exit:hover {
background: #dc2626;
color: #ffffff;
border-color: #dc2626;
}
.tmt-2leg-status-box {
border-radius: 8px;
padding: 10px 12px;
font-size: 12px;
font-weight: 700;
margin-bottom: 10px;
line-height: 1.4;
}
.tmt-2leg-status-box.success {
background: #ecfdf5;
border: 1px solid #6ee7b7;
color: #065f46;
}
.tmt-2leg-status-box.error {
background: #fef2f2;
border: 1px solid #fca5a5;
color: #991b1b;
}
/* -------------------------------------------------------------
* Strategy Builder & Multi-Leg Basket Styles
* ------------------------------------------------------------- */
.tmt-order-tab.active#btn-ord-tab-builder {
color: #7c3aed;
}
.tmt-order-tab.active#btn-ord-tab-builder::after {
background: #8b5cf6;
}
.tmt-order-tab.active#btn-ord-tab-calculator {
color: #ea580c;
}
.tmt-order-tab.active#btn-ord-tab-calculator::after {
background: #ff6b00;
}
.tmt-order-tab.active#btn-ord-tab-expiry-calc {
color: #dc2626;
}
.tmt-order-tab.active#btn-ord-tab-expiry-calc::after {
background: #ef4444;
}
.tmt-expcalc-chip {
padding: 4px 10px;
font-size: 11px;
font-weight: 800;
color: #475569;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-expcalc-chip:hover {
border-color: #ef4444;
color: #ef4444;
}
.tmt-expcalc-chip.active {
background: #ef4444 !important;
border-color: #ef4444 !important;
color: #ffffff !important;
}
.tmt-calc-number-input:focus {
border-color: #f97316 !important;
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}
.tmt-calc-card {
transition: all 0.2s ease;
}
.tmt-calc-card:hover {
border-color: #cbd5e1 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
.tmt-btn-calc-clear:hover {
background: #f1f5f9 !important;
color: #dc2626 !important;
border-color: #fca5a5 !important;
}
/* Strategy Builder Pure Font-Size Scaling (Only adjusts font sizes via --b-fdelta, Zero Zoom / Zero Layout Distortion) */
#tmt-pane-ord-builder {
--b-fdelta: 0px;
}
#tmt-pane-ord-builder .tmt-builder-title {
font-size: calc(14px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-builder-subtitle {
font-size: calc(10.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-builder-atm-badge {
font-size: calc(11px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-label {
font-size: calc(10.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-builder-badge-tag {
font-size: calc(9.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-qty-badge {
font-size: calc(10.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-select,
#tmt-pane-ord-builder select {
font-size: calc(11px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-lot-chip {
font-size: calc(11px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-lot-input {
font-size: calc(11px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-builder-basket-head {
font-size: calc(11.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-builder-btn-xs {
font-size: calc(10px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-action-btn {
font-size: calc(16px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-strike-text {
font-size: calc(18.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-stepper-strike-val {
font-size: calc(18.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-expiry-select {
font-size: calc(13px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-type-badge {
font-size: calc(13px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-qty-bullet {
font-size: calc(13.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-ltp-val {
font-size: calc(19px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-leg-type-cost {
font-size: calc(13px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-builder-chain-hint {
font-size: calc(11px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-analytics-head {
font-size: calc(11.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-analytic-lbl {
font-size: calc(10.5px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-analytic-val {
font-size: calc(22px + var(--b-fdelta)) !important;
line-height: 1.25 !important;
overflow: visible !important;
}
#tmt-pane-ord-builder .tmt-funds-head {
font-size: calc(11px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-fund-lbl {
font-size: calc(10px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-fund-val {
font-size: calc(20px + var(--b-fdelta)) !important;
line-height: 1.25 !important;
overflow: visible !important;
}
#tmt-pane-ord-builder .tmt-btn-builder-text {
font-size: calc(13px + var(--b-fdelta)) !important;
}
#tmt-pane-ord-builder .tmt-btn-builder-desc {
font-size: calc(11px + var(--b-fdelta)) !important;
}
.tmt-builder-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 0 12px 0;
border-bottom: 1px solid #f1f5f9;
margin-bottom: 12px;
}
.tmt-builder-title-row {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-builder-icon {
width: 36px;
height: 36px;
border-radius: 10px;
background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: #fff;
box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}
.tmt-builder-title {
margin: 0;
font-size: 14.5px;
font-weight: 900;
color: #0f172a;
line-height: 1.2;
}
.tmt-builder-subtitle {
font-size: 11px;
font-weight: 600;
color: #64748b;
}
.tmt-builder-atm-badge {
font-size: 11.5px;
font-weight: 700;
color: #7c3aed;
background: #f5f3ff;
padding: 3px 8px;
border-radius: 6px;
border: 1px solid #ddd6fe;
}
.tmt-builder-controls-box {
background: #fdfcff;
border: 1px solid #e9d5ff;
border-radius: 10px;
padding: 8px 10px;
margin-bottom: 10px;
}
.tmt-builder-controls-row {
display: flex;
gap: 6px;
align-items: flex-end;
margin-bottom: 6px;
}
.tmt-btn-fscale:hover {
background: #e2e8f0 !important;
color: #0f172a !important;
}
.tmt-builder-badge-tag {
font-size: 10px;
font-weight: 800;
color: #7c3aed;
background: #ede9fe;
padding: 2px 7px;
border-radius: 5px;
}
.tmt-builder-meta-row {
display: flex;
gap: 8px;
margin-top: 4px;
margin-bottom: 6px;
}
.tmt-builder-sm-select {
padding: 4px 6px !important;
font-size: 11px !important;
font-weight: 700 !important;
height: 32px !important;
}
.tmt-builder-lot-chip.active {
background: #8b5cf6 !important;
color: #fff !important;
border-color: #7c3aed !important;
}
.tmt-builder-basket-card {
background: #ffffff;
border: 1.5px solid #ddd6fe;
border-radius: 10px;
padding: 12px;
margin-bottom: 12px;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.05);
}
.tmt-builder-basket-head {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 8px;
margin-bottom: 8px;
border-bottom: 1px solid #f1f5f9;
font-size: 12px;
font-weight: 800;
color: #1e1b4b;
}
.tmt-builder-btn-xs {
background: #f5f3ff;
border: 1px solid #c4b5fd;
color: #6d28d9;
border-radius: 5px;
padding: 3px 8px;
font-size: 10.5px;
font-weight: 800;
cursor: pointer;
transition: all 0.15s;
}
.tmt-builder-btn-xs:hover {
background: #ede9fe;
}
.tmt-builder-legs-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 8px;
}
.tmt-builder-leg-row {
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 8px;
padding: 0;
display: flex;
align-items: stretch;
justify-content: space-between;
overflow: hidden;
transition: all 0.15s;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.tmt-builder-leg-row:hover {
border-color: #94a3b8;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.tmt-builder-leg-row.leg-buy {
border-left: none;
}
.tmt-builder-leg-row.leg-sell {
border-left: none;
}
.tmt-leg-action-btn {
width: 64px;
min-width: 64px;
padding: 0 6px;
border-radius: 0;
font-size: 16px;
font-weight: 900;
letter-spacing: 0.5px;
cursor: pointer;
border: none;
user-select: none;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
}
.tmt-leg-action-btn.action-buy {
background: #10b981 !important;
color: #ffffff !important;
}
.tmt-leg-action-btn.action-buy:hover {
background: #059669 !important;
}
.tmt-leg-action-btn.action-sell {
background: #ef4444 !important;
color: #ffffff !important;
}
.tmt-leg-action-btn.action-sell:hover {
background: #dc2626 !important;
}
.tmt-leg-info-col {
display: flex;
align-items: center;
justify-content: flex-start;
flex: 1;
padding: 6px 12px;
min-width: 0;
overflow: hidden;
}
.tmt-leg-main-bar {
display: flex;
align-items: center;
gap: 7px;
flex-wrap: nowrap;
min-width: 0;
}
.tmt-leg-expiry-select {
display: inline-flex;
align-items: center;
height: 32px !important;
line-height: normal !important;
font-size: 12px !important;
font-weight: 800 !important;
color: #0f172a !important;
background-color: #f8fafc;
border: 1.5px solid #cbd5e1;
border-radius: 6px;
padding: 2px 22px 2px 8px !important;
cursor: pointer;
user-select: none;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 5px center;
background-size: 14px 14px;
outline: none;
box-sizing: border-box !important;
overflow: visible !important;
vertical-align: middle;
transition: all 0.15s ease;
}
.tmt-leg-expiry-select:hover {
border-color: #8b5cf6;
background-color: #ffffff;
}
.tmt-leg-expiry-select:focus {
border-color: #7c3aed;
box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}
.tmt-strike-stepper {
display: inline-flex;
align-items: center;
height: 34px;
background: #f8fafc;
border: 1.5px solid #cbd5e1;
border-radius: 6px;
padding: 2px 3px;
gap: 3px;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tmt-stepper-btn {
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
background: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 4px;
font-size: 18px;
font-weight: 900;
color: #1e293b;
cursor: pointer;
user-select: none;
transition: all 0.12s ease;
padding: 0;
line-height: 1;
}
.tmt-stepper-btn:hover {
background: #f1f5f9;
border-color: #94a3b8;
color: #0f172a;
transform: scale(1.06);
}
.tmt-stepper-btn:active {
background: #e2e8f0;
transform: scale(0.94);
}
.tmt-stepper-strike-val {
font-size: 18.5px;
font-weight: 900;
color: #0f172a;
font-family: monospace, sans-serif;
min-width: 60px;
text-align: center;
padding: 0 4px;
letter-spacing: 0.3px;
}
.tmt-leg-type-badge {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 3px 9px;
font-size: 13px;
font-weight: 900;
letter-spacing: 0.5px;
border-radius: 6px;
cursor: pointer;
user-select: none;
transition: all 0.15s ease;
line-height: 1.2;
}
.tmt-leg-type-badge.badge-ce {
background: #fff7ed !important;
color: #ea580c !important;
border: 1.5px solid #fb923c !important;
box-shadow: 0 1px 2px rgba(234, 88, 12, 0.12);
}
.tmt-leg-type-badge.badge-ce:hover {
background: #ea580c !important;
color: #ffffff !important;
border-color: #ea580c !important;
transform: scale(1.05);
}
.tmt-leg-type-badge.badge-pe {
background: #eff6ff !important;
color: #2563eb !important;
border: 1.5px solid #60a5fa !important;
box-shadow: 0 1px 2px rgba(37, 99, 235, 0.12);
}
.tmt-leg-type-badge.badge-pe:hover {
background: #2563eb !important;
color: #ffffff !important;
border-color: #2563eb !important;
transform: scale(1.05);
}
.tmt-leg-qty-bullet {
display: inline-flex;
align-items: center;
font-size: 13.5px;
font-weight: 800;
color: #475569;
white-space: nowrap;
margin-left: 3px;
letter-spacing: -0.2px;
user-select: none;
}
.tmt-leg-strike-text {
font-size: 18.5px;
font-weight: 900;
color: #0f172a;
display: flex;
align-items: center;
gap: 6px;
}
.tmt-leg-ltp-box {
text-align: right;
min-width: 90px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 6px 12px;
gap: 2px;
}
.tmt-leg-ltp-val {
font-size: 19px;
font-weight: 900;
font-family: monospace;
color: #0f172a;
line-height: 1.2;
}
.tmt-leg-type-cost {
font-size: 13px;
font-weight: 800;
line-height: 1.2;
}
.tmt-leg-btn-del {
width: 42px;
min-width: 42px;
background: #ef4444 !important;
border: none;
color: #ffffff !important;
font-size: 20px;
font-weight: 900;
cursor: pointer;
padding: 0;
border-radius: 0;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
}
.tmt-leg-btn-del:hover {
background: #dc2626 !important;
color: #ffffff !important;
}
@keyframes tmtSpinAnim {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.tmt-refresh-spin-icon.spinning {
display: inline-block;
animation: tmtSpinAnim 0.75s linear infinite;
}
.tmt-builder-chain-hint {
font-size: 11px;
color: #6d28d9;
background: #faf5ff;
border: 1px dashed #d8b4fe;
border-radius: 6px;
padding: 6px 8px;
text-align: center;
}
.tmt-builder-analytics-card {
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 10px;
padding: 12px;
margin-bottom: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tmt-analytics-head {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11.5px;
font-weight: 800;
color: #334155;
padding-bottom: 8px;
border-bottom: 1px solid #f1f5f9;
margin-bottom: 10px;
}
.tmt-badge-debit {
font-size: 10px;
font-weight: 900;
padding: 2px 8px;
border-radius: 5px;
background: #fee2e2;
color: #b91c1c;
}
.tmt-badge-credit {
font-size: 10px;
font-weight: 900;
padding: 2px 8px;
border-radius: 5px;
background: #dcfce7;
color: #15803d;
}
.tmt-analytics-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
margin-bottom: 8px;
}
.tmt-analytic-item {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 11px 12px;
min-height: 64px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 3px;
}
.tmt-analytic-lbl {
font-size: 10px;
font-weight: 700;
color: #64748b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.2;
}
.tmt-analytic-val {
font-size: 22px;
font-weight: 800;
font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
letter-spacing: 0.4px;
color: #0f172a;
white-space: nowrap;
line-height: 1.25;
overflow: visible;
}
.tmt-clear-comma {
font-family: Arial, -apple-system, "Segoe UI", sans-serif;
font-weight: 900;
font-size: 1.15em;
margin: 0 1.5px;
display: inline-block;
vertical-align: -1px;
line-height: 1;
color: inherit !important;
-webkit-text-fill-color: inherit !important;
}
.text-green .tmt-clear-comma, strong.text-green .tmt-clear-comma, span.text-green .tmt-clear-comma {
color: #059669 !important;
-webkit-text-fill-color: #059669 !important;
}
.text-red .tmt-clear-comma, strong.text-red .tmt-clear-comma, span.text-red .tmt-clear-comma {
color: #dc2626 !important;
-webkit-text-fill-color: #dc2626 !important;
}
.text-blue .tmt-clear-comma, strong.text-blue .tmt-clear-comma, span.text-blue .tmt-clear-comma {
color: #2563eb !important;
-webkit-text-fill-color: #2563eb !important;
}
#tmt-builder-legs-count, #tmt-builder-btn-legs-count {
color: #fde047 !important;
-webkit-text-fill-color: #fde047 !important;
font-weight: 900 !important;
}
.tmt-btn-strike-chart {
background: transparent;
border: none;
cursor: pointer;
font-size: 13px;
padding: 2px 4px;
border-radius: 4px;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform 0.15s ease, background-color 0.15s ease;
}
.tmt-btn-strike-chart:hover {
background-color: #e0f2fe;
transform: scale(1.22);
}
.tmt-bkt-shortcut-btn {
cursor: pointer;
background: #ede9fe;
color: #7c3aed;
font-weight: 800;
font-size: 11px;
padding: 2px 7px;
border-radius: 5px;
border: 1px solid #c4b5fd;
margin-left: 6px;
display: inline-flex;
align-items: center;
gap: 3px;
vertical-align: middle;
transition: all 0.15s ease;
line-height: 1.2;
}
.tmt-bkt-shortcut-btn:hover {
background: #ddd6fe !important;
color: #6d28d9 !important;
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}
.tmt-builder-funds-card {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 10px;
margin-top: 4px;
}
.tmt-funds-head {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11px;
font-weight: 800;
color: #334155;
margin-bottom: 8px;
border-bottom: 1px dashed #cbd5e1;
padding-bottom: 5px;
}
.tmt-funds-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
}
.tmt-fund-item {
display: flex;
flex-direction: column;
justify-content: space-between;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 11px 12px;
min-height: 64px;
box-sizing: border-box;
min-width: 0;
gap: 3px;
}
.tmt-fund-lbl {
font-size: 9.5px;
font-weight: 700;
color: #64748b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.2;
}
.tmt-fund-val {
font-size: 20px;
font-weight: 800;
font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
letter-spacing: 0.4px;
color: #0f172a;
margin-top: 2px;
white-space: nowrap;
line-height: 1.25;
overflow: visible;
}
.tmt-btn-builder-execute {
width: 100%;
background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
color: #ffffff;
border: none;
border-radius: 10px;
padding: 12px;
cursor: pointer;
box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
transition: all 0.15s ease;
}
.tmt-btn-builder-execute:hover {
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
}
.tmt-btn-builder-execute:active {
transform: translateY(0);
}
.tmt-btn-builder-inner {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.tmt-btn-builder-icon {
font-size: 22px;
}
.tmt-btn-builder-text {
display: block;
font-size: 13.5px;
font-weight: 900;
letter-spacing: 0.5px;
}
.tmt-btn-builder-desc {
display: block;
font-size: 10.5px;
opacity: 0.9;
font-weight: 600;
}
/* Selected Strike Order Ticket Card */
.tmt-strike-ticket {
background: #ffffff;
border: none !important;
border-radius: 0;
padding: 0 !important;
transition: all 0.2s ease;
margin: 0 !important;
box-shadow: none !important;
}
.tmt-strike-ticket.ticket-mode-ce,
.tmt-strike-ticket.ticket-mode-pe {
border: none !important;
background: #ffffff !important;
box-shadow: none !important;
}
/* Royal Blue Header for Selected Strike */
.tmt-ticket-header.tmt-royal-header {
background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
color: #ffffff !important;
padding: 13px 18px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: none !important;
box-shadow: 0 2px 10px rgba(30, 64, 175, 0.2);
}
/* Universal White Typography Overrides for Dark Header & Chips */
.tmt-ticket-header.tmt-royal-header h1,
.tmt-ticket-header.tmt-royal-header h2,
.tmt-ticket-header.tmt-royal-header h3,
.tmt-ticket-header.tmt-royal-header .tmt-ticket-sym,
#tmt-ticket-sym-text,
.tmt-ticket-header.tmt-royal-header .tmt-ticket-ltp-lbl,
.tmt-ticket-header.tmt-royal-header .tmt-ticket-ltp-val,
#tmt-ticket-ltp-val,
.tmt-ticket-header.tmt-royal-header .tmt-ticket-code,
#tmt-ticket-code-text,
.tmt-ticket-header.tmt-royal-header .tmt-ticket-close-btn {
color: #ffffff !important;
}
#tmt-ordtype-ltp1.active {
background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
color: #ffffff !important;
border-color: #1e40af !important;
box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35) !important;
}
.tmt-ticket-title-group {
display: flex;
flex-direction: column;
gap: 5px;
min-width: 0;
}
.tmt-royal-sym-row {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.tmt-ticket-badge {
align-self: flex-start;
font-size: 11px;
font-weight: 800;
padding: 3px 8px;
border-radius: 6px;
letter-spacing: 0.5px;
text-transform: uppercase;
line-height: 1.2;
}
.tmt-ticket-badge.badge-ce {
background: #10b981 !important;
color: #ffffff !important;
border: 1px solid #34d399 !important;
box-shadow: 0 1px 4px rgba(16, 185, 129, 0.3);
}
.tmt-ticket-badge.badge-pe {
background: #ef4444 !important;
color: #ffffff !important;
border: 1px solid #f87171 !important;
box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
}
.tmt-ticket-sym {
margin: 0;
font-size: 18px;
font-weight: 900;
color: #ffffff !important;
letter-spacing: 0.3px;
line-height: 1.2;
}
.tmt-ticket-code {
font-size: 11.5px;
color: #ffffff !important;
background: rgba(255, 255, 255, 0.18) !important;
border: 1px solid rgba(255, 255, 255, 0.28) !important;
padding: 2px 7px;
border-radius: 4px;
display: inline-block;
font-family: ui-monospace, monospace;
align-self: flex-start;
letter-spacing: 0.3px;
}
.tmt-royal-ltp-col {
display: flex;
align-items: center;
gap: 12px;
}
.tmt-ticket-ltp-group {
text-align: right;
}
.tmt-ticket-ltp-lbl {
display: block;
font-size: 10px;
font-weight: 800;
color: #bfdbfe !important;
text-transform: uppercase;
letter-spacing: 0.6px;
line-height: 1;
margin-bottom: 3px;
}
.tmt-ticket-ltp-val {
font-size: 24px;
font-weight: 900;
color: #ffffff !important;
font-family: ui-monospace, monospace;
line-height: 1;
}
.tmt-ticket-close-btn {
background: rgba(255, 255, 255, 0.18) !important;
border: none !important;
color: #ffffff !important;
font-size: 13px !important;
font-weight: 900 !important;
cursor: pointer;
border-radius: 50% !important;
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
line-height: 1;
}
.tmt-ticket-close-btn:hover {
background: rgba(255, 255, 255, 0.35) !important;
transform: scale(1.08);
}
.tmt-ticket-inner-body {
padding: 16px 18px 20px 18px;
}
/* Order Type Chips (Market vs Limit) */
.tmt-ordertype-chips {
display: grid;
grid-template-columns: 1fr 1fr 1.2fr;
gap: 10px;
margin-top: 4px;
}
.tmt-ordertype-chip {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 10px 14px;
background: #f8fafc;
border: 1.5px solid #cbd5e1;
border-radius: 8px;
font-size: 13px;
font-weight: 800;
color: #475569;
cursor: pointer;
transition: all 0.15s ease;
text-align: center;
user-select: none;
}
.tmt-ordertype-chip:hover {
background: #ffffff;
border-color: var(--tmt-orange);
color: var(--tmt-orange);
transform: translateY(-1px);
}
.tmt-ordertype-chip.active {
background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
color: #ffffff !important;
border-color: #6d28d9 !important;
box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35) !important;
}
#tmt-ordtype-mkt.active {
background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
color: #ffffff !important;
border-color: #059669 !important;
box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35) !important;
}
#tmt-ordtype-lmt.active {
background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
color: #ffffff !important;
border-color: #6d28d9 !important;
box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35) !important;
}
#tmt-ordtype-ltp1.active {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
color: #ffffff !important;
border-color: #1d4ed8 !important;
box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35) !important;
}
.tmt-price-input-wrap {
position: relative;
width: 100%;
}
#tmt-shield-buffer,
input#tmt-shield-buffer {
all: unset !important;
display: inline-block !important;
width: 48px !important;
height: 21px !important;
min-height: 21px !important;
max-height: 21px !important;
line-height: 21px !important;
padding: 0 2px !important;
margin: 0 !important;
box-sizing: border-box !important;
font-size: 12px !important;
font-weight: 900 !important;
font-family: monospace, sans-serif !important;
color: #1d4ed8 !important;
-webkit-text-fill-color: #1d4ed8 !important;
background-color: #ffffff !important;
border: 1.5px solid #2563eb !important;
border-radius: 4px !important;
text-align: center !important;
outline: none !important;
cursor: text !important;
}
#tmt-shield-buffer:focus,
input#tmt-shield-buffer:focus {
border-color: #1d4ed8 !important;
color: #1d4ed8 !important;
-webkit-text-fill-color: #1d4ed8 !important;
background-color: #ffffff !important;
}
/* Highlighted Market Price Input Number */
.tmt-market-highlight,
input#tmt-ticket-price.tmt-market-highlight {
background-color: #f0fdf4 !important;
color: #047857 !important;
-webkit-text-fill-color: #047857 !important;
border: 2px solid #10b981 !important;
box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.18), inset 0 1px 3px rgba(0, 0, 0, 0.03) !important;
font-size: 20px !important;
font-weight: 900 !important;
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, monospace, sans-serif !important;
letter-spacing: 0.5px !important;
border-radius: 8px !important;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
/* Highlighted Shield Price Input Number */
.tmt-shield-highlight,
input#tmt-ticket-price.tmt-shield-highlight {
background-color: #eff6ff !important;
color: #1d4ed8 !important;
-webkit-text-fill-color: #1d4ed8 !important;
border: 2px solid #3b82f6 !important;
box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.18), inset 0 1px 3px rgba(0, 0, 0, 0.03) !important;
font-size: 20px !important;
font-weight: 900 !important;
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, monospace, sans-serif !important;
letter-spacing: 0.5px !important;
border-radius: 8px !important;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
/* Highlighted Limit Price Input Number */
.tmt-limit-highlight,
input#tmt-ticket-price.tmt-limit-highlight {
background-color: #ffffff !important;
color: #6d28d9 !important;
-webkit-text-fill-color: #6d28d9 !important;
border: 2.5px solid #8b5cf6 !important;
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18), inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
font-size: 21px !important;
font-weight: 900 !important;
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, monospace, sans-serif !important;
letter-spacing: 0.5px !important;
border-radius: 8px !important;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tmt-limit-highlight:focus,
input#tmt-ticket-price.tmt-limit-highlight:focus {
border-color: #7c3aed !important;
box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.25), inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
outline: none !important;
}
/* Balance, Margin & Exchange 4-Column Grid */
.tmt-ticket-meta-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
background: #f8fafc;
border: 1px solid #cbd5e1;
border-radius: 10px;
padding: 12px 16px;
margin-bottom: 14px;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
@media (max-width: 640px) {
.tmt-ticket-meta-grid {
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
}
.tmt-meta-box {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.tmt-meta-lbl {
font-size: 12px;
font-weight: 800;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.4px;
white-space: nowrap;
}
.tmt-meta-val {
font-size: 16px;
font-weight: 900;
color: #0f172a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tmt-meta-val.text-blue {
color: #0284c7;
}
.tmt-meta-val.text-orange {
color: #ea580c;
}
.tmt-meta-val.text-green {
color: #059669;
}
.tmt-meta-val.text-red {
color: #dc2626;
}
.tmt-ticket-btn {
width: 100%;
}
.tmt-ticket-btn.btn-ce {
background: linear-gradient(135deg, #10b981, #059669);
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.tmt-ticket-btn.btn-ce:hover {
background: linear-gradient(135deg, #059669, #047857);
}
.tmt-ticket-btn.btn-pe {
background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}
.tmt-ticket-btn.btn-pe:hover {
background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
}
/* ========================================================
⚡ ULTRA HIGH-VOLTAGE ELECTRIC SHOCK ANIMATION ⚡
Applied to 1-Click Order Execution Button when 1-Click is selected
======================================================== */
.tmt-btn-execute.tmt-electric-shock {
position: relative !important;
overflow: visible !important;
border: 1.5px solid rgba(0, 240, 255, 0.9) !important;
box-shadow: 0 0 14px rgba(0, 240, 255, 0.7), 0 0 26px rgba(250, 204, 21, 0.45), inset 0 0 8px rgba(0, 240, 255, 0.25) !important;
animation: tmtElectricBuzz 0.9s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
}
/* Electric Waves Canvas Sits Perfectly Around Execute Button */
.tmt-btn-electric-canvas {
position: absolute;
top: -16px;
left: -16px;
width: calc(100% + 32px);
height: calc(100% + 32px);
pointer-events: none;
z-index: 10;
}
/* Electric Surge for PE (Blue Put Strike) */
.tmt-btn-execute.btn-pe.tmt-electric-shock {
background: linear-gradient(135deg, #1d4ed8, #2563eb, #00d2ff, #1e40af) !important;
background-size: 250% 250% !important;
animation: tmtElectricGradMove 2.5s ease infinite, tmtElectricBuzz 0.85s infinite, tmtElectricSurgePE 1.1s ease-in-out infinite !important;
}
/* Electric Surge for CE (Green Call Strike) */
.tmt-btn-execute.btn-ce.tmt-electric-shock {
background: linear-gradient(135deg, #047857, #059669, #00ffc4, #10b981) !important;
background-size: 250% 250% !important;
animation: tmtElectricGradMove 2.5s ease infinite, tmtElectricBuzz 0.85s infinite, tmtElectricSurgeCE 1.1s ease-in-out infinite !important;
}
/* High-Voltage Icon Vibrations */
.tmt-btn-execute.tmt-electric-shock .tmt-exe-icon {
position: relative;
z-index: 3;
display: inline-block;
filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 16px #00f0ff);
animation: tmtIconShock 0.22s infinite alternate;
}
.tmt-btn-execute.tmt-electric-shock .tmt-exe-text {
position: relative;
z-index: 3;
text-shadow: 0 0 8px rgba(0, 240, 255, 0.85), 0 0 18px rgba(255, 255, 255, 0.75);
}
.tmt-btn-execute.tmt-electric-shock:active {
transform: scale(0.95) !important;
filter: brightness(2.2) contrast(1.5) drop-shadow(0 0 35px #ffffff) !important;
}
/* Matching ⚡ 0-DELAY Badge Electric Pulse */
#tmt-mode-tag.tmt-electric-tag {
position: relative;
background: linear-gradient(135deg, #f97316, #ea580c) !important;
color: #ffffff !important;
box-shadow: 0 0 8px rgba(249, 115, 22, 0.9), 0 0 16px rgba(255, 237, 213, 0.7) !important;
animation: tmtBadgeShock 0.75s ease-in-out infinite alternate !important;
}
/* ========================================================
⚡ SEGMENTED ORDER MODE SLIDER (1-CLICK vs ASK FIRST) ⚡
======================================================== */
.tmt-order-mode-slider {
position: relative;
overflow: visible !important;
display: flex;
align-items: center;
background: #f1f5f9;
border: 1.5px solid #cbd5e1;
border-radius: 9px;
padding: 3px;
gap: 3px;
user-select: none;
height: 38px;
box-sizing: border-box;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tmt-order-mode-slider.mode-instant {
border-color: #f97316 !important;
background: #fff7ed !important;
box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2), inset 0 1px 3px rgba(249, 115, 22, 0.08) !important;
}
.tmt-order-mode-slider.mode-confirm {
border-color: #3b82f6 !important;
background: #eff6ff !important;
box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), inset 0 1px 3px rgba(59, 130, 246, 0.08) !important;
}
.tmt-mode-slider-btn {
position: relative;
overflow: visible !important;
flex: 1;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
background: transparent;
border: none;
outline: none;
cursor: pointer;
font-size: 12px;
font-weight: 800;
color: #64748b;
border-radius: 7px;
z-index: 2;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
padding: 0 8px;
white-space: nowrap;
}
.tmt-mode-slider-btn:hover {
color: #1e293b;
}
.tmt-mode-slider-btn.active#tmt-mode-btn-instant {
color: #ffffff !important;
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
box-shadow: 0 2px 8px rgba(234, 88, 12, 0.45), 0 1px 2px rgba(0, 0, 0, 0.12) !important;
}
.tmt-mode-slider-btn.active#tmt-mode-btn-confirm {
color: #ffffff !important;
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4), 0 1px 2px rgba(0, 0, 0, 0.12) !important;
}
.tmt-mode-slider-btn .tmt-mode-btn-icon {
font-size: 13px;
line-height: 1;
display: inline-block;
}
.tmt-mode-slider-btn.active#tmt-mode-btn-instant .tmt-mode-btn-icon {
animation: tmtFlashThunder 1.4s infinite;
}
.tmt-slider-btn-electric-canvas {
position: absolute;
pointer-events: none !important;
z-index: 10 !important;
}
@keyframes tmtFlashThunder {
0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #ffedd5); }
50% { transform: scale(1.25); filter: drop-shadow(0 0 6px #fde047); }
}
/* KEYFRAMES */
/* 1. Micro-vibration Jitter (High Voltage Buzz Shock) */
@keyframes tmtElectricBuzz {
0%, 100% { transform: translate(0, 0) scale(1); }
12% { transform: translate(-1.2px, 0.8px) scale(1.004); }
24% { transform: translate(1.4px, -0.9px) scale(1.002); }
36% { transform: translate(-0.8px, -1.2px) scale(1.006); }
48% { transform: translate(1.1px, 0.6px) scale(1.003); }
60% { transform: translate(-1.4px, 1px) scale(1.007); }
72% { transform: translate(0.9px, -0.7px) scale(1.003); }
84% { transform: translate(1.3px, 0.8px) scale(1.005); }
94% { transform: translate(-0.6px, -0.6px) scale(1.001); }
}
/* 3. Gradient Flow Movement */
@keyframes tmtElectricGradMove {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* 4. Electric Surge Pulse for PE (Laser Cyan & Royal Blue High Voltage) */
@keyframes tmtElectricSurgePE {
0%, 100% {
box-shadow: 
0 0 14px rgba(0, 240, 255, 0.85),
0 0 28px rgba(37, 99, 235, 0.75),
0 0 50px rgba(0, 200, 255, 0.45),
inset 0 0 14px rgba(255, 255, 255, 0.55);
}
18% {
box-shadow: 
0 0 28px rgba(255, 255, 255, 1),
0 0 48px rgba(0, 240, 255, 0.95),
0 0 75px rgba(59, 130, 246, 0.85),
inset 0 0 25px rgba(255, 255, 255, 0.9);
}
36% {
box-shadow: 
0 0 16px rgba(0, 240, 255, 0.8),
0 0 30px rgba(37, 99, 235, 0.65),
0 0 52px rgba(0, 200, 255, 0.4),
inset 0 0 15px rgba(255, 255, 255, 0.45);
}
55% {
box-shadow: 
0 0 35px rgba(255, 255, 255, 1),
0 0 60px rgba(0, 255, 255, 1),
0 0 90px rgba(37, 99, 235, 0.95),
inset 0 0 30px rgba(255, 255, 255, 0.95);
}
72% {
box-shadow: 
0 0 15px rgba(0, 240, 255, 0.8),
0 0 26px rgba(37, 99, 235, 0.65),
0 0 45px rgba(0, 200, 255, 0.4),
inset 0 0 12px rgba(255, 255, 255, 0.4);
}
88% {
box-shadow: 
0 0 30px rgba(255, 255, 255, 0.95),
0 0 52px rgba(0, 240, 255, 0.92),
0 0 80px rgba(37, 99, 235, 0.85),
inset 0 0 24px rgba(255, 255, 255, 0.85);
}
}
/* 5. Electric Surge Pulse for CE (Toxic Emerald & Cyan Discharge) */
@keyframes tmtElectricSurgeCE {
0%, 100% {
box-shadow: 
0 0 14px rgba(0, 255, 170, 0.85),
0 0 28px rgba(16, 185, 129, 0.75),
0 0 50px rgba(0, 240, 255, 0.45),
inset 0 0 14px rgba(255, 255, 255, 0.55);
}
18% {
box-shadow: 
0 0 28px rgba(255, 255, 255, 1),
0 0 48px rgba(0, 255, 180, 0.95),
0 0 75px rgba(16, 185, 129, 0.85),
inset 0 0 25px rgba(255, 255, 255, 0.9);
}
55% {
box-shadow: 
0 0 35px rgba(255, 255, 255, 1),
0 0 60px rgba(0, 255, 200, 1),
0 0 90px rgba(16, 185, 129, 0.95),
inset 0 0 30px rgba(255, 255, 255, 0.95);
}
88% {
box-shadow: 
0 0 30px rgba(255, 255, 255, 0.95),
0 0 52px rgba(0, 255, 170, 0.92),
0 0 80px rgba(16, 185, 129, 0.85),
inset 0 0 24px rgba(255, 255, 255, 0.85);
}
}
/* 6. Electric Surge Pulse for Default */
@keyframes tmtElectricSurgeDefault {
0%, 100% {
box-shadow: 
0 0 14px rgba(245, 158, 11, 0.85),
0 0 28px rgba(234, 88, 12, 0.75),
0 0 50px rgba(254, 240, 138, 0.45),
inset 0 0 14px rgba(255, 255, 255, 0.55);
}
55% {
box-shadow: 
0 0 35px rgba(255, 255, 255, 1),
0 0 60px rgba(245, 158, 11, 1),
0 0 90px rgba(234, 88, 12, 0.95),
inset 0 0 30px rgba(255, 255, 255, 0.95);
}
}
/* 8. Lightning Icon Twitch */
@keyframes tmtIconShock {
0% { transform: scale(1) rotate(0deg); }
30% { transform: scale(1.15) rotate(-6deg); }
60% { transform: scale(1.05) rotate(7deg); }
100% { transform: scale(1.22) rotate(-4deg); }
}
/* 9. Badge Shockwave */
@keyframes tmtBadgeShock {
0% { transform: scale(1); box-shadow: 0 0 6px rgba(249, 115, 22, 0.6); }
100% { transform: scale(1.08); box-shadow: 0 0 14px rgba(249, 115, 22, 1), 0 0 20px rgba(255, 255, 255, 0.8); }
}
/* Scalping Pad Specifics */
.tmt-index-tabs {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 16px;
}
.tmt-idx-btn {
background: #f8fafc;
border: 1px solid var(--tmt-card-border);
color: var(--tmt-text-muted);
padding: 10px 6px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
text-align: center;
transition: all 0.15s ease;
}
.tmt-idx-btn small {
display: block;
font-size: 10px;
opacity: 0.8;
margin-top: 2px;
}
.tmt-idx-btn:hover {
background: #f1f5f9;
color: #0f172a;
}
.tmt-idx-btn.active {
background: linear-gradient(135deg, var(--tmt-orange), var(--tmt-orange-dark));
border-color: var(--tmt-orange-dark);
color: #ffffff;
box-shadow: 0 2px 8px var(--tmt-orange-glow);
}
.tmt-form-group {
margin-bottom: 14px;
}
.tmt-label {
display: block;
font-size: 14px;
font-weight: 800;
color: var(--tmt-text-muted);
margin-bottom: 6px;
}
.tmt-label-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.tmt-tip {
font-weight: normal;
font-size: 11px;
color: #94a3b8;
margin-left: 6px;
}
.tmt-input, .tmt-select {
width: 100%;
background: #ffffff;
border: 1px solid var(--tmt-card-border);
border-radius: 8px;
padding: 11px 14px;
font-size: 15px;
font-weight: 700;
color: #0f172a;
box-sizing: border-box;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tmt-input:focus, .tmt-select:focus {
outline: none;
border-color: var(--tmt-orange);
box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}
.tmt-input-symbol {
font-family: monospace;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
}
.tmt-input-group {
display: flex;
gap: 8px;
}
.tmt-btn-aux {
background: var(--tmt-orange-light);
border: 1px solid var(--tmt-orange-border);
color: var(--tmt-orange-dark);
border-radius: 8px;
padding: 0 14px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-btn-aux:hover {
background: #ffedd5;
}
.tmt-quick-strikes {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-top: 8px;
}
.tmt-strike-chip {
background: #f8fafc;
border: 1px solid var(--tmt-card-border);
color: var(--tmt-text-muted);
padding: 4px 9px;
border-radius: 6px;
font-size: 11px;
font-family: monospace;
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-strike-chip:hover {
background: var(--tmt-orange-light);
border-color: var(--tmt-orange-border);
color: var(--tmt-orange-dark);
}
.tmt-qty-badge {
font-size: 13.5px;
color: var(--tmt-orange);
font-weight: 800;
}
.tmt-lot-chips {
display: flex;
gap: 8px;
align-items: center;
}
.tmt-lot-chip {
background: #f8fafc;
border: 1px solid var(--tmt-card-border);
color: var(--tmt-text-muted);
padding: 10px 16px;
border-radius: 8px;
font-size: 14.5px;
font-weight: 800;
cursor: pointer;
flex: 1;
transition: all 0.15s ease;
}
.tmt-lot-chip:hover {
background: #f1f5f9;
color: #0f172a;
}
.tmt-lot-chip.active {
background: linear-gradient(135deg, var(--tmt-orange), var(--tmt-orange-dark));
border-color: var(--tmt-orange-dark);
color: #ffffff;
box-shadow: 0 2px 8px var(--tmt-orange-glow);
}
.tmt-lot-input {
width: 95px;
background: #ffffff;
border: 1px solid var(--tmt-card-border);
color: #0f172a;
padding: 9px 12px;
border-radius: 8px;
font-size: 14px;
font-weight: 700;
}
.tmt-row-2col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.tmt-row-3col {
display: grid;
grid-template-columns: 1fr 1fr 1.15fr;
gap: 12px;
}
@media (max-width: 640px) {
.tmt-row-3col {
grid-template-columns: 1fr;
}
}
/* 1-Click Action Buttons */
.tmt-action-buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
margin: 18px 0 14px 0;
}
.tmt-btn-execute {
padding: 16px 18px;
border-radius: 12px;
border: none;
cursor: pointer;
transition: all 0.15s ease;
position: relative;
overflow: hidden;
}
.tmt-btn-execute:active {
transform: scale(0.97);
}
.tmt-btn-exe-inner {
display: flex;
align-items: center;
gap: 12px;
justify-content: center;
}
.tmt-exe-icon {
font-size: 30px;
}
.tmt-exe-text {
text-align: left;
}
.tmt-exe-title {
display: block;
font-size: 17px;
font-weight: 900;
letter-spacing: 0.5px;
color: #ffffff;
}
.tmt-exe-desc {
display: block;
font-size: 13.5px;
font-weight: 600;
color: rgba(255, 255, 255, 0.92);
margin-top: 2px;
}
.tmt-btn-call {
background: linear-gradient(135deg, #10b981, #059669);
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}
.tmt-btn-call:hover {
background: linear-gradient(135deg, #059669, #047857);
box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.tmt-btn-put {
background: linear-gradient(135deg, #ef4444, #dc2626);
box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}
.tmt-btn-put:hover {
background: linear-gradient(135deg, #dc2626, #b91c1c);
box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}
.tmt-zero-note {
background: #ecfdf5;
border: 1px dashed var(--tmt-green-border);
border-radius: 8px;
padding: 10px 14px;
font-size: 12px;
color: #065f46;
margin-top: 10px;
}
/* Panic Button */
.tmt-btn-panic {
background: linear-gradient(135deg, #ef4444, #dc2626);
color: #ffffff;
border: 1px solid #b91c1c;
padding: 7px 14px;
font-size: 11.5px;
font-weight: 800;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
transition: all 0.2s ease;
}
.tmt-btn-panic:hover {
background: #dc2626;
transform: translateY(-1px);
}
/* Table Styling */
.tmt-table-wrap {
overflow-x: auto;
}
/* Table Styling with Enlarged Typography & Light Brown Zebra Striping */
.tmt-table-wrap {
overflow-x: auto;
}
.tmt-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.tmt-table th {
background: #f8fafc;
color: #475569;
font-weight: 800;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.5px;
padding: 13px 14px;
border-bottom: 2px solid #cbd5e1;
text-align: left;
white-space: nowrap;
}
.tmt-table td {
padding: 13px 14px;
border-bottom: 1px solid #e2e8f0;
color: #1e293b;
font-size: 14px;
vertical-align: middle;
}
/* Alternate Rows: Soft, warm light brown / cream latte tint to easily distinguish lines */
.tmt-table tbody tr:nth-child(even) td {
background-color: #fbf7f2 !important; /* Soft warm light brown / sand tint */
}
.tmt-table tbody tr:nth-child(odd) td {
background-color: #ffffff !important;
}
.tmt-table tbody tr:hover td {
background-color: #f4ecdf !important; /* Richer warm light brown on hover */
transition: background-color 0.12s ease;
}
.tmt-table tfoot td {
background: #f8fafc !important;
border-top: 2px solid #cbd5e1 !important;
border-bottom: 2px solid #cbd5e1 !important;
color: #0f172a;
font-size: 15px;
}
.tmt-table tfoot tr:hover td {
background: #f1f5f9 !important;
}
.tmt-td-empty {
text-align: center;
color: var(--tmt-text-muted);
padding: 36px !important;
font-style: italic;
font-size: 14px;
}
.tmt-td-sym {
font-family: inherit;
vertical-align: middle;
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis !important;
position: relative !important;
}
/* Enhanced Multi-Color Option Symbol Badges */
.tmt-sym-badges {
display: inline-flex;
align-items: center;
gap: 3.5px;
flex-wrap: nowrap;
vertical-align: middle;
flex-shrink: 0;
}
.tmt-sym-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 7px;
border-radius: 5px;
font-size: 11.5px;
line-height: 1.25;
font-weight: 700;
white-space: nowrap;
}
/* Index Name: Vibrant Violet Box with White Font (User Requirement) */
.tmt-sym-idx {
background: #7c3aed !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
font-weight: 800 !important;
letter-spacing: 0.35px;
padding: 2px 8px !important;
border-radius: 5px !important;
box-shadow: 0 1px 4px rgba(124, 58, 237, 0.35);
}
/* Expiry Date: Clean cool slate tag */
.tmt-sym-exp {
background: #f1f5f9 !important;
color: #475569 !important;
-webkit-text-fill-color: #475569 !important;
border: 1px solid #cbd5e1 !important;
font-size: 11px;
font-weight: 700;
}
/* Strike Price: High-contrast bold black/slate tag */
.tmt-sym-strike {
background: #ffffff !important;
color: #0f172a !important;
-webkit-text-fill-color: #0f172a !important;
border: 1.5px solid #cbd5e1 !important;
font-weight: 900;
font-size: 12px;
letter-spacing: 0.2px;
}
/* CE: Orange Box with White Text (User Requirement) */
.tmt-sym-type-ce {
background: #ff6a00 !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
font-weight: 900 !important;
font-size: 11.5px !important;
padding: 2px 8px !important;
border-radius: 5px !important;
box-shadow: 0 1px 4px rgba(255, 106, 0, 0.4);
letter-spacing: 0.4px;
}
/* PE: Blue Box with White Text (User Requirement) */
.tmt-sym-type-pe {
background: #2563eb !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
font-weight: 900 !important;
font-size: 11.5px !important;
padding: 2px 8px !important;
border-radius: 5px !important;
box-shadow: 0 1px 4px rgba(37, 99, 235, 0.4);
letter-spacing: 0.4px;
}
.tmt-sym-raw {
font-family: monospace;
font-weight: 800;
color: #1e293b;
font-size: 13.5px;
}
/* High-Visibility Green and Red for MTM and Total P&L */
.text-green, .tmt-table td.text-green, td.text-green {
color: #16a34a !important; /* Vivid bright forest green */
font-weight: 900 !important;
}
.text-red, .tmt-table td.text-red, td.text-red {
color: #dc2626 !important; /* Vivid bright crimson red */
font-weight: 900 !important;
}
.text-neutral, .tmt-table td.text-neutral, td.text-neutral {
color: #64748b !important;
font-weight: 800 !important;
}
/* Position Action Buttons (Exit, 50% Partial, Flip) */
.tmt-pos-actions {
display: inline-flex;
align-items: center;
justify-content: flex-end;
gap: 6px;
flex-wrap: nowrap;
}
.tmt-btn-action {
padding: 6px 11px;
border-radius: 7px;
font-size: 12.5px;
font-weight: 800;
cursor: pointer;
border: 1px solid transparent;
transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
display: inline-flex;
align-items: center;
gap: 4px;
line-height: 1.2;
user-select: none;
}
.tmt-btn-action:hover {
transform: translateY(-1px);
}
.tmt-btn-addmore {
background: #ecfdf5;
color: #059669;
border: 1px solid #a7f3d0;
}
.tmt-btn-addmore:hover {
background: #059669;
color: #ffffff;
border-color: #059669;
box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28);
}
.tmt-btn-exit {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fca5a5;
}
.tmt-btn-exit:hover {
background: #dc2626;
color: #ffffff;
border-color: #dc2626;
box-shadow: 0 2px 8px rgba(220, 38, 38, 0.28);
}
.tmt-btn-partial {
background: #fffbeb;
color: #d97706;
border: 1px solid #fde68a;
}
.tmt-btn-partial:hover {
background: #d97706;
color: #ffffff;
border-color: #d97706;
box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
}
.tmt-btn-flip {
background: #f5f3ff;
color: #7c3aed;
border: 1px solid #ddd6fe;
}
.tmt-btn-flip:hover {
background: #7c3aed;
color: #ffffff;
border-color: #7c3aed;
box-shadow: 0 2px 8px rgba(124, 58, 237, 0.28);
}
.tmt-btn-modify {
background: #eff6ff;
color: #1d4ed8;
border: 1px solid #bfdbfe;
}
.tmt-btn-modify:hover {
background: #1d4ed8;
color: #ffffff;
border-color: #1d4ed8;
box-shadow: 0 2px 8px rgba(29, 78, 216, 0.28);
}
.tmt-btn-cancel {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fca5a5;
}
.tmt-btn-cancel:hover {
background: #dc2626;
color: #ffffff;
border-color: #dc2626;
box-shadow: 0 2px 8px rgba(220, 38, 38, 0.28);
}
.tmt-mod-type-btn {
transition: all 0.15s ease;
}
.tmt-mod-type-btn:hover {
transform: translateY(-1px);
}
/* Modal Overlays & Cards */
.tmt-modal-overlay {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: rgba(15, 23, 42, 0.42) !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
display: none;
align-items: center !important;
justify-content: center !important;
z-index: 99999 !important;
overflow-y: auto !important;
padding: 20px 10px !important;
box-sizing: border-box !important;
}
/* Ensure Cancel Order & Confirmation modals have NO blur and crisp visibility */
#tmt-confirm-modal,
#tmt-modify-modal,
#tmt-modify-modal.tmt-modal-overlay,
#tmt-drag-confirm-modal,
.tmt-confirm-modal-overlay {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background: rgba(15, 23, 42, 0.35) !important;
z-index: 1000000000 !important;
}
#tmt-modify-modal .tmt-modal-header {
cursor: grab !important;
user-select: none !important;
touch-action: none !important;
color: #ffffff !important;
}
#tmt-modify-modal .tmt-modal-header h3,
#tmt-modify-modal .tmt-modal-title h3,
#tmt-modify-modal .tmt-modal-header .tmt-modal-title h3,
#tmt-modify-modal h3 {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}
#tmt-modify-modal.tmt-is-dragging,
#tmt-modify-modal.tmt-is-dragging .tmt-modal-header {
cursor: grabbing !important;
}
#tmt-modify-modal .tmt-modal-header .tmt-modal-close {
cursor: pointer !important;
color: #ffffff !important;
}
/* Force flex display whenever jQuery fadeIn or inline styles display the modal */
.tmt-modal-overlay[style*="display: block"],
.tmt-modal-overlay[style*="display: inline-block"],
.tmt-modal-overlay[style*="display: flex"] {
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.tmt-modal-card:not(.tmt-dragged) {
background: #ffffff !important;
border: 1.5px solid var(--tmt-card-border) !important;
border-radius: 16px !important;
width: 580px !important;
max-width: 95vw !important;
max-height: calc(100vh - 40px) !important;
overflow-y: auto !important;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
margin: auto !important;
position: relative !important;
transform: none !important;
top: auto !important;
bottom: auto !important;
}
.tmt-modal-card.tmt-dragged {
background: #ffffff !important;
border: 1.5px solid var(--tmt-card-border) !important;
border-radius: 16px !important;
width: 580px !important;
max-width: 95vw !important;
max-height: calc(100vh - 40px) !important;
overflow-y: auto !important;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
position: fixed !important;
margin: 0 !important;
transform: none !important;
}
.tmt-modal-header {
padding: 18px 24px;
border-bottom: 1px solid var(--tmt-card-border);
border-top: 4px solid var(--tmt-orange);
display: flex;
align-items: center;
justify-content: space-between;
}
.tmt-modal-title {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-modal-title h3 {
margin: 0;
font-size: 16px;
font-weight: 800;
color: #0f172a;
}
.tmt-modal-close {
background: transparent;
border: none;
color: var(--tmt-text-muted);
font-size: 18px;
cursor: pointer;
}
.tmt-modal-close:hover { color: #0f172a; }
.tmt-modal-body {
padding: 20px 24px;
}
.tmt-setting-section {
margin-bottom: 22px;
background: #f8fafc;
border: 1px solid var(--tmt-card-border);
border-radius: 10px;
padding: 16px;
}
.tmt-sec-title {
margin: 0 0 4px 0;
font-size: 13.5px;
font-weight: 800;
color: #0f172a;
}
.tmt-sec-desc {
margin: 0 0 14px 0;
font-size: 11.5px;
color: var(--tmt-text-muted);
}
.tmt-sec-desc a { color: var(--tmt-orange); }
.tmt-field-tip {
display: block;
font-size: 10.5px;
color: #94a3b8;
margin-top: 4px;
}
.tmt-modal-footer {
padding: 16px 24px;
border-top: 1px solid var(--tmt-card-border);
display: flex;
justify-content: flex-end;
gap: 10px;
background: #f8fafc;
}
/* =============================================================
* SLEEK MODERN TOAST NOTIFICATION SYSTEM (BOTTOM-RIGHT)
* ============================================================= */
#tmt-toast-container {
position: fixed !important;
bottom: 34px !important;
right: 26px !important;
z-index: 99999999 !important;
display: flex !important;
flex-direction: column-reverse !important;
gap: 12px !important;
pointer-events: none !important;
max-width: 420px !important;
width: calc(100vw - 40px) !important;
}
.tmt-toast {
pointer-events: auto;
width: 100%;
background: #ffffff;
color: #1e293b;
border-radius: 12px;
box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
animation: tmtTerminalToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
border-left: 5px solid #3b82f6;
}
.tmt-toast.tmt-toast-success {
background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
border-left-color: #10b981;
border-top: 1px solid #bbf7d0;
border-right: 1px solid #bbf7d0;
border-bottom: 1px solid #bbf7d0;
box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
}
.tmt-toast.tmt-toast-error {
background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
border-left-color: #ef4444;
border-top: 1px solid #fecaca;
border-right: 1px solid #fecaca;
border-bottom: 1px solid #fecaca;
box-shadow: 0 16px 36px -4px rgba(239, 68, 68, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
}
.tmt-toast.tmt-toast-warning {
background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
border-left-color: #f59e0b;
border-top: 1px solid #fde68a;
border-right: 1px solid #fde68a;
border-bottom: 1px solid #fde68a;
box-shadow: 0 16px 36px -4px rgba(245, 158, 11, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
}
.tmt-toast.tmt-toast-info {
background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
border-left-color: #8b5cf6;
border-top: 1px solid #ddd6fe;
border-right: 1px solid #ddd6fe;
border-bottom: 1px solid #ddd6fe;
box-shadow: 0 16px 36px -4px rgba(139, 92, 246, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
}
.tmt-toast.tmt-toast-hiding {
animation: tmtTerminalToastSlideOut 0.22s cubic-bezier(0.4, 0, 1, 1) forwards;
}
.tmt-toast-inner {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 13px 44px 13px 15px;
box-sizing: border-box;
}
.tmt-toast-icon-wrap {
flex-shrink: 0;
width: 34px;
height: 34px;
border-radius: 9px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
font-weight: 900;
margin-top: 1px;
}
.tmt-toast-success .tmt-toast-icon-wrap {
background: #ecfdf5;
color: #059669;
border: 1.5px solid #a7f3d0;
}
.tmt-toast-error .tmt-toast-icon-wrap {
background: #fef2f2;
color: #dc2626;
border: 1.5px solid #fecaca;
}
.tmt-toast-warning .tmt-toast-icon-wrap {
background: #fffbeb;
color: #d97706;
border: 1.5px solid #fde68a;
}
.tmt-toast-info .tmt-toast-icon-wrap {
background: #ede9fe;
color: #7c3aed;
border: 1.5px solid #c4b5fd;
}
.tmt-toast-body {
flex-grow: 1;
min-width: 0;
}
.tmt-toast-title {
font-size: 14px;
font-weight: 800;
letter-spacing: -0.01em;
margin-bottom: 3px;
line-height: 1.3;
}
.tmt-toast-success .tmt-toast-title { color: #065f46; }
.tmt-toast-error .tmt-toast-title   { color: #991b1b; }
.tmt-toast-warning .tmt-toast-title { color: #92400e; }
.tmt-toast-info .tmt-toast-title    { color: #5b21b6; }
.tmt-toast-text {
font-size: 12.5px;
line-height: 1.45;
color: #334155;
word-break: break-word;
}
.tmt-toast-text .tmt-toast-badge {
display: inline-block;
background: #f1f5f9;
color: #0f172a;
padding: 1px 6px;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 11.5px;
font-weight: 700;
letter-spacing: 0.02em;
border: 1px solid #cbd5e1;
}
.tmt-toast-order-card {
margin-top: 7px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 8px 10px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.tmt-toast-order-row {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
margin-bottom: 4px;
}
.tmt-toast-order-row:last-child {
margin-bottom: 0;
}
.tmt-toast-side-buy {
background: #ecfdf5;
color: #059669;
font-weight: 900;
font-size: 11px;
padding: 1px 6px;
border-radius: 4px;
border: 1px solid #a7f3d0;
display: inline-block;
}
.tmt-toast-side-sell {
background: #fef2f2;
color: #dc2626;
font-weight: 900;
font-size: 11px;
padding: 1px 6px;
border-radius: 4px;
border: 1px solid #fecaca;
display: inline-block;
}
.tmt-toast .tmt-toast-close,
.tmt-toast-close {
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
width: 34px !important;
background: #ef4444 !important;
color: #ffffff !important;
border: none !important;
border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
font-size: 15px !important;
font-weight: 900 !important;
line-height: 1 !important;
padding: 0 !important;
margin: 0 !important;
border-top-right-radius: 11px !important;
border-bottom-right-radius: 11px !important;
transition: background 0.16s ease, transform 0.1s ease !important;
z-index: 999999 !important;
pointer-events: auto !important;
}
.tmt-toast-icon-wrap.is-clickable {
cursor: pointer !important;
transition: transform 0.15s ease, background 0.15s ease !important;
}
.tmt-toast-icon-wrap.is-clickable:hover {
transform: scale(1.1) !important;
background: #fee2e2 !important;
border-color: #f87171 !important;
}
.tmt-toast-card-dismiss-btn:hover {
background: #fee2e2 !important;
color: #991b1b !important;
border-color: #f87171 !important;
}
.tmt-toast .tmt-toast-close:hover,
.tmt-toast-close:hover {
color: #ffffff !important;
background: #dc2626 !important;
}
.tmt-toast .tmt-toast-close:active,
.tmt-toast-close:active {
background: #b91c1c !important;
transform: scale(0.97) !important;
}
.tmt-toast-bar {
height: 3.5px;
width: calc(100% - 34px);
background: #e2e8f0;
position: relative;
overflow: hidden;
}
.tmt-toast-bar-fill {
height: 100%;
width: 100%;
transform-origin: left;
animation: tmtToastProgress linear forwards;
}
.tmt-toast-success .tmt-toast-bar-fill { background: linear-gradient(90deg, #10b981, #059669); }
.tmt-toast-error .tmt-toast-bar-fill   { background: linear-gradient(90deg, #ef4444, #dc2626); }
.tmt-toast-warning .tmt-toast-bar-fill { background: linear-gradient(90deg, #f59e0b, #d97706); }
.tmt-toast-info .tmt-toast-bar-fill    { background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.tmt-toast:hover .tmt-toast-bar-fill {
animation-play-state: paused;
}
@keyframes tmtTerminalToastSlideIn {
0% {
transform: translateX(115%) scale(0.96);
opacity: 0;
}
65% {
transform: translateX(-4px) scale(1.01);
opacity: 1;
}
100% {
transform: translateX(0) scale(1);
opacity: 1;
}
}
@keyframes tmtTerminalToastSlideOut {
0% {
transform: translateX(0) scale(1);
opacity: 1;
max-height: 250px;
margin-bottom: 12px;
}
100% {
transform: translateX(-160%) scale(0.92);
opacity: 0;
max-height: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
}
@keyframes tmtToastProgress {
0% { width: 100%; }
100% { width: 0%; }
}
/* ==========================================================
DHAN TRADER'S DIARY & P&L CALENDAR COMPONENT STYLES
========================================================== */
.tmt-dhan-diary-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 14px;
margin-bottom: 16px;
padding-bottom: 14px;
border-bottom: 1.5px solid #e2e8f0;
}
.tmt-dhan-diary-title-wrap {
display: flex;
align-items: center;
gap: 12px;
}
.tmt-dhan-diary-icon {
font-size: 32px;
line-height: 1;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.tmt-dhan-diary-sub {
font-size: 12px;
font-weight: 700;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.tmt-dhan-diary-title {
font-size: 20px;
font-weight: 900;
color: #0f172a;
margin: 0;
line-height: 1.2;
}
.tmt-dhan-diary-actions {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.tmt-dhan-auto-badge {
background: #eff6ff;
color: #2563eb;
font-weight: 700;
font-size: 12px;
padding: 7px 12px;
border-radius: 8px;
border: 1px solid #bfdbfe;
}
.tmt-dhan-btn-backup {
background: #0284c7;
color: #ffffff;
font-weight: 800;
font-size: 12.5px;
padding: 7px 14px;
border-radius: 8px;
border: none;
cursor: pointer;
box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
transition: all 0.15s ease;
display: inline-flex;
align-items: center;
gap: 6px;
}
.tmt-dhan-btn-backup:hover {
background: #0369a1;
transform: translateY(-1px);
}
.tmt-dhan-btn-export {
background: #059669;
color: #ffffff;
font-weight: 800;
font-size: 12.5px;
padding: 7px 14px;
border-radius: 8px;
border: none;
cursor: pointer;
box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
transition: all 0.15s ease;
display: inline-flex;
align-items: center;
gap: 6px;
}
.tmt-dhan-btn-export:hover {
background: #047857;
transform: translateY(-1px);
}
/* Dhan Top Performance Ribbon */
.tmt-dhan-perf-ribbon {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 14px;
background: linear-gradient(135deg, #ffffff 0%, #fffdf7 50%, #f0fdf4 100%);
border: 1.5px solid #fed7aa;
border-radius: 12px;
padding: 16px 18px;
margin-bottom: 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tmt-dhan-perf-col {
border-right: 1.5px solid #fed7aa;
padding-right: 14px;
}
.tmt-dhan-perf-col:last-child {
border-right: none;
padding-right: 0;
}
.tmt-dhan-perf-col.col-charges,
.tmt-dhan-perf-col.col-saved-brok,
.tmt-dhan-perf-col.col-net {
border-right: none;
}
.tmt-dhan-perf-label {
font-size: 12px;
font-weight: 800;
color: #475569;
display: flex;
align-items: center;
gap: 6px;
}
.tmt-perf-icon {
font-size: 15px;
}
.tmt-dhan-perf-val {
font-size: 22px;
font-weight: 900;
color: #0f172a;
margin-top: 4px;
line-height: 1.2;
}
.tmt-dhan-perf-period {
font-size: 11px;
font-weight: 700;
color: #64748b;
margin-top: 2px;
}
/* 6 Metric Badges Strip */
.tmt-dhan-metrics-strip {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 12px;
margin-bottom: 18px;
}
.tmt-dhan-pill {
background: #ffffff;
border-radius: 10px;
padding: 12px 10px;
text-align: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
transition: all 0.15s ease;
}
.tmt-dhan-pill:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}
.tmt-dhan-pill .pill-number {
font-size: 24px;
font-weight: 900;
line-height: 1.1;
margin-bottom: 4px;
}
.tmt-dhan-pill .pill-label {
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.tmt-dhan-pill.pill-purple { border: 1.5px solid #d8b4fe; background: #faf5ff; }
.tmt-dhan-pill.pill-purple .pill-number { color: #7e22ce; }
.tmt-dhan-pill.pill-purple .pill-label { color: #6b21a8; }
.tmt-dhan-pill.pill-orange { border: 1.5px solid #fdba74; background: #fff7ed; }
.tmt-dhan-pill.pill-orange .pill-number { color: #ea580c; }
.tmt-dhan-pill.pill-orange .pill-label { color: #9a3412; }
.tmt-dhan-pill.pill-indigo { border: 1.5px solid #a5b4fc; background: #eef2ff; }
.tmt-dhan-pill.pill-indigo .pill-number { color: #4f46e5; }
.tmt-dhan-pill.pill-indigo .pill-label { color: #3730a3; }
.tmt-dhan-pill.pill-green { border: 1.5px solid #86efac; background: #f0fdf4; }
.tmt-dhan-pill.pill-green .pill-number { color: #16a34a; }
.tmt-dhan-pill.pill-green .pill-label { color: #166534; }
.tmt-dhan-pill.pill-blue { border: 1.5px solid #93c5fd; background: #eff6ff; }
.tmt-dhan-pill.pill-blue .pill-number { color: #2563eb; }
.tmt-dhan-pill.pill-blue .pill-label { color: #1e40af; }
.tmt-dhan-pill.pill-teal { border: 1.5px solid #5eead4; background: #f0fdfa; }
.tmt-dhan-pill.pill-teal .pill-number { color: #0d9488; }
.tmt-dhan-pill.pill-teal .pill-label { color: #115e59; }
/* 🏛️ Charges / Only Profit Day View Toggle Button */
.tmt-diary-charges-toggle {
border: 1.5px solid #cbd5e1;
background: #ffffff;
color: #0f172a;
font-weight: 800;
font-size: 11px;
padding: 4px 10px;
border-radius: 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
user-select: none;
}
.tmt-diary-charges-toggle:hover {
border-color: #94a3b8;
transform: translateY(-1px);
}
.tmt-diary-charges-toggle.active {
border-color: #3b82f6 !important;
background: #eff6ff !important;
color: #1d4ed8 !important;
box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2) !important;
}
.tmt-diary-charges-toggle.mode-only-profit {
border-color: #10b981 !important;
background: #ecfdf5 !important;
color: #047857 !important;
box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2) !important;
}
/* Day cell only profit styling */
.cal-day-breakdown.only-profit {
min-height: 44px;
}
.cal-day-pnl.only-profit {
font-size: 13.5px !important;
padding: 4px 7px !important;
border-radius: 6px !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}
/* Full-Width Interactive Monthly Calendar Card */
.tmt-dhan-cal-card {
background: #ffffff;
border: 1.5px solid #e2e8f0;
border-radius: 12px;
padding: 16px 20px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tmt-dhan-cal-nav-bar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
padding-bottom: 10px;
border-bottom: 1px solid #f1f5f9;
}
.tmt-dhan-cal-section-title {
font-size: 15px;
font-weight: 800;
color: #1e293b;
letter-spacing: -0.2px;
}
.tmt-dhan-cal-nav-ctrls {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-cal-nav-arrow {
background: #f8fafc;
border: 1.5px solid #cbd5e1;
border-radius: 7px;
width: 30px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 900;
color: #334155;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-cal-nav-arrow:hover {
background: #e2e8f0;
color: #0f172a;
border-color: #94a3b8;
}
.tmt-dhan-month-text {
font-size: 15px;
font-weight: 900;
color: #0f172a;
min-width: 140px;
text-align: center;
letter-spacing: 0.2px;
}
.tmt-dhan-today-btn {
background: #eff6ff;
border: 1.5px solid #bfdbfe;
border-radius: 7px;
padding: 4px 12px;
font-size: 12px;
font-weight: 800;
color: #1d4ed8;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-dhan-today-btn:hover {
background: #dbeafe;
color: #1e40af;
}
/* Weekday Header Columns */
.tmt-dhan-cal-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
font-size: 12.5px;
font-weight: 800;
color: #64748b;
margin-bottom: 8px;
padding-bottom: 6px;
border-bottom: 1px solid #f1f5f9;
}
.tmt-dhan-cal-weekdays .text-weekend {
color: #ef4444;
}
/* 7 Column Dynamic Grid */
.tmt-dhan-days-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 6px;
}
.tmt-cal-day {
min-height: 78px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 1.5px solid #e2e8f0;
border-radius: 8px;
background: #ffffff;
cursor: pointer;
padding: 6px 4px;
transition: all 0.15s ease;
position: relative;
user-select: none;
}
.tmt-cal-day:hover {
border-color: #3b82f6;
background: #f8fafc;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
z-index: 2;
}
.tmt-cal-day.other-month {
opacity: 0.25;
pointer-events: none;
background: #f8fafc;
border-color: #f1f5f9;
}
.tmt-cal-day.is-weekend {
background: #fafafa;
}
.tmt-cal-day.is-profit {
background: #ecfdf5 !important;
border-color: #86efac !important;
}
.tmt-cal-day.is-profit .day-num {
color: #065f46;
font-weight: 900;
}
.tmt-cal-day.is-loss {
background: #fef2f2 !important;
border-color: #fca5a5 !important;
}
.tmt-cal-day.is-loss .day-num {
color: #991b1b;
font-weight: 900;
}
.tmt-cal-day.is-today {
outline: 2px solid #3b82f6;
outline-offset: -2px;
}
.tmt-cal-day.is-selected {
border: 2px solid #2563eb !important;
background: #eff6ff !important;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
z-index: 3;
}
.day-num {
font-size: 14px;
font-weight: 800;
color: #1e293b;
line-height: 1.1;
}
.cal-day-pnl {
font-size: 9.5px;
font-weight: 800;
line-height: 1.1;
margin-top: 3px;
padding: 2px 3px;
border-radius: 4px;
white-space: nowrap;
letter-spacing: -0.3px;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
}
.cal-day-pnl.profit {
background: #dcfce7;
color: #15803d;
}
.cal-day-pnl.loss {
background: #fee2e2;
color: #b91c1c;
}
.cal-day-pnl.zero {
background: #f1f5f9;
color: #475569;
}
.cal-day-note-badge {
position: absolute;
top: 3px;
right: 4px;
font-size: 11px;
line-height: 1;
filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}
.cal-day-badge-left {
position: absolute;
top: 3px;
left: 4px;
display: inline-flex;
align-items: center;
z-index: 3;
}
.cal-day-badge-right {
position: absolute;
top: 3px;
right: 4px;
display: inline-flex;
align-items: center;
gap: 2px;
z-index: 3;
}
.cal-day-badges-wrap {
position: absolute;
top: 3px;
right: 4px;
display: inline-flex;
align-items: center;
gap: 2px;
z-index: 3;
}
.cal-day-badge-item {
font-size: 13.5px;
line-height: 1;
filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
transition: transform 0.15s ease, background 0.15s ease;
cursor: pointer;
padding: 2px 3px;
border-radius: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.cal-day-badge-item:hover {
transform: scale(1.3);
background: rgba(0, 0, 0, 0.08);
}
#tmt-ss-lightbox-modal,
#tmt-cn-view-modal,
#tmt-cn-upload-modal {
z-index: 999999999 !important;
}
.tmt-ss-thumb-card {
position: relative;
width: 120px;
height: 82px;
border-radius: 8px;
overflow: hidden;
border: 1.5px solid #cbd5e1;
background: #0f172a;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
cursor: pointer;
transition: all 0.2s ease;
}
.tmt-ss-thumb-card:hover {
transform: translateY(-2px);
border-color: #0284c7;
box-shadow: 0 6px 16px rgba(2,132,199,0.25);
}
.tmt-ss-thumb-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.2s;
}
.tmt-ss-thumb-card:hover .tmt-ss-thumb-img {
transform: scale(1.05);
}
.tmt-ss-del-btn {
position: absolute;
top: 4px;
right: 4px;
width: 22px;
height: 22px;
background: rgba(220, 38, 38, 0.85);
color: #ffffff;
border: none;
border-radius: 4px;
font-size: 11px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0;
transition: opacity 0.15s ease, background 0.15s ease;
z-index: 2;
}
.tmt-ss-thumb-card:hover .tmt-ss-del-btn {
opacity: 1;
}
.tmt-ss-del-btn:hover {
background: #dc2626;
transform: scale(1.1);
}
.tmt-diary-tag-btn {
background: #f1f5f9;
color: #334155;
border: 1px solid #cbd5e1;
border-radius: 6px;
padding: 4px 10px;
font-size: 11.5px;
font-weight: 700;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-diary-tag-btn:hover {
background: #e2e8f0;
border-color: #94a3b8;
color: #0f172a;
}
/* Calendar Footer Bar */
.tmt-dhan-cal-footer {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-top: 14px;
padding-top: 10px;
border-top: 1px solid #f1f5f9;
}
.tmt-dhan-fire-stat {
font-size: 13px;
font-weight: 700;
color: #334155;
}
.tmt-dhan-fire-stat strong {
color: #ea580c;
font-weight: 900;
}
.tmt-cal-legend {
display: flex;
align-items: center;
gap: 12px;
color: #64748b;
font-size: 11.5px;
font-weight: 700;
}
.legend-item {
display: flex;
align-items: center;
gap: 5px;
}
.legend-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.legend-dot.green { background: #10b981; }
.legend-dot.red { background: #ef4444; }
.legend-dot.gray { background: #cbd5e1; }
.legend-dot.today { background: #3b82f6; }
/* Selected Date Drill-Down Card */
.tmt-dhan-day-drilldown {
background: #ffffff;
border: 1.5px solid #e2e8f0;
border-radius: 12px;
padding: 18px 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tmt-dhan-day-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px solid #f1f5f9;
}
.tmt-dhan-day-left {
display: flex;
align-items: center;
gap: 10px;
}
.tmt-dhan-day-badge-icon {
font-size: 26px;
line-height: 1;
}
.tmt-dhan-day-title {
font-size: 16px;
font-weight: 900;
color: #0f172a;
}
.tmt-dhan-day-subtext {
font-size: 11.5px;
color: #64748b;
font-weight: 600;
margin-top: 1px;
}
.tmt-journal-pnl-pill {
display: inline-flex;
align-items: center;
gap: 6px;
height: 34px;
padding: 0 14px;
border-radius: 8px;
font-size: 13px;
font-weight: 800;
user-select: none;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
line-height: 1;
}
.tmt-journal-pnl-pill.pill-profit {
background: #ecfdf5;
border: 1.5px solid #86efac;
color: #065f46;
}
.tmt-journal-pnl-pill.pill-profit strong {
color: #059669;
font-size: 14.5px;
font-weight: 900;
margin-left: 2px;
}
.tmt-journal-pnl-pill.pill-loss {
background: #fef2f2;
border: 1.5px solid #fca5a5;
color: #991b1b;
}
.tmt-journal-pnl-pill.pill-loss strong {
color: #dc2626;
font-size: 14.5px;
font-weight: 900;
margin-left: 2px;
}
.tmt-journal-pnl-pill.pill-zero {
background: #f8fafc;
border: 1.5px solid #cbd5e1;
color: #475569;
}
.tmt-journal-pnl-pill.pill-zero strong {
color: #0f172a;
font-size: 14px;
font-weight: 800;
margin-left: 2px;
}
/* Drill-Down Day Tabs (Orders vs Positions) */
.tmt-dhan-tabs-bar {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.tmt-dhan-tab {
background: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 8px;
padding: 8px 16px;
font-size: 13px;
font-weight: 800;
color: #475569;
cursor: pointer;
transition: all 0.15s ease;
}
.tmt-dhan-tab span {
color: inherit !important;
-webkit-text-fill-color: inherit !important;
}
.tmt-dhan-tab:hover {
background: #f1f5f9;
color: #0f172a;
}
.tmt-dhan-tab.active,
.tmt-dhan-tab.active span {
background: #0284c7 !important;
border-color: #0284c7 !important;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3) !important;
}
/* Responsive Dhan Trader's Diary */
@media (max-width: 900px) {
.tmt-dhan-perf-ribbon {
grid-template-columns: 1fr;
gap: 12px;
}
.tmt-dhan-perf-col {
border-right: none;
border-bottom: 1.5px solid #fed7aa;
padding-right: 0;
padding-bottom: 10px;
}
.tmt-dhan-perf-col:last-child {
border-bottom: none;
padding-bottom: 0;
}
.tmt-dhan-metrics-strip {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 600px) {
.tmt-dhan-metrics-strip {
grid-template-columns: repeat(2, 1fr);
}
.tmt-cal-day {
min-height: 48px;
padding: 4px 2px;
}
.day-num {
font-size: 12px;
}
.cal-day-pnl {
font-size: 9px;
padding: 1px 3px;
}
}
/* ==========================================================
RESPONSIVE FLUID TYPOGRAPHY & ADAPTIVE AUTO-ALIGNMENT
========================================================== */
/* Tablet & Moderate Widths (<= 768px) */
@media (max-width: 768px) {
.tmt-analytics-grid,
.tmt-funds-grid {
grid-template-columns: repeat(2, 1fr) !important;
gap: 8px !important;
}
.tmt-analytic-item,
.tmt-fund-item {
min-height: 58px !important;
padding: 9px 11px !important;
min-width: 0 !important;
overflow: hidden !important;
}
.tmt-analytic-val,
.tmt-fund-val {
font-size: clamp(16px, 4vw, 20px) !important;
letter-spacing: 0.2px !important;
overflow: visible !important;
}
.tmt-builder-leg-row {
min-height: 48px !important;
}
.tmt-leg-action-btn {
width: 54px !important;
min-width: 54px !important;
font-size: 14px !important;
padding: 0 4px !important;
}
.tmt-leg-info-col {
padding: 4px 8px !important;
min-width: 0 !important;
}
.tmt-leg-main-bar {
gap: 5px !important;
flex-wrap: nowrap !important;
}
.tmt-leg-expiry-select {
height: 30px !important;
font-size: 12px !important;
padding: 2px 18px 2px 6px !important;
background-size: 13px 13px !important;
background-position: right 4px center !important;
line-height: normal !important;
overflow: visible !important;
box-sizing: border-box !important;
}
.tmt-strike-stepper {
height: 30px !important;
padding: 2px 2px !important;
gap: 2px !important;
}
.tmt-stepper-btn {
width: 24px !important;
height: 24px !important;
font-size: 15px !important;
}
.tmt-stepper-strike-val {
font-size: 15.5px !important;
min-width: 50px !important;
padding: 0 2px !important;
}
.tmt-leg-type-badge {
height: 28px !important;
padding: 2px 7px !important;
font-size: 12px !important;
}
.tmt-leg-qty-bullet {
font-size: 12px !important;
margin-left: 2px !important;
}
.tmt-leg-ltp-box {
min-width: 78px !important;
padding: 4px 8px !important;
gap: 1px !important;
}
.tmt-leg-ltp-val {
font-size: 16.5px !important;
}
.tmt-leg-type-cost {
font-size: 11px !important;
}
.tmt-leg-btn-del {
width: 36px !important;
min-width: 36px !important;
font-size: 17px !important;
}
.tmt-builder-basket-head {
flex-wrap: wrap !important;
gap: 6px !important;
}
.tmt-builder-btn-xs {
padding: 3px 7px !important;
}
/* 📱 Ultra-Refined Mobile WebView & Compact Layout for Trading Terminal */
#tmt-tv-widget-container {
height: 440px !important;
min-height: 400px !important;
}
.tmt-chart-topbar {
padding: 6px 8px !important;
gap: 6px !important;
flex-wrap: nowrap !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
}
.tmt-chart-idx-pills {
display: flex !important;
flex-wrap: nowrap !important;
gap: 4px !important;
}
.tmt-chart-btn {
padding: 4px 9px !important;
font-size: 11px !important;
white-space: nowrap !important;
}
.tmt-tv-pill {
font-size: 10.5px !important;
padding: 0 !important;
touch-action: none !important;
}
.tmt-tv-pill-entry {
max-width: 85vw !important;
}
.tmt-tv-entry-handles {
padding: 2px 4px !important;
gap: 4px !important;
}
.tmt-tv-drag-create {
padding: 2px 5px !important;
font-size: 10px !important;
}
.tmt-tv-pnl {
padding: 2px 6px !important;
font-size: 10.5px !important;
}
.tmt-tv-axis-tag {
font-size: 10.5px !important;
padding: 2px 5px !important;
right: 48px !important;
}
/* Mobile Bottom Sheet Modal for Drag Modification */
#tmt-drag-confirm-modal {
top: auto !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
transform: none !important;
width: 100% !important;
max-width: 100% !important;
border-radius: 18px 18px 0 0 !important;
box-shadow: 0 -10px 40px rgba(0,0,0,0.3) !important;
animation: tmtSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes tmtSlideUp {
from { transform: translateY(100%); }
to { transform: translateY(0); }
}
}
@media (max-width: 480px) {
#tmt-tv-widget-container {
height: 390px !important;
min-height: 360px !important;
}
.tmt-tv-pill {
font-size: 10px !important;
}
.tmt-tv-qty-blue {
padding: 2px 5px !important;
font-size: 9.5px !important;
}
.tmt-tv-axis-tag {
font-size: 9.5px !important;
padding: 2px 4px !important;
right: 42px !important;
}
}
/* Mobile & Split-Screen View (<= 560px) */
@media (max-width: 560px) {
.tmt-analytics-grid,
.tmt-funds-grid {
grid-template-columns: repeat(2, 1fr) !important;
gap: 6px !important;
}
.tmt-analytic-item,
.tmt-fund-item {
min-height: 52px !important;
padding: 7px 9px !important;
}
.tmt-analytic-val,
.tmt-fund-val {
font-size: clamp(14px, 3.8vw, 17.5px) !important;
letter-spacing: 0px !important;
}
.tmt-clear-comma {
font-size: 1.08em !important;
margin: 0 1px !important;
}
.tmt-builder-leg-row {
min-height: 44px !important;
}
.tmt-leg-action-btn {
width: 44px !important;
min-width: 44px !important;
font-size: 12px !important;
letter-spacing: 0px !important;
padding: 0 2px !important;
}
.tmt-leg-info-col {
padding: 3px 5px !important;
min-width: 0 !important;
overflow: hidden !important;
}
.tmt-leg-main-bar {
gap: 4px !important;
flex-wrap: nowrap !important;
min-width: 0 !important;
}
.tmt-leg-expiry-select {
height: 28px !important;
font-size: 11px !important;
padding: 1px 16px 1px 5px !important;
background-size: 11px 11px !important;
background-position: right 3px center !important;
border-width: 1px !important;
max-width: 82px !important;
}
.tmt-strike-stepper {
height: 28px !important;
padding: 1px !important;
gap: 2px !important;
border-width: 1px !important;
}
.tmt-stepper-btn {
width: 21px !important;
height: 21px !important;
font-size: 13px !important;
}
.tmt-stepper-strike-val {
font-size: 13.5px !important;
min-width: 44px !important;
padding: 0 1px !important;
}
.tmt-leg-type-badge {
height: 26px !important;
padding: 1px 6px !important;
font-size: 11px !important;
border-width: 1px !important;
}
.tmt-leg-qty-bullet {
font-size: 10.5px !important;
margin-left: 1px !important;
white-space: nowrap !important;
}
.tmt-leg-ltp-box {
min-width: 66px !important;
padding: 3px 5px !important;
gap: 1px !important;
}
.tmt-leg-ltp-val {
font-size: 14.5px !important;
}
.tmt-leg-type-cost {
font-size: 10px !important;
}
.tmt-leg-btn-del {
width: 30px !important;
min-width: 30px !important;
font-size: 15px !important;
}
.tmt-analytics-head,
.tmt-funds-head {
font-size: 10px !important;
}
}
/* Very Narrow Screen / Foldables (<= 380px) */
@media (max-width: 380px) {
.tmt-leg-action-btn {
width: 38px !important;
min-width: 38px !important;
font-size: 11px !important;
}
.tmt-leg-expiry-select {
max-width: 70px !important;
font-size: 10px !important;
}
.tmt-stepper-strike-val {
font-size: 12px !important;
min-width: 38px !important;
}
.tmt-stepper-btn {
width: 18px !important;
height: 18px !important;
font-size: 12px !important;
}
.tmt-leg-ltp-box {
min-width: 58px !important;
padding: 2px 4px !important;
}
.tmt-leg-ltp-val {
font-size: 13px !important;
}
.tmt-leg-type-cost {
font-size: 9.5px !important;
}
.tmt-leg-btn-del {
width: 26px !important;
min-width: 26px !important;
font-size: 14px !important;
}
.tmt-analytic-val,
.tmt-fund-val {
font-size: 13.5px !important;
}
}
/* Option Chain Strike P&L Column & Close Button */
.tmt-chain-cell.tmt-cell-pnl {
padding: 2px 3px !important;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
.tmt-strike-pnl-pill {
display: inline-flex;
align-items: stretch;
justify-content: space-between;
position: relative;
min-width: 90px;
padding: 0;
border-radius: 6px;
font-size: 11.5px;
font-weight: 800;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
letter-spacing: -0.2px;
line-height: 1;
user-select: none;
overflow: hidden;
transition: all 0.15s ease-in-out;
cursor: default;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
vertical-align: middle;
}
.tmt-strike-pnl-val {
display: inline-flex;
align-items: center;
padding: 3px 6px;
white-space: nowrap;
flex: 1;
justify-content: center;
}
/* Running Position: Dynamic Profit / Loss / Flat */
.tmt-strike-pnl-pill.pnl-running.pnl-up {
background: #ecfdf5;
color: #059669;
border: 1.2px solid #86efac;
}
.tmt-strike-pnl-pill.pnl-running.pnl-down {
background: #fef2f2;
color: #dc2626;
border: 1.2px solid #fca5a5;
}
.tmt-strike-pnl-pill.pnl-running.pnl-zero {
background: #f8fafc;
color: #475569;
border: 1.2px solid #cbd5e1;
}
/* Closed / Booked Position */
.tmt-strike-pnl-pill.pnl-closed {
padding: 3px 8px;
}
.tmt-strike-pnl-pill.pnl-closed.pnl-up {
background: #f1f5f9;
color: #16a34a;
border: 1px dashed #86efac;
font-size: 11px;
}
.tmt-strike-pnl-pill.pnl-closed.pnl-down {
background: #f1f5f9;
color: #dc2626;
border: 1px dashed #fca5a5;
font-size: 11px;
}
.tmt-strike-pnl-pill.pnl-closed.pnl-zero {
background: #f8fafc;
color: #64748b;
border: 1px dashed #cbd5e1;
font-size: 11px;
}
/* Dedicated Right-side Close / Exit Button matching Strategy Leg style */
.tmt-strike-pnl-pill .tmt-pnl-btn-close {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
min-width: 24px;
background: #ef4444 !important;
color: #ffffff !important;
border: none;
border-left: 1px solid rgba(0, 0, 0, 0.08);
cursor: pointer;
font-size: 13px;
font-weight: 900;
line-height: 1;
padding: 0;
margin: 0;
align-self: stretch;
transition: background 0.15s ease, transform 0.1s ease;
}
.tmt-strike-pnl-pill .tmt-pnl-btn-close:hover {
background: #dc2626 !important;
}
.tmt-strike-pnl-pill .tmt-pnl-btn-close:active {
background: #b91c1c !important;
}
.tmt-strike-pnl-pill.pnl-running:hover {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
}
