.chart-help-container { z-index: 10; } .chart-help-container.absolute { position: absolute; top: 10px; right: 10px; } .chart-help-container.inline { display: inline-flex; vertical-align: middle; margin-left: 8px; position: relative; } .chart-help-btn { width: 20px; height: 20px; padding: 0; font-size: 14px; border-radius: 50%; background: transparent !important; color: inherit !important; border: none !important; cursor: pointer; box-shadow: none !important; transition: transform 0.2s; display: flex; align-items: center; justify-content: center; } .chart-help-btn:hover, .chart-help-btn.active { transform: scale(1.15); } .chart-help-popup { position: absolute; top: 100%; margin-top: 8px; right: 0; z-index: 20; width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px; animation: fadeIn 0.2s ease-out; } .chart-help-container.inline .chart-help-popup { left: 0; right: auto; } .chart-help-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; border-bottom: 1px solid var(--border); padding-bottom: 8px; } .chart-help-header h4 { margin: 0; font-size: 0.9rem; color: var(--text-main); } .chart-help-close { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1; } .chart-help-close:hover { color: var(--text-main); } .chart-help-body { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }