/* Help Mode Tooltip Styles */

.help-tooltip {
    position: fixed;
    background: rgba(39, 39, 42, 0.98);
    color: var(--cream, #fafaf9);
    border: 1px solid var(--tan, #ccc5b9);
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 350px;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: helpTooltipFadeIn 0.2s ease-out;
    font-size: 13px;
    line-height: 1.5;
}

.help-tooltip-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--accent-orange, #eb5e28);
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-tooltip-title::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--accent-orange, #eb5e28);
    color: var(--dark-gray, #27272a);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.help-tooltip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-tooltip-list li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: var(--cream, #fafaf9);
}

.help-tooltip-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--accent-orange, #eb5e28);
    font-weight: bold;
}

.help-tooltip-list li:first-child {
    padding-top: 0;
}

.help-tooltip-list li:last-child {
    padding-bottom: 0;
}

/* Keyboard shortcut styling */
.help-tooltip kbd {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--cream, #fafaf9);
}

/* Animation */
@keyframes helpTooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visual indicator when help mode is active */
body.help-mode-active {
    cursor: help;
}

body.help-mode-active .canvas-container {
    cursor: help;
}

body.help-mode-active button:hover,
body.help-mode-active .tree-item:hover,
body.help-mode-active select:hover,
body.help-mode-active input:hover {
    outline: 2px solid rgba(235, 94, 40, 0.3);
    outline-offset: 2px;
}
