/* Comment Tooltip Styles */
.graph-comment-tooltip {
    display: none;
    position: fixed;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 12px;
    max-width: 300px;
    z-index: 200000;
    pointer-events: none;
    font-family: Inter, system-ui, sans-serif;
}

.comment-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.comment-tooltip-header strong {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.comment-tooltip-time {
    font-size: 11px;
    color: #6b7280;
}

.comment-tooltip-badge {
    background: #FFD580;
    color: #92400e;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.comment-tooltip-range {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 6px;
}

.comment-tooltip-text {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    word-wrap: break-word;
}

/* ==================== DARK MODE ==================== */
@media (prefers-color-scheme: dark) {
    .graph-comment-tooltip {
        background: #1f2937;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }

    .comment-tooltip-header {
        border-bottom-color: #374151;
    }

    .comment-tooltip-header strong {
        color: #f3f4f6;
    }

    .comment-tooltip-time {
        color: #9ca3af;
    }

    .comment-tooltip-badge {
        background: #78350f;
        color: #fcd34d;
    }

    .comment-tooltip-range {
        color: #9ca3af;
    }

    .comment-tooltip-text {
        color: #e5e7eb;
    }
}